@ptcwebops/ptcw-design 0.5.6 → 0.5.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/dist/cjs/icon-asset_13.cjs.entry.js +758 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +110 -0
- package/dist/cjs/ptc-accordion.cjs.entry.js +49 -0
- package/dist/cjs/ptc-announcement.cjs.entry.js +48 -0
- package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-svg-btn.cjs.entry.js} +0 -42
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/icon-asset/media/designer.svg +11 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +74 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +296 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +8 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +74 -0
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +46 -13
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +58 -20
- package/dist/collection/components/ptc-container/ptc-container.css +24 -1
- package/dist/collection/components/ptc-container/ptc-container.js +22 -1
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +66 -0
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +144 -0
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +67 -14
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +24 -50
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +37 -0
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +86 -0
- package/dist/collection/components/ptc-link/ptc-link.css +18 -0
- package/dist/collection/components/ptc-link/ptc-link.js +2 -2
- package/dist/collection/components/ptc-modal/ptc-modal.css +37 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +93 -11
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +10 -5
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +30 -8
- package/dist/collection/components/ptc-title/ptc-title.css +67 -35
- package/dist/collection/components/ptc-title/ptc-title.js +11 -2
- package/dist/collection/media/svg-imgs/check-mark.svg +3 -0
- package/dist/collection/media/svg-imgs/union.svg +3 -0
- package/dist/collection/utils/component.js +3 -0
- package/dist/custom-elements/index.d.ts +24 -0
- package/dist/custom-elements/index.js +398 -46
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/icon-asset_13.entry.js +742 -0
- package/dist/esm/{index-f64012bd.js → index-357497dc.js} +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- 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 +106 -0
- package/dist/esm/ptc-accordion.entry.js +45 -0
- package/dist/esm/ptc-announcement.entry.js +44 -0
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card-plm.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.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-img_2.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-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-item.entry.js +1 -1
- package/dist/esm/ptc-nav.entry.js +1 -1
- package/dist/esm/ptc-picture.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-quote.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-social-share.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/{ptc-announcement_2.entry.js → ptc-svg-btn.entry.js} +2 -43
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptcw-design.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/media/designer.svg +11 -0
- package/dist/ptcw-design/{p-7448f767.entry.js → p-00c1c3ec.entry.js} +1 -1
- package/dist/ptcw-design/{p-e8a60227.js → p-0e571387.js} +1 -1
- package/dist/ptcw-design/p-0f17a4f0.entry.js +1 -0
- package/dist/ptcw-design/{p-c3e79e54.entry.js → p-316d8eae.entry.js} +1 -1
- package/dist/ptcw-design/p-32ec2097.entry.js +1 -0
- package/dist/ptcw-design/p-45528270.entry.js +1 -0
- package/dist/ptcw-design/{p-3a41081a.entry.js → p-5142e9f1.entry.js} +1 -1
- package/dist/ptcw-design/{p-b79303ef.entry.js → p-525da87e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c6b8bc9.entry.js → p-59fd3cd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-679b99ad.entry.js → p-6106d579.entry.js} +1 -1
- package/dist/ptcw-design/{p-18d0d10a.entry.js → p-66740e2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-28174fbe.entry.js → p-689d91a7.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b3a38c3.entry.js → p-68bcb24d.entry.js} +1 -1
- package/dist/ptcw-design/{p-796b4a16.entry.js → p-69581273.entry.js} +1 -1
- package/dist/ptcw-design/p-695f82bc.entry.js +1 -0
- package/dist/ptcw-design/{p-cd7119b8.entry.js → p-6ec21b76.entry.js} +1 -1
- package/dist/ptcw-design/{p-204a78ce.entry.js → p-737796bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-5069bb7d.entry.js → p-74a72a40.entry.js} +1 -1
- package/dist/ptcw-design/{p-72e6a3f1.entry.js → p-7966413a.entry.js} +1 -1
- package/dist/ptcw-design/{p-1cfc77eb.entry.js → p-83277ae9.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5bfb13d.entry.js → p-870d7171.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee61991d.entry.js → p-91456c49.entry.js} +1 -1
- package/dist/ptcw-design/p-95f7e520.entry.js +1 -0
- package/dist/ptcw-design/{p-c13f31f6.entry.js → p-9e1fe694.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe957cbf.entry.js → p-9e693f5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5951736.entry.js → p-9ed142ce.entry.js} +1 -1
- package/dist/ptcw-design/{p-781aacb7.entry.js → p-9fe3e385.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c86ac1a.entry.js → p-aa4f80c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-612f7224.entry.js → p-adcbd7e1.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa53e5e5.entry.js → p-beb569e6.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec10f846.entry.js → p-c23a6ee1.entry.js} +1 -1
- package/dist/ptcw-design/{p-7bcc42e1.entry.js → p-cbf56b5e.entry.js} +1 -1
- package/dist/ptcw-design/p-cc18f13a.entry.js +1 -0
- package/dist/ptcw-design/{p-2a1808f8.entry.js → p-d0709a7c.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbf3779e.entry.js → p-e4359c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-cec492a8.entry.js → p-ea8fa57b.entry.js} +1 -1
- package/dist/ptcw-design/{p-d64c3892.entry.js → p-ef64b508.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ea08e1d.entry.js → p-f72ef3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc18ae76.entry.js → p-ff08fa6c.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -0
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -0
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +6 -4
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -0
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +18 -0
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -9
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +9 -0
- package/dist/types/components/ptc-title/ptc-title.d.ts +1 -1
- package/dist/types/components.d.ts +167 -23
- package/dist/types/utils/component.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/ptc-button.cjs.entry.js +0 -76
- package/dist/cjs/ptc-checkbox.cjs.entry.js +0 -36
- package/dist/cjs/ptc-container.cjs.entry.js +0 -43
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +0 -40
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-modal.cjs.entry.js +0 -117
- package/dist/cjs/ptc-para.cjs.entry.js +0 -50
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +0 -41
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
- package/dist/cjs/ptc-title.cjs.entry.js +0 -59
- package/dist/esm/icon-asset.entry.js +0 -60
- package/dist/esm/ptc-button.entry.js +0 -72
- package/dist/esm/ptc-checkbox.entry.js +0 -32
- package/dist/esm/ptc-container.entry.js +0 -39
- package/dist/esm/ptc-filter-tag.entry.js +0 -36
- package/dist/esm/ptc-link.entry.js +0 -49
- package/dist/esm/ptc-modal.entry.js +0 -113
- package/dist/esm/ptc-para.entry.js +0 -46
- package/dist/esm/ptc-shopping-cart.entry.js +0 -37
- package/dist/esm/ptc-spacer.entry.js +0 -42
- package/dist/esm/ptc-title.entry.js +0 -55
- package/dist/ptcw-design/p-279609f3.entry.js +0 -1
- package/dist/ptcw-design/p-412ca190.entry.js +0 -1
- package/dist/ptcw-design/p-49d34cb8.entry.js +0 -1
- package/dist/ptcw-design/p-7133275c.entry.js +0 -1
- package/dist/ptcw-design/p-90423b6f.entry.js +0 -1
- package/dist/ptcw-design/p-969c178b.entry.js +0 -1
- package/dist/ptcw-design/p-a9e7cd3e.entry.js +0 -1
- package/dist/ptcw-design/p-ab27089f.entry.js +0 -1
- package/dist/ptcw-design/p-b238d684.entry.js +0 -1
- package/dist/ptcw-design/p-c69933fe.entry.js +0 -1
- package/dist/ptcw-design/p-d2ef4221.entry.js +0 -1
- package/dist/ptcw-design/p-df80470b.entry.js +0 -1
- package/dist/ptcw-design/p-f32f9817.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ptc-tab-list.cjs",[[4,"ptc-tab-list",null,[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["ptc-breadcrumb.cjs",[[1,"ptc-breadcrumb"]]],["ptc-hero.cjs",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]]],["ptc-previous-url.cjs",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["ptc-
|
|
17
|
+
return index.bootstrapLazy([["ptc-tab-list.cjs",[[4,"ptc-tab-list",null,[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["ptc-breadcrumb.cjs",[[1,"ptc-breadcrumb"]]],["ptc-hero.cjs",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]]],["ptc-previous-url.cjs",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["ptc-announcement.cjs",[[1,"ptc-announcement",{"barTitle":[1,"bar-title"],"Description":[1,"description"],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[513,"link-url"],"tempContainer":[4,"temp-container"],"target":[1]}]]],["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-lottie.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["ptc-mobile-select.cjs",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"],"linkUrl":[1025,"link-url"]}]]],["ptc-quote.cjs",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]]],["ptc-social-share.cjs",[[1,"ptc-social-share",{"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"isHover":[32]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-accordion.cjs",[[1,"ptc-accordion",{"multiple":[4]},[[0,"opened","openHandler"]]]]],["ptc-accordion-item.cjs",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["ptc-card-bottom.cjs",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1]}]]],["ptc-card-content.cjs",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"styles":[1]}]]],["ptc-card-plm.cjs",[[1,"ptc-card-plm",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]}]]],["ptc-hero-footer-cta.cjs",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["ptc-icon-list.cjs",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["ptc-list.cjs",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-minimized-footer.cjs",[[1,"ptc-minimized-footer"]]],["ptc-minimized-header.cjs",[[1,"ptc-minimized-header",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]]],["ptc-picture.cjs",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["ptc-pricing-block.cjs",[[1,"ptc-pricing-block"]]],["ptc-responsive-wrapper.cjs",[[1,"ptc-responsive-wrapper"]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-two-column-media.cjs",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["tab-content.cjs",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["tab-header.cjs",[[1,"tab-header",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["ptc-ellipsis-dropdown.cjs",[[1,"ptc-ellipsis-dropdown",{"dataItems":[16],"isDropdownOpen":[32]}]]],["lottie-player.cjs",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["ptc-date.cjs",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}]]],["ptc-img_2.cjs",[[4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]],[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1]}]]],["dropdown-item.cjs",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["list-item.cjs",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"]}]]],["ptc-svg-btn.cjs",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1]}]]],["icon-asset_13.cjs",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]}],[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028]}],[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}],[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"inputName":[1,"input-name"]}],[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1]}],[1,"ptc-filter-tag",{"theme":[1]}],[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"show":[1028],"overlay":[1028],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"showHeaderFooter":[1028,"show-header-footer"],"overlayHeight":[32],"bodyOverflowSetting":[32]}],[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"]}],[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1]}],[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}],[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1]}],[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}],[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"injectedStyle":[1,"injected-style"]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-3adcf9f4.js');
|
|
6
|
+
|
|
7
|
+
const hasSlot = (parentEl, slotName) => {
|
|
8
|
+
return !!parentEl.querySelector(':scope > [slot="' + slotName + '"'); // cast boolean
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const ptcAccordionItemCss = ":host{display:block}:host .heading{display:flex;align-items:center;justify-content:initial;width:100%;border:none;text-align:left;padding:var(--ptc-element-spacing-06);padding-left:0;cursor:pointer;transition:border-radius var(--ptc-transition-fast) ease var(--ptc-transition-fast);background-color:transparent;border-bottom:1px solid var(--color-gray-03)}:host .heading .heading-text{color:var(--color-gray-10);margin:0;font-weight:var(--ptc-font-weight-bold);flex:1;font-size:var(--ptc-font-size-large);font-family:var(--ptc-font-latin)}:host .heading .arrow{color:var(--color-green-06);margin-right:var(--ptc-element-spacing-05);transition:transform var(--ptc-transition-fast) ease-in-out}:host .heading .arrow svg{width:34px;height:34px}:host .heading .arrow svg path{fill:currentColor}:host .body-container{overflow:hidden;max-height:0;transition:max-height var(--ptc-transition-fast) ease-in-out;scrollbar-width:none;}:host .body-container::-webkit-scrollbar{display:none;}:host .body-container .body{border-top-left-radius:0;border-top-right-radius:0;overflow:hidden;padding:var(--ptc-layout-spacing-02)}:host(.autoHeight) .body-container{overflow:hidden}:host(.active) .heading{border-bottom-left-radius:0;border-bottom-right-radius:0;transition:border-radius 0s ease;border-color:var(--color-gray-02)}:host(.active) .heading .arrow{transform:rotate(180deg)}:host(.active) .heading .arrow svg{color:var(--color-gray-03)}:host(.active) .body-container{max-height:var(--ptc-accordion-item-body-max-height)}";
|
|
12
|
+
|
|
13
|
+
let PtcAccordionItem = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.opened = index.createEvent(this, "opened", 7);
|
|
17
|
+
this.opening = index.createEvent(this, "opening", 7);
|
|
18
|
+
this.closed = index.createEvent(this, "closed", 7);
|
|
19
|
+
this.closing = index.createEvent(this, "closing", 7);
|
|
20
|
+
/**
|
|
21
|
+
* Heading text.
|
|
22
|
+
* This will be overwritten by `heading` slot
|
|
23
|
+
*/
|
|
24
|
+
this.heading = null;
|
|
25
|
+
/**
|
|
26
|
+
* The HTML tag to be applied to the heading text.
|
|
27
|
+
* This will be overwritten by `heading` slot
|
|
28
|
+
*/
|
|
29
|
+
this.headingTag = 'h3';
|
|
30
|
+
/**
|
|
31
|
+
* If expanded height should be automatically calculated. If set, the `--ptc-accordion-item-body-max-height` CSS variable will be set automatically to the content height
|
|
32
|
+
*/
|
|
33
|
+
this.autoHeight = false;
|
|
34
|
+
/**
|
|
35
|
+
* If the accordion item should be opened by default
|
|
36
|
+
*/
|
|
37
|
+
this.active = false;
|
|
38
|
+
this.hasHeadingSlot = true;
|
|
39
|
+
this.hasArrowSlot = true;
|
|
40
|
+
}
|
|
41
|
+
componentWillLoad() {
|
|
42
|
+
this.hasHeadingSlot = hasSlot(this.el, 'heading');
|
|
43
|
+
this.hasArrowSlot = hasSlot(this.el, 'arrow');
|
|
44
|
+
}
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
if (this.autoHeight) {
|
|
47
|
+
this.bodyEl.style.setProperty('--ptc-accordion-item-body-max-height', this.bodyEl.scrollHeight + 2 + 'px');
|
|
48
|
+
}
|
|
49
|
+
this.onTransitionEnd();
|
|
50
|
+
this.bodyEl.addEventListener('transitionstart', () => {
|
|
51
|
+
this.onTransitionStart();
|
|
52
|
+
});
|
|
53
|
+
this.bodyEl.addEventListener('transitionend', () => {
|
|
54
|
+
this.onTransitionEnd();
|
|
55
|
+
});
|
|
56
|
+
this.hasHeadingSlot = hasSlot(this.el, 'heading');
|
|
57
|
+
this.hasArrowSlot = hasSlot(this.el, 'arrow');
|
|
58
|
+
}
|
|
59
|
+
onTransitionEnd() {
|
|
60
|
+
if (this.active) {
|
|
61
|
+
this.bodyEl.style.overflow = 'auto';
|
|
62
|
+
this.opened.emit();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
this.bodyEl.style.overflow = 'hidden';
|
|
66
|
+
this.bodyEl.style.visibility = 'hidden';
|
|
67
|
+
this.closed.emit();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
onTransitionStart() {
|
|
71
|
+
if (this.active) {
|
|
72
|
+
this.bodyEl.style.visibility = 'visible';
|
|
73
|
+
this.opening.emit();
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.closing.emit();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Toggle open state of accordion item
|
|
81
|
+
*/
|
|
82
|
+
async toggle() {
|
|
83
|
+
if (this.active) {
|
|
84
|
+
this.close();
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this.open();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Closes the accordion item
|
|
92
|
+
*/
|
|
93
|
+
async close() {
|
|
94
|
+
this.active = false;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Opens the accordion item.
|
|
98
|
+
*/
|
|
99
|
+
async open() {
|
|
100
|
+
this.active = true;
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
const { active, autoHeight, headingTag: HeadingTag } = this;
|
|
104
|
+
return (index.h(index.Host, { class: { active, autoHeight } }, index.h("button", { class: "heading", role: "button", onClick: () => this.toggle() }, index.h("span", { class: "arrow" }, this.hasArrowSlot ? (index.h("slot", { name: "arrow" })) : (index.h("svg", { focusable: "false", viewBox: "0 0 24 24", "aria-hidden": "true" }, index.h("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" })))), this.hasHeadingSlot ? (index.h("slot", { name: "heading" })) : (index.h(HeadingTag, { class: "heading-text" }, this.heading))), index.h("div", { class: "body-container", ref: el => (this.bodyEl = el) }, index.h("div", { class: "body" }, index.h("slot", null)))));
|
|
105
|
+
}
|
|
106
|
+
get el() { return index.getElement(this); }
|
|
107
|
+
};
|
|
108
|
+
PtcAccordionItem.style = ptcAccordionItemCss;
|
|
109
|
+
|
|
110
|
+
exports.ptc_accordion_item = PtcAccordionItem;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-3adcf9f4.js');
|
|
6
|
+
|
|
7
|
+
const ptcAccordionCss = ":host{--ptc-accordion-item-body-max-height:100vh}";
|
|
8
|
+
|
|
9
|
+
let PtcAccordion = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* If multiple `<ptc-accordion-item>`s can open at the same time
|
|
14
|
+
*/
|
|
15
|
+
this.multiple = false;
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
this.items = this.el.querySelectorAll(':scope > ptc-accordion-item');
|
|
19
|
+
if (!this.multiple) {
|
|
20
|
+
this.activeItem = this.el.querySelector(':scope > ptc-accordion-item[active]');
|
|
21
|
+
if (this.activeItem) {
|
|
22
|
+
this.activeItem.open();
|
|
23
|
+
}
|
|
24
|
+
this.closeNonActive();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
openHandler(e) {
|
|
28
|
+
e.stopPropagation();
|
|
29
|
+
const eventTarget = e.target;
|
|
30
|
+
if (!this.multiple) {
|
|
31
|
+
this.activeItem = eventTarget;
|
|
32
|
+
this.closeNonActive();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
closeNonActive() {
|
|
36
|
+
this.items.forEach(item => {
|
|
37
|
+
if (!item.isEqualNode(this.activeItem)) {
|
|
38
|
+
item.close();
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
44
|
+
}
|
|
45
|
+
get el() { return index.getElement(this); }
|
|
46
|
+
};
|
|
47
|
+
PtcAccordion.style = ptcAccordionCss;
|
|
48
|
+
|
|
49
|
+
exports.ptc_accordion = PtcAccordion;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-3adcf9f4.js');
|
|
6
|
+
|
|
7
|
+
const ptcAnnouncementCss = ":host{display:block}.announcement{width:100%;position:relative;background-color:var(--color-gray-02);z-index:860;background-size:cover;background-repeat:repeat-x;border:1px solid var(--color-green-06);box-shadow:var(--ptc-shadow-small);z-index:999;display:none}.visible{display:block}.content-wrapper{display:flex;padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-03);margin:0 auto;align-items:center;justify-content:space-between}@media only screen and (min-width: 768px){.content-wrapper{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){.temp-container{width:750px}}@media only screen and (min-width: 992px){.temp-container{width:970px}}@media only screen and (min-width: 1200px){.temp-container{width:1170px}}@media only screen and (min-width: 1440px){.temp-container{width:1400px}}@media only screen and (min-width: 1600px){.temp-container{width:1560px}}.left-content{display:flex;flex-basis:82%;flex-direction:column}@media only screen and (min-width: 768px){.left-content{align-items:flex-start;justify-content:flex-start}}.title{flex-basis:18%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose);text-align:left;color:var(--color-gray-10);text-transform:uppercase}.ptc-svg-btn{flex-basis:18%}.bar-close{padding-right:var(--ptc-element-spacing-04)}.description{flex-basis:82%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;text-align:left;color:var(--color-gray-10)}a{color:var(--color-blue-07);-webkit-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);-o-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);font-weight:var(--ptc-font-weight-bold);text-decoration:underline;white-space:nowrap;margin-left:var(--ptc-element-spacing-04)}a:hover{color:var(--color-blue-08)}a:focus{outline:3px solid var(--color-blue-07);outline-offset:0.25rem;border-radius:var(--ptc-border-radius-standard)}a:visited{color:var(--color-blue-09)}@media only screen and (min-width: 768px){.bar-close{padding-right:0px}}@media only screen and (min-width: 992px){.left-content{flex-direction:row;align-items:center}.title{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-loose)}.description{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense)}}";
|
|
8
|
+
|
|
9
|
+
let PtcAnnouncement = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.close = index.createEvent(this, "close", 7);
|
|
13
|
+
/**
|
|
14
|
+
* bar title
|
|
15
|
+
*/
|
|
16
|
+
this.barTitle = "";
|
|
17
|
+
/**
|
|
18
|
+
* bar description
|
|
19
|
+
*/
|
|
20
|
+
this.Description = "";
|
|
21
|
+
/**
|
|
22
|
+
* Link Url
|
|
23
|
+
*/
|
|
24
|
+
this.linkUrl = '#';
|
|
25
|
+
/**
|
|
26
|
+
* Target
|
|
27
|
+
*/
|
|
28
|
+
this.target = '_self';
|
|
29
|
+
this.closeClick = () => {
|
|
30
|
+
this.visible = false;
|
|
31
|
+
this.close.emit();
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
var _a;
|
|
36
|
+
const classMap = this.getCssClassMap();
|
|
37
|
+
return (index.h(index.Host, null, index.h("div", { class: classMap, part: "part-announcement" }, index.h("div", { class: this.tempContainer ? 'content-wrapper temp-container' : 'content-wrapper' }, index.h("div", { class: "left-content", part: "part-left-content" }, !!this.barTitle ? index.h("div", { class: "title" }, this.barTitle) : null, index.h("div", { class: "description" }, !!this.Description ? index.h("span", null, this.Description) : null, !!this.linkText ? (index.h("a", { href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target }, this.linkText)) : null)), index.h("ptc-svg-btn", { class: "bar-close", "svg-name": "close", onClick: this.closeClick })))));
|
|
38
|
+
}
|
|
39
|
+
getCssClassMap() {
|
|
40
|
+
return {
|
|
41
|
+
['announcement']: true,
|
|
42
|
+
[this.visible ? 'visible' : '']: true,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
PtcAnnouncement.style = ptcAnnouncementCss;
|
|
47
|
+
|
|
48
|
+
exports.ptc_announcement = PtcAnnouncement;
|
|
@@ -4,47 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-3adcf9f4.js');
|
|
6
6
|
|
|
7
|
-
const ptcAnnouncementCss = ":host{display:block}.announcement{width:100%;position:relative;background-color:var(--color-gray-02);z-index:860;background-size:cover;background-repeat:repeat-x;border:1px solid var(--color-green-06);box-shadow:var(--ptc-shadow-small);z-index:999;display:none}.visible{display:block}.content-wrapper{display:flex;padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-03);margin:0 auto;align-items:center;justify-content:space-between}@media only screen and (min-width: 768px){.content-wrapper{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){.temp-container{width:750px}}@media only screen and (min-width: 992px){.temp-container{width:970px}}@media only screen and (min-width: 1200px){.temp-container{width:1170px}}@media only screen and (min-width: 1440px){.temp-container{width:1400px}}@media only screen and (min-width: 1600px){.temp-container{width:1560px}}.left-content{display:flex;flex-basis:82%;flex-direction:column}@media only screen and (min-width: 768px){.left-content{align-items:flex-start;justify-content:flex-start}}.title{flex-basis:18%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose);text-align:left;color:var(--color-gray-10);text-transform:uppercase}.ptc-svg-btn{flex-basis:18%}.bar-close{padding-right:var(--ptc-element-spacing-04)}.description{flex-basis:82%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;text-align:left;color:var(--color-gray-10)}a{color:var(--color-blue-07);-webkit-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);-o-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);font-weight:var(--ptc-font-weight-bold);text-decoration:underline;white-space:nowrap;margin-left:var(--ptc-element-spacing-04)}a:hover{color:var(--color-blue-08)}a:focus{outline:3px solid var(--color-blue-07);outline-offset:0.25rem;border-radius:var(--ptc-border-radius-standard)}a:visited{color:var(--color-blue-09)}@media only screen and (min-width: 768px){.bar-close{padding-right:0px}}@media only screen and (min-width: 992px){.left-content{flex-direction:row;align-items:center}.title{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-loose)}.description{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense)}}";
|
|
8
|
-
|
|
9
|
-
let PtcAnnouncement = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.close = index.createEvent(this, "close", 7);
|
|
13
|
-
/**
|
|
14
|
-
* bar title
|
|
15
|
-
*/
|
|
16
|
-
this.barTitle = "";
|
|
17
|
-
/**
|
|
18
|
-
* bar description
|
|
19
|
-
*/
|
|
20
|
-
this.Description = "";
|
|
21
|
-
/**
|
|
22
|
-
* Link Url
|
|
23
|
-
*/
|
|
24
|
-
this.linkUrl = '#';
|
|
25
|
-
/**
|
|
26
|
-
* Target
|
|
27
|
-
*/
|
|
28
|
-
this.target = '_self';
|
|
29
|
-
this.closeClick = () => {
|
|
30
|
-
this.visible = false;
|
|
31
|
-
this.close.emit();
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
render() {
|
|
35
|
-
var _a;
|
|
36
|
-
const classMap = this.getCssClassMap();
|
|
37
|
-
return (index.h(index.Host, null, index.h("div", { class: classMap, part: "part-announcement" }, index.h("div", { class: this.tempContainer ? 'content-wrapper temp-container' : 'content-wrapper' }, index.h("div", { class: "left-content", part: "part-left-content" }, !!this.barTitle ? index.h("div", { class: "title" }, this.barTitle) : null, index.h("div", { class: "description" }, !!this.Description ? index.h("span", null, this.Description) : null, !!this.linkText ? (index.h("a", { href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target }, this.linkText)) : null)), index.h("ptc-svg-btn", { class: "bar-close", "svg-name": "close", onClick: this.closeClick })))));
|
|
38
|
-
}
|
|
39
|
-
getCssClassMap() {
|
|
40
|
-
return {
|
|
41
|
-
['announcement']: true,
|
|
42
|
-
[this.visible ? 'visible' : '']: true,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
PtcAnnouncement.style = ptcAnnouncementCss;
|
|
47
|
-
|
|
48
7
|
const closeSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
|
|
49
8
|
<g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
|
|
50
9
|
<path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
|
|
@@ -132,5 +91,4 @@ let PtcSvgBtn = class {
|
|
|
132
91
|
};
|
|
133
92
|
PtcSvgBtn.style = ptcSvgBtnCss;
|
|
134
93
|
|
|
135
|
-
exports.ptc_announcement = PtcAnnouncement;
|
|
136
94
|
exports.ptc_svg_btn = PtcSvgBtn;
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ptc-tab-list.cjs",[[4,"ptc-tab-list",null,[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["ptc-breadcrumb.cjs",[[1,"ptc-breadcrumb"]]],["ptc-hero.cjs",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]]],["ptc-previous-url.cjs",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["ptc-
|
|
18
|
+
return index.bootstrapLazy([["ptc-tab-list.cjs",[[4,"ptc-tab-list",null,[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["ptc-breadcrumb.cjs",[[1,"ptc-breadcrumb"]]],["ptc-hero.cjs",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]]],["ptc-previous-url.cjs",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["ptc-announcement.cjs",[[1,"ptc-announcement",{"barTitle":[1,"bar-title"],"Description":[1,"description"],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[513,"link-url"],"tempContainer":[4,"temp-container"],"target":[1]}]]],["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-lottie.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["ptc-mobile-select.cjs",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"],"linkUrl":[1025,"link-url"]}]]],["ptc-quote.cjs",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]]],["ptc-social-share.cjs",[[1,"ptc-social-share",{"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"isHover":[32]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-accordion.cjs",[[1,"ptc-accordion",{"multiple":[4]},[[0,"opened","openHandler"]]]]],["ptc-accordion-item.cjs",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["ptc-card-bottom.cjs",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1]}]]],["ptc-card-content.cjs",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"styles":[1]}]]],["ptc-card-plm.cjs",[[1,"ptc-card-plm",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]}]]],["ptc-hero-footer-cta.cjs",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["ptc-icon-list.cjs",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["ptc-list.cjs",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-minimized-footer.cjs",[[1,"ptc-minimized-footer"]]],["ptc-minimized-header.cjs",[[1,"ptc-minimized-header",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]]],["ptc-picture.cjs",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["ptc-pricing-block.cjs",[[1,"ptc-pricing-block"]]],["ptc-responsive-wrapper.cjs",[[1,"ptc-responsive-wrapper"]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-two-column-media.cjs",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["tab-content.cjs",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["tab-header.cjs",[[1,"tab-header",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["ptc-ellipsis-dropdown.cjs",[[1,"ptc-ellipsis-dropdown",{"dataItems":[16],"isDropdownOpen":[32]}]]],["lottie-player.cjs",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["ptc-date.cjs",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}]]],["ptc-img_2.cjs",[[4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]],[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1]}]]],["dropdown-item.cjs",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["list-item.cjs",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"]}]]],["ptc-svg-btn.cjs",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1]}]]],["icon-asset_13.cjs",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]}],[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028]}],[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}],[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"inputName":[1,"input-name"]}],[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1]}],[1,"ptc-filter-tag",{"theme":[1]}],[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"show":[1028],"overlay":[1028],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"showHeaderFooter":[1028,"show-header-footer"],"overlayHeight":[32],"bodyOverflowSetting":[32]}],[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"]}],[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1]}],[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}],[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1]}],[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}],[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"injectedStyle":[1,"injected-style"]}]]]], options);
|
|
19
19
|
});
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
"./components/icon-asset/icon-asset.js",
|
|
5
5
|
"./components/list-item/list-item.js",
|
|
6
6
|
"./components/my-component/my-component.js",
|
|
7
|
+
"./components/ptc-accordion/ptc-accordion.js",
|
|
8
|
+
"./components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js",
|
|
7
9
|
"./components/ptc-announcement/ptc-announcement.js",
|
|
8
10
|
"./components/ptc-breadcrumb/ptc-breadcrumb.js",
|
|
9
11
|
"./components/ptc-button/ptc-button.js",
|
|
@@ -14,11 +16,13 @@
|
|
|
14
16
|
"./components/ptc-checkbox/ptc-checkbox.js",
|
|
15
17
|
"./components/ptc-container/ptc-container.js",
|
|
16
18
|
"./components/ptc-date/ptc-date.js",
|
|
19
|
+
"./components/ptc-dropdown/ptc-dropdown.js",
|
|
17
20
|
"./components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js",
|
|
18
21
|
"./components/ptc-filter-tag/ptc-filter-tag.js",
|
|
19
22
|
"./components/ptc-hero/ptc-hero.js",
|
|
20
23
|
"./components/ptc-hero-footer-cta/ptc-hero-footer-cta.js",
|
|
21
24
|
"./components/ptc-icon-list/ptc-icon-list.js",
|
|
25
|
+
"./components/ptc-icon-minimize/ptc-icon-minimize.js",
|
|
22
26
|
"./components/ptc-img/ptc-img.js",
|
|
23
27
|
"./components/ptc-link/ptc-link.js",
|
|
24
28
|
"./components/ptc-list/ptc-list.js",
|
|
@@ -325,4 +325,15 @@
|
|
|
325
325
|
</g>
|
|
326
326
|
</g>
|
|
327
327
|
</symbol>
|
|
328
|
+
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 16" id="options">
|
|
329
|
+
<path d="M18.3902 7.51956H6.17969C6.24888 7.83487 6.24888 8.16168 6.17969 8.47699H18.3902C18.4529 8.47769 18.515 8.46582 18.5731 8.44208C18.6312 8.41833 18.684 8.38318 18.7286 8.33866C18.7731 8.29414 18.8085 8.24113 18.8326 8.1827C18.8568 8.12427 18.8692 8.06159 18.8692 7.99827C18.8692 7.93496 18.8568 7.87228 18.8326 7.81385C18.8085 7.75542 18.7731 7.70241 18.7286 7.65789C18.684 7.61337 18.6312 7.57822 18.5731 7.55447C18.515 7.53073 18.4529 7.51886 18.3902 7.51956Z" fill="#323B42"/>
|
|
330
|
+
<path d="M1.88029 7.51956H0.478934C0.41629 7.51886 0.354131 7.53073 0.296055 7.55447C0.237979 7.57822 0.185141 7.61337 0.140598 7.65789C0.096056 7.70241 0.0606943 7.75542 0.0365604 7.81385C0.0124266 7.87228 0 7.93496 0 7.99827C0 8.06159 0.0124266 8.12427 0.0365604 8.1827C0.0606943 8.24113 0.096056 8.29414 0.140598 8.33866C0.185141 8.38318 0.237979 8.41833 0.296055 8.44208C0.354131 8.46582 0.41629 8.47769 0.478934 8.47699H1.88029C1.81109 8.16168 1.81109 7.83487 1.88029 7.51956Z" fill="#323B42"/>
|
|
331
|
+
<path d="M18.3894 1.74612H17.207C17.2762 2.06144 17.2762 2.38824 17.207 2.70356H18.3894C18.4521 2.70426 18.5142 2.69239 18.5723 2.66865C18.6304 2.6449 18.6832 2.60975 18.7278 2.56523C18.7723 2.52071 18.8077 2.4677 18.8318 2.40927C18.8559 2.35084 18.8684 2.28816 18.8684 2.22484C18.8684 2.16153 18.8559 2.09884 18.8318 2.04041C18.8077 1.98199 18.7723 1.92898 18.7278 1.88446C18.6832 1.83993 18.6304 1.80478 18.5723 1.78104C18.5142 1.75729 18.4521 1.74543 18.3894 1.74612Z" fill="#323B42"/>
|
|
332
|
+
<path d="M12.9086 1.74612H0.478933C0.416289 1.74543 0.35413 1.75729 0.296054 1.78104C0.237979 1.80478 0.18514 1.83993 0.140598 1.88446C0.0960558 1.92898 0.0606941 1.98199 0.0365603 2.04041C0.0124266 2.09884 0 2.16153 0 2.22484C0 2.28816 0.0124266 2.35084 0.0365603 2.40927C0.0606941 2.4677 0.0960558 2.52071 0.140598 2.56523C0.18514 2.60975 0.237979 2.6449 0.296054 2.66865C0.35413 2.69239 0.416289 2.70426 0.478933 2.70356H12.9086C12.8394 2.38824 12.8394 2.06144 12.9086 1.74612Z" fill="#323B42"/>
|
|
333
|
+
<path d="M18.3905 13.2969H13.2305C13.2997 13.6122 13.2997 13.939 13.2305 14.2543H18.3905C18.4532 14.255 18.5153 14.2432 18.5734 14.2194C18.6315 14.1957 18.6843 14.1605 18.7289 14.116C18.7734 14.0715 18.8088 14.0185 18.8329 13.96C18.857 13.9016 18.8695 13.8389 18.8695 13.7756C18.8695 13.7123 18.857 13.6496 18.8329 13.5912C18.8088 13.5328 18.7734 13.4798 18.7289 13.4352C18.6843 13.3907 18.6315 13.3556 18.5734 13.3318C18.5153 13.3081 18.4532 13.2962 18.3905 13.2969Z" fill="#323B42"/>
|
|
334
|
+
<path d="M8.93086 13.2969H0.478936C0.416291 13.2962 0.354132 13.3081 0.296056 13.3318C0.23798 13.3556 0.185142 13.3907 0.140599 13.4352C0.0960563 13.4798 0.0606945 13.5328 0.0365606 13.5912C0.0124266 13.6496 0 13.7123 0 13.7756C0 13.8389 0.0124266 13.9016 0.0365606 13.96C0.0606945 14.0185 0.0960563 14.0715 0.140599 14.116C0.185142 14.1605 0.23798 14.1957 0.296056 14.2194C0.354132 14.2432 0.416291 14.255 0.478936 14.2543H8.93086C8.86166 13.939 8.86166 13.6122 8.93086 13.2969Z" fill="#323B42"/>
|
|
335
|
+
<path d="M17.2049 1.74544C16.9877 0.748413 16.107 0 15.0561 0C14.0052 0 13.1245 0.748413 12.9074 1.74544C12.8382 2.06076 12.8382 2.38756 12.9074 2.70288C13.1247 3.69991 14.0053 4.44838 15.0563 4.44838C16.1072 4.44838 16.9877 3.69991 17.2049 2.70317C17.2741 2.38785 17.2741 2.06105 17.2049 1.74573V1.74544ZM15.0561 3.49094C14.365 3.49094 13.8027 2.92266 13.8027 2.22419C13.8027 1.52572 14.365 0.957435 15.0561 0.957435C15.7472 0.957435 16.3095 1.52566 16.3095 2.22419C16.3095 2.92271 15.7472 3.49094 15.0561 3.49094Z" fill="#323B42"/>
|
|
336
|
+
<path d="M6.17784 7.52278C5.96049 6.52575 5.0798 5.77734 4.02893 5.77734C2.97806 5.77734 2.09737 6.52575 1.88002 7.52278C1.81083 7.83809 1.81083 8.1649 1.88002 8.48021C2.09737 9.47723 2.97801 10.2256 4.02893 10.2256C5.07986 10.2256 5.96049 9.47723 6.17784 8.48021C6.24704 8.1649 6.24704 7.83809 6.17784 7.52278ZM4.02893 9.26821C3.33781 9.26821 2.77549 8.69999 2.77549 8.00146C2.77549 7.30294 3.33781 6.73477 4.02893 6.73477C4.72006 6.73477 5.28237 7.30306 5.28237 8.00146C5.28237 8.69987 4.72006 9.26821 4.02893 9.26821Z" fill="#323B42"/>
|
|
337
|
+
<path d="M13.2286 13.2963C13.0113 12.2993 12.1306 11.5508 11.0797 11.5508C10.0287 11.5508 9.1481 12.2993 8.9308 13.2963C8.86161 13.6116 8.86161 13.9384 8.9308 14.2537C9.1481 15.2508 10.0288 15.9992 11.0797 15.9992C12.1305 15.9992 13.0113 15.2508 13.2286 14.2537C13.2978 13.9384 13.2978 13.6116 13.2286 13.2963ZM11.0797 15.0417C10.3885 15.0417 9.82628 14.4735 9.82628 13.775C9.82628 13.0765 10.3885 12.5082 11.0797 12.5082C11.7708 12.5082 12.3333 13.0765 12.3333 13.775C12.3333 14.4735 11.7708 15.0417 11.0797 15.0417Z" fill="#323B42"/>
|
|
338
|
+
</symbol>
|
|
328
339
|
</svg>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
:host .heading {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: initial;
|
|
8
|
+
width: 100%;
|
|
9
|
+
border: none;
|
|
10
|
+
text-align: left;
|
|
11
|
+
padding: var(--ptc-element-spacing-06);
|
|
12
|
+
padding-left: 0;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
transition: border-radius var(--ptc-transition-fast) ease var(--ptc-transition-fast);
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
border-bottom: 1px solid var(--color-gray-03);
|
|
17
|
+
}
|
|
18
|
+
:host .heading .heading-text {
|
|
19
|
+
color: var(--color-gray-10);
|
|
20
|
+
margin: 0;
|
|
21
|
+
font-weight: var(--ptc-font-weight-bold);
|
|
22
|
+
flex: 1;
|
|
23
|
+
font-size: var(--ptc-font-size-large);
|
|
24
|
+
font-family: var(--ptc-font-latin);
|
|
25
|
+
}
|
|
26
|
+
:host .heading .arrow {
|
|
27
|
+
color: var(--color-green-06);
|
|
28
|
+
margin-right: var(--ptc-element-spacing-05);
|
|
29
|
+
transition: transform var(--ptc-transition-fast) ease-in-out;
|
|
30
|
+
}
|
|
31
|
+
:host .heading .arrow svg {
|
|
32
|
+
width: 34px;
|
|
33
|
+
height: 34px;
|
|
34
|
+
}
|
|
35
|
+
:host .heading .arrow svg path {
|
|
36
|
+
fill: currentColor;
|
|
37
|
+
}
|
|
38
|
+
:host .body-container {
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
max-height: 0;
|
|
41
|
+
transition: max-height var(--ptc-transition-fast) ease-in-out;
|
|
42
|
+
scrollbar-width: none;
|
|
43
|
+
/* Firefox */
|
|
44
|
+
}
|
|
45
|
+
:host .body-container::-webkit-scrollbar {
|
|
46
|
+
display: none;
|
|
47
|
+
/* Safari and Chrome */
|
|
48
|
+
}
|
|
49
|
+
:host .body-container .body {
|
|
50
|
+
border-top-left-radius: 0;
|
|
51
|
+
border-top-right-radius: 0;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
padding: var(--ptc-layout-spacing-02);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host(.autoHeight) .body-container {
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host(.active) .heading {
|
|
61
|
+
border-bottom-left-radius: 0;
|
|
62
|
+
border-bottom-right-radius: 0;
|
|
63
|
+
transition: border-radius 0s ease;
|
|
64
|
+
border-color: var(--color-gray-02);
|
|
65
|
+
}
|
|
66
|
+
:host(.active) .heading .arrow {
|
|
67
|
+
transform: rotate(180deg);
|
|
68
|
+
}
|
|
69
|
+
:host(.active) .heading .arrow svg {
|
|
70
|
+
color: var(--color-gray-03);
|
|
71
|
+
}
|
|
72
|
+
:host(.active) .body-container {
|
|
73
|
+
max-height: var(--ptc-accordion-item-body-max-height);
|
|
74
|
+
}
|