@ptcwebops/ptcw-design 1.0.5 → 1.0.7
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/LICENSE +21 -21
- package/dist/cjs/bundle-example.cjs.entry.js +31 -31
- package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +1131 -0
- package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
- 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 +355 -355
- package/dist/cjs/my-component.cjs.entry.js +16 -16
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
- package/dist/cjs/ptc-accordion.cjs.entry.js +36 -36
- package/dist/cjs/ptc-announcement.cjs.entry.js +51 -51
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
- package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
- package/dist/cjs/{ptc-card_6.cjs.entry.js → ptc-card.cjs.entry.js} +66 -470
- package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +347 -347
- package/dist/cjs/ptc-container.cjs.entry.js +33 -33
- package/dist/cjs/ptc-date.cjs.entry.js +61 -0
- package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +47 -47
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +40 -40
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
- package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
- package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +37 -37
- package/dist/cjs/ptc-link.cjs.entry.js +31 -31
- package/dist/cjs/ptc-list.cjs.entry.js +50 -50
- package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
- package/dist/cjs/ptc-media-card.cjs.entry.js +25 -25
- package/dist/cjs/ptc-minimized-footer.cjs.entry.js +9 -9
- package/dist/cjs/ptc-minimized-header.cjs.entry.js +12 -12
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +54 -54
- package/dist/cjs/ptc-nav-card.cjs.entry.js +40 -40
- package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
- package/dist/cjs/ptc-pagenation.cjs.entry.js +210 -210
- package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +117 -117
- package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
- package/dist/cjs/ptc-readmore.cjs.entry.js +74 -74
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
- package/dist/cjs/ptc-search-field.cjs.entry.js +68 -52
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
- package/dist/cjs/ptc-social-share.cjs.entry.js +60 -60
- package/dist/cjs/ptc-span.cjs.entry.js +19 -19
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
- package/dist/cjs/ptc-tab-list.cjs.entry.js +126 -126
- package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
- package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +28 -28
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
- package/dist/cjs/ptcw-design.cjs.js +2 -2
- package/dist/cjs/tab-content.cjs.entry.js +28 -28
- package/dist/cjs/tab-header.cjs.entry.js +47 -46
- package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bundle-example/bundle-example.css +15 -15
- package/dist/collection/components/bundle-example/bundle-example.js +58 -58
- 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/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/icon-asset/icon-asset.css +4 -4
- package/dist/collection/components/icon-asset/icon-asset.js +199 -199
- package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
- package/dist/collection/components/icon-asset/media/designer.svg +387 -387
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/list-item/list-item.css +14 -0
- package/dist/collection/components/list-item/list-item.js +144 -107
- package/dist/collection/components/max-width-container/max-width-container.css +12 -7
- package/dist/collection/components/max-width-container/max-width-container.js +105 -80
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +82 -82
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -238
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -102
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -22
- package/dist/collection/components/ptc-button/ptc-button.js +283 -283
- package/dist/collection/components/ptc-card/ptc-card.js +344 -344
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
- package/dist/collection/components/ptc-container/ptc-container.js +120 -120
- package/dist/collection/components/ptc-date/ptc-date.js +224 -190
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +182 -182
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +6 -1
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
- package/dist/collection/components/ptc-img/ptc-img.js +293 -293
- 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-link/ptc-link.js +222 -222
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
- package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
- package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
- package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +227 -227
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +447 -447
- package/dist/collection/components/ptc-para/ptc-para.js +242 -242
- package/dist/collection/components/ptc-picture/ptc-picture.js +450 -450
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +60 -60
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +12 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +245 -245
- package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +298 -298
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +193 -149
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
- package/dist/collection/components/ptc-span/ptc-span.js +87 -87
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -72
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
- package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +166 -166
- package/dist/collection/components/ptc-title/ptc-title.css +1 -1
- package/dist/collection/components/ptc-title/ptc-title.js +310 -310
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +1 -0
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +267 -267
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.js +154 -136
- package/dist/collection/index.js +1 -1
- package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
- package/dist/collection/media/svg-imgs/close.svg +10 -10
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -0
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
- package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
- package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
- package/dist/collection/media/svg-imgs/union.svg +3 -3
- package/dist/collection/utils/component.js +3 -3
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +92 -92
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +4166 -3940
- package/dist/esm/bundle-example.entry.js +31 -31
- package/dist/esm/bundle-jumbotron-example_16.entry.js +1112 -0
- package/dist/esm/dropdown-item.entry.js +11 -11
- 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 +355 -355
- package/dist/esm/my-component.entry.js +16 -16
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ptc-accordion-item.entry.js +84 -84
- package/dist/esm/ptc-accordion.entry.js +36 -36
- package/dist/esm/ptc-announcement.entry.js +51 -51
- package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
- package/dist/esm/ptc-card-content.entry.js +58 -58
- package/dist/esm/{ptc-card_6.entry.js → ptc-card.entry.js} +67 -466
- package/dist/esm/ptc-checkbox.entry.js +51 -51
- package/dist/esm/ptc-collapse-list.entry.js +347 -347
- package/dist/esm/ptc-container.entry.js +33 -33
- package/dist/esm/ptc-date.entry.js +57 -0
- package/dist/esm/ptc-dropdown.entry.js +65 -65
- package/dist/esm/ptc-dynamic-card.entry.js +47 -47
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +40 -40
- package/dist/esm/ptc-filter-tag.entry.js +58 -58
- package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
- package/dist/esm/ptc-hero.entry.js +19 -19
- package/dist/esm/ptc-icon-list.entry.js +22 -22
- package/dist/esm/ptc-icon-minimize.entry.js +37 -37
- package/dist/esm/ptc-link.entry.js +31 -31
- package/dist/esm/ptc-list.entry.js +50 -50
- package/dist/esm/ptc-lottie.entry.js +11 -11
- package/dist/esm/ptc-media-card.entry.js +25 -25
- package/dist/esm/ptc-minimized-footer.entry.js +9 -9
- package/dist/esm/ptc-minimized-header.entry.js +12 -12
- package/dist/esm/ptc-mobile-select.entry.js +54 -54
- package/dist/esm/ptc-nav-card.entry.js +40 -40
- package/dist/esm/ptc-overlay.entry.js +24 -24
- package/dist/esm/ptc-pagenation.entry.js +210 -210
- package/dist/esm/ptc-previous-url.entry.js +11 -11
- package/dist/esm/ptc-pricing-block.entry.js +21 -21
- package/dist/esm/ptc-pricing-tabs.entry.js +117 -117
- package/dist/esm/ptc-quote.entry.js +24 -24
- package/dist/esm/ptc-readmore.entry.js +74 -74
- package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
- package/dist/esm/ptc-search-field.entry.js +68 -52
- package/dist/esm/ptc-shopping-cart.entry.js +51 -51
- package/dist/esm/ptc-social-share.entry.js +60 -60
- package/dist/esm/ptc-span.entry.js +19 -19
- package/dist/esm/ptc-sticky-icons.entry.js +33 -33
- package/dist/esm/ptc-tab-list.entry.js +126 -126
- package/dist/esm/ptc-tab.entry.js +21 -21
- package/dist/esm/ptc-tabs.entry.js +48 -48
- package/dist/esm/ptc-text-copy-with-background.entry.js +28 -28
- package/dist/esm/ptc-two-column-media.entry.js +16 -16
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/tab-content.entry.js +28 -28
- package/dist/esm/tab-header.entry.js +47 -46
- package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +387 -387
- package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
- package/dist/ptcw-design/media/regular.svg +463 -463
- package/dist/ptcw-design/media/solid.svg +3013 -3013
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- 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-8d210676.entry.js → p-1bd6ad59.entry.js} +1 -1
- 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-dcf0d341.entry.js → p-324a6ee8.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-45c0076d.entry.js → p-3bbd8add.entry.js} +1 -1
- package/dist/ptcw-design/{p-424ae8e1.entry.js → p-451ed028.entry.js} +1 -1
- 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-32b81dde.entry.js → p-4702f4e4.entry.js} +1 -1
- package/dist/ptcw-design/{p-1def8f3c.entry.js → p-47b2c76f.entry.js} +1 -1
- package/dist/ptcw-design/p-514c2df0.entry.js +1 -0
- 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-013f5355.entry.js → p-6e8222ce.entry.js} +1 -1
- 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-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-ab28cfc5.entry.js +1 -0
- 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-example/bundle-example.d.ts +10 -10
- package/dist/types/components/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/list-item/list-item.d.ts +16 -8
- package/dist/types/components/max-width-container/max-width-container.d.ts +11 -9
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -26
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -4
- package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
- package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -24
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
- package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
- package/dist/types/components/ptc-date/ptc-date.d.ts +46 -41
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
- package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +20 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
- package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
- package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
- package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
- package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +31 -31
- package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +47 -47
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
- package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +18 -15
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -12
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
- package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -33
- package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +47 -47
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +18 -14
- package/dist/types/components.d.ts +259 -132
- package/dist/types/global.d.ts +1072 -1072
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/interfaces.d.ts +31 -31
- package/dist/types/utils/utils.d.ts +5 -5
- package/package.json +61 -61
- package/readme.md +18 -18
- 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-2a66ec9b.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-31fbba12.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-a6960def.entry.js +0 -1
- package/dist/ptcw-design/p-bbeb95bd.entry.js +0 -1
- package/dist/ptcw-design/p-c1b0de20.entry.js +0 -1
- package/dist/ptcw-design/p-c693e1c5.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
- /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const ptcModalCss = ":host{display:block}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper .modal-popup.shadow-scroller{max-height:756px}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:var(--spacing-md);right:var(--spacing-md);margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden;overflow-y:auto}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:72px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";
|
|
8
|
-
|
|
9
|
-
const PtcModal = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.closed = index.createEvent(this, "closed", 7);
|
|
13
|
-
this.opened = index.createEvent(this, "opened", 7);
|
|
14
|
-
this.iframeUrl = undefined;
|
|
15
|
-
this.size = 'sm';
|
|
16
|
-
this.show = false;
|
|
17
|
-
this.overlay = true;
|
|
18
|
-
this.fixed = false;
|
|
19
|
-
this.closeOnBlur = false;
|
|
20
|
-
this.rounded = false;
|
|
21
|
-
this.showHeaderFooter = false;
|
|
22
|
-
this.overlayHeight = undefined;
|
|
23
|
-
this.bodyOverflowSetting = undefined;
|
|
24
|
-
}
|
|
25
|
-
fireOnClosed(modal) {
|
|
26
|
-
this.closed.emit(modal);
|
|
27
|
-
}
|
|
28
|
-
fireOnOpened(modal) {
|
|
29
|
-
this.opened.emit(modal);
|
|
30
|
-
}
|
|
31
|
-
componentWillLoad() {
|
|
32
|
-
let body = document.querySelector('body');
|
|
33
|
-
this.bodyOverflowSetting = {
|
|
34
|
-
//overflow: body.style['overflow'],
|
|
35
|
-
overflowY: body.style['overflowY'],
|
|
36
|
-
overflowX: body.style['overflowX'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
componentWillRender() {
|
|
40
|
-
let body = document.querySelector('body');
|
|
41
|
-
if (body) {
|
|
42
|
-
if (this.show) {
|
|
43
|
-
//body.style['overflow'] = 'hidden';
|
|
44
|
-
body.style['overflowY'] = 'scroll';
|
|
45
|
-
body.style['overflowX'] = 'hidden';
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
//body.style['overflow'] = this.bodyOverflowSetting.overflow;
|
|
49
|
-
body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
|
|
50
|
-
body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
componentDidLoad() {
|
|
55
|
-
if (this.show) {
|
|
56
|
-
this.fireOnOpened(this);
|
|
57
|
-
}
|
|
58
|
-
if (this.showHeaderFooter) {
|
|
59
|
-
this.handleScroll();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
componentDidUpdate() {
|
|
63
|
-
if (this.show) {
|
|
64
|
-
this.fireOnOpened(this);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
this.fireOnClosed(this);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
resizeIframe(e) {
|
|
71
|
-
let iFrame = e.target;
|
|
72
|
-
setTimeout(() => {
|
|
73
|
-
try {
|
|
74
|
-
if (iFrame.contentDocument) {
|
|
75
|
-
iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
iFrame.height = '616px'; //default
|
|
79
|
-
iFrame.removeAttribute('scrolling');
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
console.log(error);
|
|
84
|
-
iFrame.height = '616px'; //default
|
|
85
|
-
iFrame.removeAttribute('scrolling');
|
|
86
|
-
}
|
|
87
|
-
iFrame.classList.add('ready');
|
|
88
|
-
}, 50);
|
|
89
|
-
}
|
|
90
|
-
handleScroll() {
|
|
91
|
-
let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
|
|
92
|
-
if (modal) {
|
|
93
|
-
let body = modal.querySelector('.modal-body');
|
|
94
|
-
var height = body.clientHeight;
|
|
95
|
-
var scrollHeight = body.scrollHeight;
|
|
96
|
-
var scrollTop = body.scrollTop;
|
|
97
|
-
var offset = body.offsetHeight;
|
|
98
|
-
if (height < scrollHeight) { //has scrollbar
|
|
99
|
-
if (scrollTop > 0) { //can scroll up
|
|
100
|
-
modal.classList.add('scroll-top');
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
modal.classList.remove('scroll-top');
|
|
104
|
-
}
|
|
105
|
-
if (offset + scrollTop < scrollHeight) { //can scroll down
|
|
106
|
-
modal.classList.add('scroll-bottom');
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
modal.classList.remove('scroll-bottom');
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
close() {
|
|
115
|
-
this.show = false;
|
|
116
|
-
}
|
|
117
|
-
render() {
|
|
118
|
-
let content;
|
|
119
|
-
let overlay;
|
|
120
|
-
let type = this.iframeUrl ? 'frame' : 'html';
|
|
121
|
-
let closebtn = (index.h("div", { class: "close" }, index.h("a", { href: "#", onClick: (e) => { e.preventDefault(); this.close(); } }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { d: "M1 1L13 13", stroke: "black" }), index.h("path", { d: "M13 1L1 13", stroke: "black" })))));
|
|
122
|
-
if (this.iframeUrl) {
|
|
123
|
-
content = (index.h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
if (this.showHeaderFooter) {
|
|
127
|
-
content = (index.h("slot", { name: "body" }));
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
content = (index.h("slot", null));
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
if (this.overlay) {
|
|
134
|
-
if (this.closeOnBlur) {
|
|
135
|
-
overlay = index.h("div", { class: "overlay", onClick: (_) => this.close() });
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
overlay = index.h("div", { class: "overlay" });
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
return (index.h(index.Host, null, index.h("div", { class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? 'fixed' : ''} ` }, overlay, index.h("div", { class: `modal-popup ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
|
|
142
|
-
index.h("div", { class: "modal-header" }, index.h("slot", { name: "header" }), closebtn),
|
|
143
|
-
index.h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
|
|
144
|
-
index.h("div", { class: "modal-footer" }, index.h("slot", { name: "footer" }))
|
|
145
|
-
] : [
|
|
146
|
-
closebtn,
|
|
147
|
-
index.h("div", { class: "modal-body" }, content)
|
|
148
|
-
]))));
|
|
149
|
-
}
|
|
150
|
-
get el() { return index.getElement(this); }
|
|
151
|
-
};
|
|
152
|
-
PtcModal.style = ptcModalCss;
|
|
153
|
-
|
|
154
|
-
exports.ptc_modal = PtcModal;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const closeSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
|
|
8
|
-
<g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
|
|
9
|
-
<path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
|
|
10
|
-
<path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>
|
|
11
|
-
<path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>
|
|
12
|
-
<path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>
|
|
13
|
-
<path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>
|
|
14
|
-
<path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>
|
|
15
|
-
<path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>
|
|
16
|
-
</g>
|
|
17
|
-
</svg>`;
|
|
18
|
-
|
|
19
|
-
const arrowSvgLeft = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
20
|
-
<g filter="url(#filter0_d_494_37)">
|
|
21
|
-
<circle cx="24" cy="22" r="20" fill="white"/>
|
|
22
|
-
<path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>
|
|
23
|
-
</g>
|
|
24
|
-
<defs>
|
|
25
|
-
<filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
26
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
27
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
28
|
-
<feOffset dy="2"/>
|
|
29
|
-
<feGaussianBlur stdDeviation="2"/>
|
|
30
|
-
<feComposite in2="hardAlpha" operator="out"/>
|
|
31
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
32
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>
|
|
33
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>
|
|
34
|
-
</filter>
|
|
35
|
-
</defs>
|
|
36
|
-
</svg>
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
const arrowSvgRight = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
40
|
-
<g filter="url(#filter0_d_494_34)">
|
|
41
|
-
<circle cx="24" cy="22" r="20" fill="white"/>
|
|
42
|
-
<path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>
|
|
43
|
-
</g>
|
|
44
|
-
<defs>
|
|
45
|
-
<filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
46
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
47
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
48
|
-
<feOffset dy="2"/>
|
|
49
|
-
<feGaussianBlur stdDeviation="2"/>
|
|
50
|
-
<feComposite in2="hardAlpha" operator="out"/>
|
|
51
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
52
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>
|
|
53
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>
|
|
54
|
-
</filter>
|
|
55
|
-
</defs>
|
|
56
|
-
</svg>
|
|
57
|
-
`;
|
|
58
|
-
|
|
59
|
-
const backarrow = `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">
|
|
60
|
-
<defs>
|
|
61
|
-
<style>
|
|
62
|
-
.cls-1 {
|
|
63
|
-
fill: #fff;
|
|
64
|
-
fill-rule: evenodd;
|
|
65
|
-
}
|
|
66
|
-
</style>
|
|
67
|
-
</defs>
|
|
68
|
-
<path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>
|
|
69
|
-
</svg>
|
|
70
|
-
`;
|
|
71
|
-
|
|
72
|
-
const ptcSvgBtnCss = ":host{cursor:pointer}:host(.block){display:block}:host(.inline){display:inline}:host(.inline-block){display:inline-block}:host(.flex){display:flex}:host(:focus-visible){outline:none}:host(.backarrow){margin:8px 8px 0px -2px}:focus-visible{outline:none}.svg-close svg .cls-1,.svg-close svg .cls-2{fill:none;stroke-width:2px}.svg-close svg .cls-1{stroke:var(--color-gray-10);stroke-linecap:square}.svg-close svg .cls-2{stroke:var(--color-gray-10)}.svg-close svg path{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.svg-close svg .cls-1:first-child{-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close svg .cls-1:nth-child(2){-webkit-transform:translate(175.5px, 174.985px);-ms-transform:translate(175.5px, 174.985px);transform:translate(175.5px, 174.985px)}.svg-close svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 141.393px);-ms-transform:translate(215.5px, 141.393px);transform:translate(215.5px, 141.393px)}.svg-close svg .cls-1:nth-child(4){-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close:hover svg .cls-1:first-child{-webkit-transform:translate(175.5px, 162px);-ms-transform:translate(175.5px, 162px);transform:translate(175.5px, 162px)}.svg-close:hover svg .cls-1:nth-child(2){-webkit-transform:translate(149px, 174.985px);-ms-transform:translate(149px, 174.985px);transform:translate(149px, 174.985px)}.svg-close:hover svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 174px);-ms-transform:translate(215.5px, 174px);transform:translate(215.5px, 174px)}.svg-close:hover svg .cls-1:nth-child(4){-webkit-transform:translate(152.5px, 135.5px);-ms-transform:translate(152.5px, 135.5px);transform:translate(152.5px, 135.5px)}.svg-close.svg-close-white .cls-1{stroke:var(--color-white)}.slider-left,.slider-right{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.slider-left svg .arrow,.slider-right svg .arrow{fill:var(--color-gray-10)}.slider-left:hover svg .arrow,.slider-right:hover svg .arrow{fill:var(--color-green-06)}.back-arrow{display:inline-block;fill:none;stroke-width:30px;stroke:var(--color-gray-10);stroke-linecap:square;height:10px;width:20px;position:relative;top:1px;text-align:center}@media only screen and (max-width: 1024px) and (min-width: 576px){:host(.back-arrow){margin:8px 8px 16px -2px}}";
|
|
73
|
-
|
|
74
|
-
const PtcSvgBtn = class {
|
|
75
|
-
constructor(hostRef) {
|
|
76
|
-
index.registerInstance(this, hostRef);
|
|
77
|
-
this.svgName = 'close';
|
|
78
|
-
this.display = 'block';
|
|
79
|
-
}
|
|
80
|
-
render() {
|
|
81
|
-
const classMap = this.getCssClassMap();
|
|
82
|
-
return (index.h(index.Host, { class: classMap }, !!this.svgName && this.svgName === 'close' ? index.h("div", { class: 'svg-close', innerHTML: closeSvg }) : null, !!this.svgName && this.svgName === 'slider-left' ? index.h("div", { class: 'slider-left', innerHTML: arrowSvgLeft }) : null, !!this.svgName && this.svgName === 'slider-right' ? index.h("div", { class: 'slider-right', innerHTML: arrowSvgRight }) : null, !!this.svgName && this.svgName === 'back-arrow' ? index.h("div", { class: 'back-arrow', innerHTML: backarrow }) : null));
|
|
83
|
-
}
|
|
84
|
-
getCssClassMap() {
|
|
85
|
-
return {
|
|
86
|
-
[this.display]: true
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
PtcSvgBtn.style = ptcSvgBtnCss;
|
|
91
|
-
|
|
92
|
-
exports.ptc_svg_btn = PtcSvgBtn;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:4px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-grey-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 768px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}";
|
|
8
|
-
|
|
9
|
-
const PtcTitle = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.isPlmHub = false;
|
|
13
|
-
this.type = 'h2';
|
|
14
|
-
this.textAlign = undefined;
|
|
15
|
-
this.upperline = 'dotted';
|
|
16
|
-
this.titleShadow = undefined;
|
|
17
|
-
this.titleColor = 'gray';
|
|
18
|
-
this.titleMargin = undefined;
|
|
19
|
-
this.titleWeight = undefined;
|
|
20
|
-
this.titleSize = undefined;
|
|
21
|
-
this.titleHeight = 'paragraph';
|
|
22
|
-
this.styles = undefined;
|
|
23
|
-
this.ellipsisLineCutoff = undefined;
|
|
24
|
-
this.titleDisplay = 'inline-block';
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
const classMap = this.getCssClassMap();
|
|
28
|
-
const cutOff = this.getLineCuttoff();
|
|
29
|
-
let TagType;
|
|
30
|
-
switch (this.type) {
|
|
31
|
-
case 'h1':
|
|
32
|
-
TagType = 'h1';
|
|
33
|
-
break;
|
|
34
|
-
case 'h3':
|
|
35
|
-
TagType = 'h3';
|
|
36
|
-
break;
|
|
37
|
-
case 'h4':
|
|
38
|
-
TagType = 'h4';
|
|
39
|
-
break;
|
|
40
|
-
case 'h5':
|
|
41
|
-
TagType = 'h5';
|
|
42
|
-
break;
|
|
43
|
-
case 'h6':
|
|
44
|
-
TagType = 'h6';
|
|
45
|
-
break;
|
|
46
|
-
default:
|
|
47
|
-
TagType = 'h2';
|
|
48
|
-
}
|
|
49
|
-
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
|
|
50
|
-
}
|
|
51
|
-
getCssClassMap() {
|
|
52
|
-
return {
|
|
53
|
-
[this.textAlign]: !!this.textAlign ? true : false,
|
|
54
|
-
[this.upperline]: true,
|
|
55
|
-
[this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
|
|
56
|
-
[this.titleMargin]: !!this.titleMargin ? true : false,
|
|
57
|
-
[this.titleShadow]: !!this.titleShadow ? true : false,
|
|
58
|
-
[this.titleWeight]: !!this.titleWeight ? true : false,
|
|
59
|
-
[this.titleSize]: !!this.titleSize ? true : false,
|
|
60
|
-
[this.titleHeight]: !!this.titleHeight ? true : false,
|
|
61
|
-
[this.titleColor]: !!this.titleColor ? true : false,
|
|
62
|
-
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
63
|
-
[this.titleDisplay]: !!this.titleDisplay ? true : false,
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
getLineCuttoff() {
|
|
67
|
-
let result;
|
|
68
|
-
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
69
|
-
result = {
|
|
70
|
-
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
return result;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
PtcTitle.style = ptcTitleCss;
|
|
77
|
-
|
|
78
|
-
exports.ptc_title = PtcTitle;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const ptcTooltipCss = ":host{position:relative}:host(.inline){display:inline}:host(.block){display:block}.text-ellipsis{position:relative;display:inline}.text-ellipsis:not(.truncated){z-index:auto !important}.z-auto{z-index:auto}.z-1{z-index:1}.z-2{z-index:2}.z-3{z-index:3}.z-999{z-index:999}.tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:273px;height:auto;visibility:hidden;text-align:left;text-shadow:none}.tooltip.danger{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger a{color:var(--color-blue-07)}.tooltip.bottom{bottom:-12px;transform:translateY(100%)}.tooltip.bottom::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right{bottom:-12px;transform:translateY(100%);right:0px}.tooltip.right::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top{top:-8px;transform:translateY(-100%)}.tooltip.top::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger::after{top:0;border-bottom:8px solid var(--color-red-07)}.truncated{cursor:help}.truncated:hover+.tooltip{visibility:visible;z-index:9999}.wrapper-content{display:inline-block;position:relative}.wrapper-content .tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content slot:hover+.tooltip{visibility:visible;z-index:9999}.tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}";
|
|
8
|
-
|
|
9
|
-
const PtcTooltip = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.textDisplay = 'inline';
|
|
13
|
-
this.maxLength = 45;
|
|
14
|
-
this.textLines = undefined;
|
|
15
|
-
this.description = 'This is a tooltip text placeholder';
|
|
16
|
-
this.zIndex = 'z-auto';
|
|
17
|
-
this.position = 'bottom';
|
|
18
|
-
this.styles = undefined;
|
|
19
|
-
this.mode = 'text-only';
|
|
20
|
-
this.theme = 'standard';
|
|
21
|
-
}
|
|
22
|
-
addTruncatedClass() {
|
|
23
|
-
const appRoot = this.el.shadowRoot;
|
|
24
|
-
const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
|
|
25
|
-
text.forEach(t => {
|
|
26
|
-
t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
// Created this function to initialize the truncate function on specific elements like tabs
|
|
30
|
-
enableAddTruncatedClass(element) {
|
|
31
|
-
const allTabHeaders = document.querySelectorAll(element);
|
|
32
|
-
for (const element of Array.from(allTabHeaders)) {
|
|
33
|
-
let tabHeader = element;
|
|
34
|
-
if (tabHeader) {
|
|
35
|
-
tabHeader.addEventListener('click', () => {
|
|
36
|
-
setTimeout(() => {
|
|
37
|
-
this.addTruncatedClass();
|
|
38
|
-
}, 100);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
componentDidLoad() {
|
|
44
|
-
this.addTruncatedClass();
|
|
45
|
-
this.enableAddTruncatedClass('tab-header');
|
|
46
|
-
this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
|
|
47
|
-
document.addEventListener("readystatechange", () => {
|
|
48
|
-
if (document.readyState === "complete") {
|
|
49
|
-
this.addTruncatedClass();
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
if (this.mode == 'wrapper') {
|
|
55
|
-
return (index.h(index.Host, { class: this.textDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "wrapper-content" }, index.h("slot", null), index.h("div", { class: `tooltip ${this.position} ${this.theme}` }, index.h("slot", { name: "description" }), this.description))));
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
const classMap = this.getCssClassMap();
|
|
59
|
-
const cutOff = this.getLineCuttoff();
|
|
60
|
-
let truncatedText = this.description.substring(0, this.maxLength);
|
|
61
|
-
if (this.description.length > this.maxLength) {
|
|
62
|
-
const lastSpace = truncatedText.lastIndexOf(' ');
|
|
63
|
-
truncatedText = truncatedText.substring(0, lastSpace);
|
|
64
|
-
truncatedText += '... ';
|
|
65
|
-
}
|
|
66
|
-
return (index.h(index.Host, { class: this.textDisplay }, this.styles && index.h("style", null, this.styles), this.textLines > 0 && !!this.textLines ? index.h("div", { class: "ellipsis-by-line-boxing", style: cutOff }, this.description) : index.h("div", { class: classMap }, truncatedText), index.h("div", { class: `tooltip ${this.position} ${this.theme}` }, this.description)));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
getCssClassMap() {
|
|
70
|
-
return {
|
|
71
|
-
// ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
|
|
72
|
-
['text-ellipsis']: true,
|
|
73
|
-
[this.zIndex]: this.description.length > this.maxLength ? true : false,
|
|
74
|
-
['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
getLineCuttoff() {
|
|
78
|
-
let result;
|
|
79
|
-
if (this.textLines && this.textLines > 0) {
|
|
80
|
-
result = {
|
|
81
|
-
['-webkit-line-clamp']: `${this.textLines}`,
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
return result;
|
|
85
|
-
}
|
|
86
|
-
get el() { return index.getElement(this); }
|
|
87
|
-
};
|
|
88
|
-
PtcTooltip.style = ptcTooltipCss;
|
|
89
|
-
|
|
90
|
-
exports.ptc_tooltip = PtcTooltip;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, a as getAssetPath, h, H as Host } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
|
|
4
|
-
|
|
5
|
-
const IconAsset = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.regularSprite = getAssetPath('./media/regular.svg');
|
|
9
|
-
this.solidSprite = getAssetPath('./media/solid.svg');
|
|
10
|
-
this.brandSprite = getAssetPath('./media/brands.svg');
|
|
11
|
-
this.ptcSprite = getAssetPath('./media/designer.svg');
|
|
12
|
-
this.name = undefined;
|
|
13
|
-
this.size = 'xx-small';
|
|
14
|
-
this.type = 'regular';
|
|
15
|
-
this.spin = '';
|
|
16
|
-
this.pulse = '';
|
|
17
|
-
this.color = 'default';
|
|
18
|
-
this.isMobileSelect = undefined;
|
|
19
|
-
this.injectedStyle = undefined;
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
const classMap = this.getCssClassMap();
|
|
23
|
-
if (this.type == 'brands') {
|
|
24
|
-
return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
25
|
-
}
|
|
26
|
-
else if (this.type == 'solid') {
|
|
27
|
-
return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
28
|
-
}
|
|
29
|
-
else if (this.type == 'ptc') {
|
|
30
|
-
return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
getCssClassMap() {
|
|
37
|
-
return {
|
|
38
|
-
[this.size]: true,
|
|
39
|
-
[this.spin]: true,
|
|
40
|
-
[this.pulse]: true,
|
|
41
|
-
[this.color]: true,
|
|
42
|
-
['ismobileselect']: this.isMobileSelect ? true : false
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
static get assetsDirs() { return ["media"]; }
|
|
46
|
-
};
|
|
47
|
-
IconAsset.style = iconAssetCss;
|
|
48
|
-
|
|
49
|
-
export { IconAsset as icon_asset };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const listItemCss = ":host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest)}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus,:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}";
|
|
4
|
-
|
|
5
|
-
const ListItem = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.listType = 'list-primary';
|
|
9
|
-
this.linkHref = undefined;
|
|
10
|
-
this.flushBefore = false;
|
|
11
|
-
this.linkTarget = '_self';
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
const classMap = this.getCssClassMap();
|
|
15
|
-
return (h(Host, { class: classMap }, h("li", null, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {})), h("slot", null))) : (h("slot", null)))));
|
|
16
|
-
}
|
|
17
|
-
getCssClassMap() {
|
|
18
|
-
return {
|
|
19
|
-
[this.listType]: true,
|
|
20
|
-
['flush-before']: this.flushBefore ? true : false
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
ListItem.style = listItemCss;
|
|
25
|
-
|
|
26
|
-
export { ListItem as list_item };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const maxWidthContainerCss = ":host{display:block}:host(.max-width-container){margin:0 auto}";
|
|
4
|
-
|
|
5
|
-
const MaxWidthContainer = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.maxWidth = undefined;
|
|
9
|
-
this.breakpoint = 768;
|
|
10
|
-
}
|
|
11
|
-
componentDidLoad() {
|
|
12
|
-
this.handleResize();
|
|
13
|
-
window.addEventListener('resize', this.handleResize.bind(this));
|
|
14
|
-
}
|
|
15
|
-
disconnectedCallback() {
|
|
16
|
-
window.removeEventListener('resize', this.handleResize);
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (h(Host, { class: "max-width-container" }, h("slot", null)));
|
|
20
|
-
}
|
|
21
|
-
handleResize() {
|
|
22
|
-
// const selectedContainer = this.el.querySelector('.max-width-container');
|
|
23
|
-
if (this.el) {
|
|
24
|
-
if (window.innerWidth >= this.breakpoint) {
|
|
25
|
-
this.el.style.maxWidth = `${this.maxWidth}px`;
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
this.el.style.maxWidth = 'initial';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
get el() { return getElement(this); }
|
|
33
|
-
};
|
|
34
|
-
MaxWidthContainer.style = maxWidthContainerCss;
|
|
35
|
-
|
|
36
|
-
export { MaxWidthContainer as max_width_container };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const ptcBackgroundVideoCss = ":host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}";
|
|
4
|
-
|
|
5
|
-
const PtcBackgroundVideo = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.videoSrc = undefined;
|
|
9
|
-
this.posterSrc = undefined;
|
|
10
|
-
this.overlay = true;
|
|
11
|
-
this.type = 'default';
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h(Host, { class: this.type }, h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }), this.overlay
|
|
15
|
-
? h("div", { class: "video-overlay" })
|
|
16
|
-
: "", this.type == 'default'
|
|
17
|
-
? h("slot", null)
|
|
18
|
-
: ""));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
PtcBackgroundVideo.style = ptcBackgroundVideoCss;
|
|
22
|
-
|
|
23
|
-
export { PtcBackgroundVideo as ptc_background_video };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const ptcBreadcrumbCss = ":host{display:block;margin-top:var(--ptc-element-spacing-05)}::slotted(*){transform:translate(-2px, -2px)}";
|
|
4
|
-
|
|
5
|
-
const PtcBreadcrumb = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
const classMap = this.getCssClassMap();
|
|
11
|
-
return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: "white" })), h("slot", null)));
|
|
12
|
-
}
|
|
13
|
-
getCssClassMap() {
|
|
14
|
-
return {};
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
PtcBreadcrumb.style = ptcBreadcrumbCss;
|
|
18
|
-
|
|
19
|
-
export { PtcBreadcrumb as ptc_breadcrumb };
|