@ptcwebops/ptcw-design 5.3.5 → 5.3.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/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +2 -2
- package/dist/cjs/ptc-media-card.cjs.entry.js +3 -1
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +109 -0
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +108 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +15 -3
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +1 -1
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +40 -4
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +74 -0
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +232 -0
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +1 -1
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +21 -0
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +231 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +219 -6
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +2 -2
- package/dist/esm/ptc-media-card.entry.js +3 -1
- package/dist/esm/ptc-readmore-new.entry.js +105 -0
- package/dist/esm/ptc-readmore-v3.entry.js +104 -0
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-1921baf7.entry.js +1 -0
- package/dist/ptcw-design/{p-a11dbfda.entry.js → p-4721a749.entry.js} +1 -1
- package/dist/ptcw-design/p-520b4e6f.entry.js +1 -0
- package/dist/ptcw-design/p-6b32020a.entry.js +1 -0
- package/dist/ptcw-design/p-edfb6ad4.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +11 -3
- package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +21 -0
- package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +21 -0
- package/dist/types/components.d.ts +76 -6
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-38f1fd66.entry.js +0 -1
- package/dist/ptcw-design/p-c75d6045.entry.js +0 -1
|
@@ -18916,7 +18916,7 @@ const PtcInfoTile$1 = class extends HTMLElement$1 {
|
|
|
18916
18916
|
static get style() { return ptcInfoTileCss; }
|
|
18917
18917
|
};
|
|
18918
18918
|
|
|
18919
|
-
const ptcInlineCtaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .small-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .small-inline-cta-container .cta-bg{display:none}:host .small-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box}:host .small-inline-cta-container .cta-content .cta-image{width:100%;height:200px}:host .small-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-05);padding:0}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 768px){:host .small-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .small-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 16px + 16px);position:absolute;right:0;z-index:-1;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}:host .small-inline-cta-container .cta-content{flex-direction:row;align-items:center;background-color:transparent;border-radius:none;padding:0}:host .small-inline-cta-container .cta-content .cta-image{width:35%;height:164px}:host .small-inline-cta-container .cta-content .cta-body{width:65%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-right:var(--ptc-element-spacing-07);padding-left:var(--ptc-element-spacing-07);margin-top:0;margin-bottom:0}}:host .big-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .big-inline-cta-container .cta-bg{display:none}:host .big-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box;background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content .cta-image{width:100%;height:300px}:host .big-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-06)}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 480px){:host .big-inline-cta-container .cta-content .cta-body{margin-top:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){:host .big-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .big-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 24px + 24px);position:absolute;right:0;z-index:-1;border-radius:var(--ptc-border-radius-standard);background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content{flex-direction:row;align-items:center;border-radius:none;padding:0;background-color:transparent}:host .big-inline-cta-container .cta-content .cta-image{width:40%;height:400px;justify-self:left}:host .big-inline-cta-container .cta-content .cta-body{width:60%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-top:calc(var(--ptc-element-spacing-07) + var(--ptc-element-spacing-05));padding-right:var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04));padding-left:var(--ptc-element-spacing-07);margin-top:0}}:host .big-inline-cta-container.green .cta-content{background-color:var(--color-green-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.green .cta-bg{background-color:var(--color-green-08)}:host .big-inline-cta-container.green .cta-content{background-color:transparent}}:host .big-inline-cta-container.blue .cta-content{background-color:var(--color-blue-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.blue .cta-bg{background-color:var(--color-blue-08)}:host .big-inline-cta-container.blue .cta-content{background-color:transparent}}:host .big-inline-cta-container.gray .cta-content{background-color:var(--color-gray-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.gray .cta-bg{background-color:var(--color-gray-08)}:host .big-inline-cta-container.gray .cta-content{background-color:transparent}}:host .bottom-inline-cta-container{background-color:#FFF;padding:var(--ptc-element-spacing-06);display:flex;gap:var(--ptc-element-spacing-06);flex-direction:column;border-radius:var(--ptc-border-radius-standard)}:host .bottom-inline-cta-container .cta-image{flex:none;height:230px}:host .bottom-inline-cta-container .link-wrapper{display:block;outline:none;text-decoration:none}:host .bottom-inline-cta-container .link-wrapper:hover{outline:none;text-decoration:none}:host .bottom-inline-cta-container .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 768px){:host .bottom-inline-cta-container{flex-direction:row}:host .bottom-inline-cta-container .cta-image{height:inherit;
|
|
18919
|
+
const ptcInlineCtaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .small-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .small-inline-cta-container .cta-bg{display:none}:host .small-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box}:host .small-inline-cta-container .cta-content .cta-image{width:100%;height:200px}:host .small-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-05);padding:0}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 768px){:host .small-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .small-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 16px + 16px);position:absolute;right:0;z-index:-1;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}:host .small-inline-cta-container .cta-content{flex-direction:row;align-items:center;background-color:transparent;border-radius:none;padding:0}:host .small-inline-cta-container .cta-content .cta-image{width:35%;height:164px}:host .small-inline-cta-container .cta-content .cta-body{width:65%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-right:var(--ptc-element-spacing-07);padding-left:var(--ptc-element-spacing-07);margin-top:0;margin-bottom:0}}:host .big-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .big-inline-cta-container .cta-bg{display:none}:host .big-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box;background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content .cta-image{width:100%;height:300px}:host .big-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-06)}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 480px){:host .big-inline-cta-container .cta-content .cta-body{margin-top:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){:host .big-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .big-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 24px + 24px);position:absolute;right:0;z-index:-1;border-radius:var(--ptc-border-radius-standard);background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content{flex-direction:row;align-items:center;border-radius:none;padding:0;background-color:transparent}:host .big-inline-cta-container .cta-content .cta-image{width:40%;height:400px;justify-self:left}:host .big-inline-cta-container .cta-content .cta-body{width:60%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-top:calc(var(--ptc-element-spacing-07) + var(--ptc-element-spacing-05));padding-right:var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04));padding-left:var(--ptc-element-spacing-07);margin-top:0}}:host .big-inline-cta-container.green .cta-content{background-color:var(--color-green-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.green .cta-bg{background-color:var(--color-green-08)}:host .big-inline-cta-container.green .cta-content{background-color:transparent}}:host .big-inline-cta-container.blue .cta-content{background-color:var(--color-blue-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.blue .cta-bg{background-color:var(--color-blue-08)}:host .big-inline-cta-container.blue .cta-content{background-color:transparent}}:host .big-inline-cta-container.gray .cta-content{background-color:var(--color-gray-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.gray .cta-bg{background-color:var(--color-gray-08)}:host .big-inline-cta-container.gray .cta-content{background-color:transparent}}:host .bottom-inline-cta-container{background-color:#FFF;padding:var(--ptc-element-spacing-06);display:flex;gap:var(--ptc-element-spacing-06);flex-direction:column;border-radius:var(--ptc-border-radius-standard)}:host .bottom-inline-cta-container .cta-image{flex:none;height:230px}:host .bottom-inline-cta-container .link-wrapper{display:block;outline:none;text-decoration:none}:host .bottom-inline-cta-container .link-wrapper:hover{outline:none;text-decoration:none}:host .bottom-inline-cta-container .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid #003dd6}@media only screen and (min-width: 768px){:host .bottom-inline-cta-container{flex-direction:row;gap:0}:host .bottom-inline-cta-container .cta-image{height:inherit;width:50%;display:block;position:relative}:host .bottom-inline-cta-container .cta-image ptc-picture{position:absolute;top:0;right:12px;bottom:0;left:0}:host .bottom-inline-cta-container .cta-body{height:max-content;width:50%;display:block;padding-left:12px}}";
|
|
18920
18920
|
|
|
18921
18921
|
const idxBgClassMapper = {
|
|
18922
18922
|
0: "green",
|
|
@@ -19016,7 +19016,7 @@ const PtcInlineCta$1 = class extends HTMLElement$1 {
|
|
|
19016
19016
|
};
|
|
19017
19017
|
const Big = () => {
|
|
19018
19018
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
19019
|
-
return h$1("div", { class: "big-inline-cta-container" }, h$1("div", { class: "cta-bg" }), h$1("div", { class: "cta-content" }, h$1("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h$1("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t" })), h$1("div", { class: "cta-body", id: this.trackerId }, h$1("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0", "aria-label": "Inline CTA" }, !!this.heading && h$1("ptc-title", { "seo-compatibility-mode": true, type: "h3", "title-size": "large", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h$1("h3", null, this.truncate(this.heading, 70))), !!this.description && h$1(Fragment, null, h$1("ptc-spacer", { breakpoint: 'x-small', size: 'large' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'medium' }), h$1("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 200))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h$1(Fragment, null, h$1("ptc-spacer", { breakpoint: 'x-small', size: 'xx-large' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'x-large' }), h$1("ptc-spacer", { breakpoint: 'x-small', size: 'x-small' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'xx-small' }), h$1("ptc-button", { color: "ptc-tertiary", disabled: false, type: "button", styles: ".ptc-tertiary {border: 2px solid #FFFFFF}", "tab-nav": "-1" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
|
|
19019
|
+
return h$1("div", { class: "big-inline-cta-container" }, h$1("div", { class: "cta-bg" }), h$1("div", { class: "cta-content" }, h$1("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h$1("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t" })), h$1("div", { class: "cta-body", id: this.trackerId }, h$1("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0", "aria-label": "Inline CTA" }, !!this.heading && h$1("ptc-title", { "seo-compatibility-mode": true, type: "h3", "title-size": "large", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h$1("h3", null, this.truncate(this.heading, 70))), !!this.description && h$1(Fragment, null, h$1("ptc-spacer", { breakpoint: 'x-small', size: 'large' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'medium' }), h$1("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 200))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h$1(Fragment, null, h$1("ptc-spacer", { breakpoint: 'x-small', size: 'xx-large' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'x-large' }), h$1("ptc-spacer", { breakpoint: 'x-small', size: 'x-small' }), h$1("ptc-spacer", { breakpoint: 'small', size: 'xx-small' }), h$1("ptc-button", { color: "ptc-tertiary", disabled: false, type: "button", styles: ".ptc-tertiary {border: 2px solid #FFFFFF !important}", "tab-nav": "-1" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
|
|
19020
19020
|
};
|
|
19021
19021
|
const Bottom = () => {
|
|
19022
19022
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -19336,12 +19336,14 @@ const PtcMediaCard$1 = class extends HTMLElement$1 {
|
|
|
19336
19336
|
this.target = '_self';
|
|
19337
19337
|
this.rel = undefined;
|
|
19338
19338
|
this.activeBackgroundImage = undefined;
|
|
19339
|
+
this.activeBackgroundImageAlt = undefined;
|
|
19339
19340
|
this.hoverBackgroundImage = undefined;
|
|
19340
19341
|
this.heading = undefined;
|
|
19341
19342
|
this.headingTransform = 'none';
|
|
19342
19343
|
this.category = undefined;
|
|
19343
19344
|
this.ariaLabel = undefined;
|
|
19344
19345
|
this.iconImage = undefined;
|
|
19346
|
+
this.iconImageAlt = undefined;
|
|
19345
19347
|
this.trackerId = undefined;
|
|
19346
19348
|
this.isHovered = false;
|
|
19347
19349
|
}
|
|
@@ -19375,7 +19377,7 @@ const PtcMediaCard$1 = class extends HTMLElement$1 {
|
|
|
19375
19377
|
// : null)}
|
|
19376
19378
|
style: this.cardType != "case-study-icon" ?
|
|
19377
19379
|
((this.isHovered && this.hoverBackgroundImage) ? { backgroundImage: `url(${this.hoverBackgroundImage})` } : { backgroundImage: `url(${this.activeBackgroundImage})` }) : {} }, h$1("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ?
|
|
19378
|
-
(h$1(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h$1("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h$1("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h$1("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h$1("div", { id: this.trackerId, class: "tracker-div" }, h$1("a", { class: "case-study-img-anchor", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h$1("img", { class: "case-study-bg-img", src: this.activeBackgroundImage }), h$1("div", { class: "after" }), h$1("img", { class: "case-study-icon-img", src: this.iconImage }))))
|
|
19380
|
+
(h$1(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h$1("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h$1("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h$1("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h$1("div", { id: this.trackerId, class: "tracker-div" }, h$1("a", { class: "case-study-img-anchor", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h$1("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h$1("div", { class: "after" }), h$1("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
|
|
19379
19381
|
: null));
|
|
19380
19382
|
}
|
|
19381
19383
|
getCssClassMap() {
|
|
@@ -23068,7 +23070,111 @@ const PtcReadmoreChar$1 = class extends HTMLElement$1 {
|
|
|
23068
23070
|
static get style() { return ptcReadmoreCharCss; }
|
|
23069
23071
|
};
|
|
23070
23072
|
|
|
23071
|
-
const
|
|
23073
|
+
const ptcReadmoreNewCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .description{display:inline}:host .label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .label::before{content:\"\";padding-left:8px}";
|
|
23074
|
+
|
|
23075
|
+
const PtcReadmoreNew$1 = class extends HTMLElement$1 {
|
|
23076
|
+
constructor() {
|
|
23077
|
+
super();
|
|
23078
|
+
this.__registerHost();
|
|
23079
|
+
this.__attachShadow();
|
|
23080
|
+
this.readMoreTrigger = createEvent(this, "readMoreTrigger", 7);
|
|
23081
|
+
this.displayText = createEvent(this, "displayText", 7);
|
|
23082
|
+
this.maxCharacters = 100;
|
|
23083
|
+
this.readMoreText = "Read More";
|
|
23084
|
+
this.readLessText = "Read Less";
|
|
23085
|
+
this.maxLines = undefined;
|
|
23086
|
+
this.expanded = false;
|
|
23087
|
+
this.fullText = '';
|
|
23088
|
+
this.truncated = false;
|
|
23089
|
+
}
|
|
23090
|
+
componentWillLoad() {
|
|
23091
|
+
requestAnimationFrame(() => {
|
|
23092
|
+
let slot = this.el.shadowRoot.querySelector('slot');
|
|
23093
|
+
this.processText(slot);
|
|
23094
|
+
});
|
|
23095
|
+
}
|
|
23096
|
+
slotChangeHandler(event) {
|
|
23097
|
+
const slot = event.target;
|
|
23098
|
+
this.processText(slot);
|
|
23099
|
+
}
|
|
23100
|
+
processText(slot) {
|
|
23101
|
+
if (slot) {
|
|
23102
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
23103
|
+
this.fullText = nodes
|
|
23104
|
+
.map(node => node.textContent)
|
|
23105
|
+
.join('')
|
|
23106
|
+
.trim();
|
|
23107
|
+
if (this.maxLines) {
|
|
23108
|
+
this.truncateByLines();
|
|
23109
|
+
}
|
|
23110
|
+
else if (this.fullText.length > this.maxCharacters) {
|
|
23111
|
+
this.truncated = true;
|
|
23112
|
+
}
|
|
23113
|
+
}
|
|
23114
|
+
this.displayText.emit(this.truncated);
|
|
23115
|
+
}
|
|
23116
|
+
truncateByLines() {
|
|
23117
|
+
const paragraph = document.createElement('p');
|
|
23118
|
+
paragraph.style.visibility = 'hidden';
|
|
23119
|
+
paragraph.style.position = 'fixed';
|
|
23120
|
+
paragraph.innerText = this.fullText;
|
|
23121
|
+
document.body.appendChild(paragraph);
|
|
23122
|
+
const lineHeight = parseInt(window.getComputedStyle(paragraph).lineHeight, 10);
|
|
23123
|
+
const maxHeight = lineHeight * this.maxLines;
|
|
23124
|
+
paragraph.style.maxHeight = `${maxHeight}px`;
|
|
23125
|
+
paragraph.style.overflow = 'hidden';
|
|
23126
|
+
if (paragraph.scrollHeight > maxHeight) {
|
|
23127
|
+
this.truncated = true;
|
|
23128
|
+
}
|
|
23129
|
+
document.body.removeChild(paragraph);
|
|
23130
|
+
}
|
|
23131
|
+
getContent() {
|
|
23132
|
+
if (this.expanded) {
|
|
23133
|
+
return this.fullText;
|
|
23134
|
+
}
|
|
23135
|
+
else if (this.maxLines) {
|
|
23136
|
+
const paragraph = document.createElement('p');
|
|
23137
|
+
paragraph.style.visibility = 'hidden';
|
|
23138
|
+
paragraph.style.position = 'fixed';
|
|
23139
|
+
paragraph.innerText = this.fullText;
|
|
23140
|
+
document.body.appendChild(paragraph);
|
|
23141
|
+
const lineHeight = parseInt(window.getComputedStyle(paragraph).lineHeight, 10);
|
|
23142
|
+
const maxHeight = lineHeight * this.maxLines;
|
|
23143
|
+
console.log("lineHeight: " + lineHeight);
|
|
23144
|
+
paragraph.style.maxHeight = `${maxHeight}px`;
|
|
23145
|
+
paragraph.style.overflow = 'hidden';
|
|
23146
|
+
let truncatedText = '';
|
|
23147
|
+
for (let i = 0; i < this.fullText.length; i++) {
|
|
23148
|
+
paragraph.innerText = this.fullText.slice(0, i) + '...';
|
|
23149
|
+
if (paragraph.scrollHeight > maxHeight) {
|
|
23150
|
+
truncatedText = this.fullText.slice(0, i - 1) + '...';
|
|
23151
|
+
break;
|
|
23152
|
+
}
|
|
23153
|
+
}
|
|
23154
|
+
document.body.removeChild(paragraph);
|
|
23155
|
+
return truncatedText;
|
|
23156
|
+
}
|
|
23157
|
+
else {
|
|
23158
|
+
return this.fullText.substring(0, this.maxCharacters) + '...';
|
|
23159
|
+
}
|
|
23160
|
+
}
|
|
23161
|
+
getLabel() {
|
|
23162
|
+
return this.expanded ? this.readLessText : this.readMoreText;
|
|
23163
|
+
}
|
|
23164
|
+
toggleExpand() {
|
|
23165
|
+
this.expanded = !this.expanded;
|
|
23166
|
+
this.readMoreTrigger.emit(this.expanded);
|
|
23167
|
+
}
|
|
23168
|
+
render() {
|
|
23169
|
+
return (h$1(Host, null, h$1("p", { class: "description" }, this.truncated ? this.getContent() : h$1("slot", null)), this.truncated ?
|
|
23170
|
+
h$1("label", { class: "label", onClick: () => this.toggleExpand() }, this.getLabel())
|
|
23171
|
+
: null));
|
|
23172
|
+
}
|
|
23173
|
+
get el() { return this; }
|
|
23174
|
+
static get style() { return ptcReadmoreNewCss; }
|
|
23175
|
+
};
|
|
23176
|
+
|
|
23177
|
+
const ptcReadmoreV2Css = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:\"\";padding-left:var(--ptc-element-spacing-02)}";
|
|
23072
23178
|
|
|
23073
23179
|
const PtcReadmoreV2$1 = class extends HTMLElement$1 {
|
|
23074
23180
|
constructor() {
|
|
@@ -23130,6 +23236,109 @@ const PtcReadmoreV2$1 = class extends HTMLElement$1 {
|
|
|
23130
23236
|
static get style() { return ptcReadmoreV2Css; }
|
|
23131
23237
|
};
|
|
23132
23238
|
|
|
23239
|
+
const ptcReadmoreV3Css = ":host {\r\n display: block;\r\n\r\n .description{\r\n display: inline;\r\n }\r\n\r\n .label{\r\n cursor: pointer;\r\n color: var(--color-hyperlink);\r\n font-size: var(--ptc-font-size-small);\r\n font-weight: var(--ptc-font-weight-bold);\r\n text-decoration-line: underline;\r\n line-height: var(--ptc-line-height-densest);\r\n\r\n &::before{\r\n content: '';\r\n padding-left: 8px;\r\n }\r\n }\r\n}\r\n";
|
|
23240
|
+
|
|
23241
|
+
const PtcReadmoreV3$1 = class extends HTMLElement$1 {
|
|
23242
|
+
constructor() {
|
|
23243
|
+
super();
|
|
23244
|
+
this.__registerHost();
|
|
23245
|
+
this.__attachShadow();
|
|
23246
|
+
this.readMoreTrigger = createEvent(this, "readMoreTrigger", 7);
|
|
23247
|
+
this.displayText = createEvent(this, "displayText", 7);
|
|
23248
|
+
this.maxCharacters = 100;
|
|
23249
|
+
this.readMoreText = 'Read More';
|
|
23250
|
+
this.readLessText = 'Read Less';
|
|
23251
|
+
this.maxLines = undefined;
|
|
23252
|
+
this.expanded = false;
|
|
23253
|
+
this.fullText = '';
|
|
23254
|
+
this.truncated = false;
|
|
23255
|
+
}
|
|
23256
|
+
componentWillLoad() {
|
|
23257
|
+
requestAnimationFrame(() => {
|
|
23258
|
+
let slot = this.el.shadowRoot.querySelector('slot');
|
|
23259
|
+
this.processText(slot);
|
|
23260
|
+
});
|
|
23261
|
+
}
|
|
23262
|
+
slotChangeHandler(event) {
|
|
23263
|
+
const slot = event.target;
|
|
23264
|
+
this.processText(slot);
|
|
23265
|
+
}
|
|
23266
|
+
processText(slot) {
|
|
23267
|
+
if (slot) {
|
|
23268
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
23269
|
+
this.fullText = nodes
|
|
23270
|
+
.map(node => node.textContent)
|
|
23271
|
+
.join('')
|
|
23272
|
+
.trim();
|
|
23273
|
+
if (this.maxLines) {
|
|
23274
|
+
this.truncateByLines();
|
|
23275
|
+
}
|
|
23276
|
+
else if (this.fullText.length > this.maxCharacters) {
|
|
23277
|
+
this.truncated = true;
|
|
23278
|
+
}
|
|
23279
|
+
}
|
|
23280
|
+
this.displayText.emit(this.truncated);
|
|
23281
|
+
}
|
|
23282
|
+
truncateByLines() {
|
|
23283
|
+
const paragraph = document.createElement('p');
|
|
23284
|
+
paragraph.style.visibility = 'hidden';
|
|
23285
|
+
paragraph.style.position = 'fixed';
|
|
23286
|
+
paragraph.innerText = this.fullText;
|
|
23287
|
+
document.body.appendChild(paragraph);
|
|
23288
|
+
const lineHeight = parseFloat(window.getComputedStyle(paragraph).lineHeight);
|
|
23289
|
+
console.log('lineHeight: ' + lineHeight);
|
|
23290
|
+
const maxHeight = lineHeight * this.maxLines;
|
|
23291
|
+
paragraph.style.maxHeight = `${maxHeight}px`;
|
|
23292
|
+
paragraph.style.overflow = 'hidden';
|
|
23293
|
+
if (paragraph.scrollHeight > maxHeight) {
|
|
23294
|
+
this.truncated = true;
|
|
23295
|
+
}
|
|
23296
|
+
document.body.removeChild(paragraph);
|
|
23297
|
+
}
|
|
23298
|
+
getContent() {
|
|
23299
|
+
if (this.expanded) {
|
|
23300
|
+
return this.fullText;
|
|
23301
|
+
}
|
|
23302
|
+
else if (this.maxLines) {
|
|
23303
|
+
const paragraph = document.createElement('p');
|
|
23304
|
+
paragraph.style.visibility = 'hidden';
|
|
23305
|
+
paragraph.style.position = 'fixed';
|
|
23306
|
+
paragraph.innerText = this.fullText;
|
|
23307
|
+
document.body.appendChild(paragraph);
|
|
23308
|
+
const lineHeight = parseFloat(window.getComputedStyle(paragraph).lineHeight);
|
|
23309
|
+
const maxHeight = lineHeight * this.maxLines;
|
|
23310
|
+
console.log('lineHeight: ' + lineHeight);
|
|
23311
|
+
paragraph.style.maxHeight = `${maxHeight}px`;
|
|
23312
|
+
paragraph.style.overflow = 'hidden';
|
|
23313
|
+
let truncatedText = '';
|
|
23314
|
+
for (let i = 0; i < this.fullText.length; i++) {
|
|
23315
|
+
paragraph.innerText = this.fullText.slice(0, i) + '...';
|
|
23316
|
+
if (paragraph.scrollHeight > maxHeight) {
|
|
23317
|
+
truncatedText = this.fullText.slice(0, i - 1) + '...';
|
|
23318
|
+
break;
|
|
23319
|
+
}
|
|
23320
|
+
}
|
|
23321
|
+
document.body.removeChild(paragraph);
|
|
23322
|
+
return truncatedText;
|
|
23323
|
+
}
|
|
23324
|
+
else {
|
|
23325
|
+
return this.fullText.substring(0, this.maxCharacters) + '...';
|
|
23326
|
+
}
|
|
23327
|
+
}
|
|
23328
|
+
getLabel() {
|
|
23329
|
+
return this.expanded ? this.readLessText : this.readMoreText;
|
|
23330
|
+
}
|
|
23331
|
+
toggleExpand() {
|
|
23332
|
+
this.expanded = !this.expanded;
|
|
23333
|
+
this.readMoreTrigger.emit(this.expanded);
|
|
23334
|
+
}
|
|
23335
|
+
render() {
|
|
23336
|
+
return (h$1(Host, null, h$1("p", { class: "description" }, this.truncated ? this.getContent() : h$1("slot", null)), this.truncated ? (h$1("label", { class: "label", onClick: () => this.toggleExpand() }, this.getLabel())) : null));
|
|
23337
|
+
}
|
|
23338
|
+
get el() { return this; }
|
|
23339
|
+
static get style() { return ptcReadmoreV3Css; }
|
|
23340
|
+
};
|
|
23341
|
+
|
|
23133
23342
|
const ptcRelatedCardRailCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;}:host .card-rail-container{position:fixed;bottom:132px;left:24px;width:calc(100vw - 48px);background:white;border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-small);box-sizing:border-box;z-index:50}:host .card-rail-header{display:flex;justify-content:space-between;border-bottom:var(--color-gray-02) solid 1px}:host .card-rail-heading{margin:12px 0 12px 16px}:host .card-rail-close{padding:15px;cursor:pointer}:host .card-rail-content{display:flex;align-items:center}:host .card-rail-content icon-asset{position:absolute;z-index:55px;padding:13px;}:host .card-rail-content icon-asset#left-arrow{left:3px;cursor:pointer}:host .card-rail-content icon-asset#right-arrow{right:3px;cursor:pointer}:host .card-rail-content .content-container{margin:24px 50px 24px 50px;display:flex;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;}:host .card-rail-content .content-container::-webkit-scrollbar{display:none}:host .card-rail-content .content-container .content{width:100%;flex:1 0 100%;display:flex}:host .card-rail-content .content-container .content:hover{cursor:pointer}:host .card-rail-content .content-container .content .content-image{width:130px;height:73px;text-align:center}:host .card-rail-content .content-container .content .content-image img{width:100%;height:100%;object-fit:cover}:host .card-rail-content .content-container .content .content-text{flex:1;padding-left:12px}@media only screen and (min-width: 768px){:host .card-rail-container .card-rail-content icon-asset#left-arrow{left:11px}:host .card-rail-container .card-rail-content icon-asset#right-arrow{right:11px}:host .card-rail-container .card-rail-content .content-container{margin:24px 66px 24px 66px;}:host .card-rail-container .card-rail-content .content-container .content{flex:1 0 50%}:host .card-rail-container .card-rail-content .content-container .content .content-text{padding-right:16px}}@media only screen and (min-width: 992px){:host .card-rail-container .card-rail-content icon-asset#left-arrow{left:19px;}:host .card-rail-container .card-rail-content icon-asset#right-arrow{right:19px}:host .card-rail-container .card-rail-content .content-container{margin:24px 82px 24px 82px;}}@media only screen and (min-width: 1200px){:host .card-rail-container{left:134px;width:calc(100vw - 268px)}}@media only screen and (min-width: 1440px){:host .card-rail-container{left:32px;width:932px}}@media only screen and (min-width: 1600px){:host .card-rail-container{left:32px;width:1328px}:host .card-rail-container .card-rail-content .content-container .content{flex:1 0 33.33%}}";
|
|
23134
23343
|
|
|
23135
23344
|
const PtcRelatedCardRail$1 = class extends HTMLElement$1 {
|
|
@@ -30003,7 +30212,7 @@ const PtcInlineCta = /*@__PURE__*/proxyCustomElement(PtcInlineCta$1, [1,"ptc-inl
|
|
|
30003
30212
|
const PtcJumbotron = /*@__PURE__*/proxyCustomElement(PtcJumbotron$1, [1,"ptc-jumbotron",{"jumbotronType":[1,"jumbotron-type"],"hasPopupVideo":[4,"has-popup-video"],"mainTitle":[1,"main-title"],"subTitle":[1,"sub-title"],"pngSrc":[1,"png-src"],"pngImgStyles":[1,"png-img-styles"],"gifSrc":[1,"gif-src"],"bgVideoSrc":[1,"bg-video-src"],"bgSrc":[1,"bg-src"],"isIframe":[4,"is-iframe"],"isHomepage":[4,"is-homepage"],"playButtonTitle":[1,"play-button-title"],"pauseButtonTitle":[1,"pause-button-title"],"buttonLocation":[1,"button-location"],"buttonTabIndex":[4,"button-tab-index"],"isTransitioning":[4,"is-transitioning"],"blogAuthorImage":[1,"blog-author-image"],"blogAuthorImageAlt":[1,"blog-author-image-alt"],"blogAuthorName":[1,"blog-author-name"],"blogAuthorQueryHref":[1,"blog-author-query-href"],"blogAuthorQueryTarget":[1,"blog-author-query-target"],"styles":[1],"hasCtaSlot":[1028,"has-cta-slot"],"contentBackground":[32],"contentColor":[32],"textAlign":[32],"isMobile":[32]},[[9,"resize","handleResize"]]]);
|
|
30004
30213
|
const PtcLink = /*@__PURE__*/proxyCustomElement(PtcLink$1, [1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"linkArea":[1,"link-area"],"seoCompatibilityMode":[4,"seo-compatibility-mode"],"styles":[1],"trackerId":[1,"tracker-id"]}]);
|
|
30005
30214
|
const PtcList = /*@__PURE__*/proxyCustomElement(PtcList$1, [1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]);
|
|
30006
|
-
const PtcMediaCard = /*@__PURE__*/proxyCustomElement(PtcMediaCard$1, [1,"ptc-media-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"activeBackgroundImage":[1025,"active-background-image"],"hoverBackgroundImage":[1025,"hover-background-image"],"heading":[1025],"headingTransform":[1025,"heading-transform"],"category":[1025],"ariaLabel":[1,"aria-label"],"iconImage":[1025,"icon-image"],"trackerId":[1,"tracker-id"],"isHovered":[32]}]);
|
|
30215
|
+
const PtcMediaCard = /*@__PURE__*/proxyCustomElement(PtcMediaCard$1, [1,"ptc-media-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"activeBackgroundImage":[1025,"active-background-image"],"activeBackgroundImageAlt":[1025,"active-background-image-alt"],"hoverBackgroundImage":[1025,"hover-background-image"],"heading":[1025],"headingTransform":[1025,"heading-transform"],"category":[1025],"ariaLabel":[1,"aria-label"],"iconImage":[1025,"icon-image"],"iconImageAlt":[1025,"icon-image-alt"],"trackerId":[1,"tracker-id"],"isHovered":[32]}]);
|
|
30007
30216
|
const PtcMinimizedNav = /*@__PURE__*/proxyCustomElement(PtcMinimizedNav$1, [1,"ptc-minimized-nav",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"navType":[1,"nav-type"]}]);
|
|
30008
30217
|
const PtcMobileSelect = /*@__PURE__*/proxyCustomElement(PtcMobileSelect$1, [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"],"notFoundPopupProceedButton":[8,"not-found-popup-proceed-button"]}]);
|
|
30009
30218
|
const PtcModal = /*@__PURE__*/proxyCustomElement(PtcModal$1, [1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"customClass":[1025,"custom-class"],"show":[1028],"overlay":[1028],"fixed":[1028],"keepInViewport":[1028,"keep-in-viewport"],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"hideContainer":[1028,"hide-container"],"showHeaderFooter":[1028,"show-header-footer"],"borderRadius":[1025,"border-radius"],"isBioModal":[1028,"is-bio-modal"],"styles":[1],"overlayHeight":[32],"bodyOverflowSetting":[32]}]);
|
|
@@ -30043,7 +30252,9 @@ const PtcQuantityCounter = /*@__PURE__*/proxyCustomElement(PtcQuantityCounter$1,
|
|
|
30043
30252
|
const PtcQuote = /*@__PURE__*/proxyCustomElement(PtcQuote$1, [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"],"quoteImage":[1,"quote-image"]}]);
|
|
30044
30253
|
const PtcReadmore = /*@__PURE__*/proxyCustomElement(PtcReadmore$1, [1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1]},[[9,"resize","updateReadmoreStatus"]]]);
|
|
30045
30254
|
const PtcReadmoreChar = /*@__PURE__*/proxyCustomElement(PtcReadmoreChar$1, [1,"ptc-readmore-char",{"maxCharacters":[2,"max-characters"],"description":[1],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"expanded":[32]}]);
|
|
30255
|
+
const PtcReadmoreNew = /*@__PURE__*/proxyCustomElement(PtcReadmoreNew$1, [1,"ptc-readmore-new",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]);
|
|
30046
30256
|
const PtcReadmoreV2 = /*@__PURE__*/proxyCustomElement(PtcReadmoreV2$1, [1,"ptc-readmore-v2",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"truncated":[32],"expanded":[32],"fullText":[32],"displayText":[32]},[[0,"slotchange","slotChangeHandler"]]]);
|
|
30257
|
+
const PtcReadmoreV3 = /*@__PURE__*/proxyCustomElement(PtcReadmoreV3$1, [1,"ptc-readmore-v3",{"maxCharacters":[2,"max-characters"],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"maxLines":[2,"max-lines"],"expanded":[32],"fullText":[32],"truncated":[32]},[[0,"slotchange","slotChangeHandler"]]]);
|
|
30047
30258
|
const PtcRelatedCardRail = /*@__PURE__*/proxyCustomElement(PtcRelatedCardRail$1, [1,"ptc-related-card-rail",{"footerQuerySelector":[1,"footer-query-selector"],"closed":[32],"cardInView":[32],"data":[32],"screenBasedProps":[32]}]);
|
|
30048
30259
|
const PtcResponsiveWrapper = /*@__PURE__*/proxyCustomElement(PtcResponsiveWrapper$1, [1,"ptc-responsive-wrapper"]);
|
|
30049
30260
|
const PtcSearchField = /*@__PURE__*/proxyCustomElement(PtcSearchField$1, [1,"ptc-search-field",{"textValue":[1,"text-value"],"placeholderLabel":[1,"placeholder-label"],"darkTheme":[4,"dark-theme"],"isNews":[4,"is-news"],"elevation":[1],"enableClear":[4,"enable-clear"],"styles":[1]}]);
|
|
@@ -30210,7 +30421,9 @@ const defineCustomElements = (opts) => {
|
|
|
30210
30421
|
PtcQuote,
|
|
30211
30422
|
PtcReadmore,
|
|
30212
30423
|
PtcReadmoreChar,
|
|
30424
|
+
PtcReadmoreNew,
|
|
30213
30425
|
PtcReadmoreV2,
|
|
30426
|
+
PtcReadmoreV3,
|
|
30214
30427
|
PtcRelatedCardRail,
|
|
30215
30428
|
PtcResponsiveWrapper,
|
|
30216
30429
|
PtcSearchField,
|
|
@@ -30265,4 +30478,4 @@ const defineCustomElements = (opts) => {
|
|
|
30265
30478
|
}
|
|
30266
30479
|
};
|
|
30267
30480
|
|
|
30268
|
-
export { AcademicFormTest, AuthorListingExample, BlogDetailContent, BlogDetailLayout, BlogsSearchSection, BundleExample, BundleJumbotronExample, DropdownItem, DynamicBoxBundle, EmbeddedForm, FeaturedList, FlTabContent, FlTabHeader, FlTabImage, FooterForm, HomepageClickableTab, HomepageJumbotron, HomepageToggledContent, IconAsset, InnovatorToggleContainer, JumbotronSubMenu, JumbotronSubMune, ListItem, MaxWidthContainer, MostPopularNews, MyComponent, NewsSearchResult, PtcAccordion, PtcAccordionItem, PtcAnnouncement, PtcBackToTop, PtcBackgroundVideo, PtcBadge, PtcBioCard, PtcBreadcrumb, PtcBrightcovVideo, PtcButton, PtcCard, PtcCardBottom, PtcCardContent, PtcCardWrapper, PtcCaseStudiesSlider, PtcCheckbox, PtcCheckboxGroup, PtcCloseIcon, PtcCollapseList, PtcContainer, PtcDataLookup, PtcDate, PtcDropdown, PtcDynamicCard, PtcEllipsisDropdown, PtcEmbeddedQuiz, PtcFeaturedList, PtcFilterDropdown, PtcFilterLevelTheater, PtcFilterTag, PtcFooter, PtcForm, PtcFormCheckbox, PtcFormRadioButton, PtcFormRadioGroup, PtcHero, PtcHeroFooterCta, PtcHomepageImageFeature, PtcHomepageVideoBackground, PtcIconCard, PtcIconComponent, PtcIconList, PtcIconMinimize, PtcImageDownloadStrip, PtcImg, PtcInfoTile, PtcInlineCta, PtcJumbotron, PtcLink, PtcList, PtcMediaCard, PtcMinimizedNav, PtcMobileSelect, PtcModal, PtcModalQuiz, PtcMultiSelect, PtcNavCard, PtcNavLink, PtcNavPills, PtcNavSkipToContent, PtcNavSlider, PtcNavSubmenu, PtcNavTile, PtcNews, PtcOfficeLocationCard, PtcOfficeLocations, PtcOverlay, PtcPagenation, PtcPara, PtcPicture, PtcPodcastCard, PtcPreferanceCenterForm, PtcPreloaderSection, PtcPreviousUrl, PtcPricingAddOnCard, PtcPricingAddOnSection, PtcPricingBlock, PtcPricingPackagingTable, PtcPricingTabs, PtcProductCard, PtcProductCategory, PtcProductDropdown, PtcProductHighlightCard, PtcProductList, PtcProductSidebar, PtcProgressBar, PtcQuantityCounter, PtcQuote, PtcReadmore, PtcReadmoreChar, PtcReadmoreV2, PtcRelatedCardRail, PtcResponsiveWrapper, PtcSearchField, PtcSelect, PtcSeoTitle, PtcShoppingCart, PtcShowcaseCard, PtcSkeleton, PtcSlitCard, PtcSocialIcons, PtcSocialIconsFooter, PtcSocialShare, PtcSpacer, PtcSpan, PtcSquareCard, PtcStickyIcons, PtcStickySection, PtcStickyTitle, PtcSubnav, PtcSubnavCard, PtcSvgBtn, PtcTab, PtcTabList, PtcTabs, PtcTextCopyWithBackground, PtcTextfield, PtcTheaterVideo, PtcTheaterVideoModal, PtcTheaterVideoPlaylist, PtcTitle, PtcTooltip, PtcTooltipV2, PtcTooltipV3, PtcTwoColumnMedia, PtcValueLedCard, PtcValueLedContent, PtcValueLedContentHighlight, PtcValueLedIntro, PtcValueLedLayout, PtcValueLedSpeedBump, PtcValuePropCard, PtcWhitePaper, SequentialBundle, SequentialBundleExample, TabContent, TabHeader, defineCustomElements };
|
|
30481
|
+
export { AcademicFormTest, AuthorListingExample, BlogDetailContent, BlogDetailLayout, BlogsSearchSection, BundleExample, BundleJumbotronExample, DropdownItem, DynamicBoxBundle, EmbeddedForm, FeaturedList, FlTabContent, FlTabHeader, FlTabImage, FooterForm, HomepageClickableTab, HomepageJumbotron, HomepageToggledContent, IconAsset, InnovatorToggleContainer, JumbotronSubMenu, JumbotronSubMune, ListItem, MaxWidthContainer, MostPopularNews, MyComponent, NewsSearchResult, PtcAccordion, PtcAccordionItem, PtcAnnouncement, PtcBackToTop, PtcBackgroundVideo, PtcBadge, PtcBioCard, PtcBreadcrumb, PtcBrightcovVideo, PtcButton, PtcCard, PtcCardBottom, PtcCardContent, PtcCardWrapper, PtcCaseStudiesSlider, PtcCheckbox, PtcCheckboxGroup, PtcCloseIcon, PtcCollapseList, PtcContainer, PtcDataLookup, PtcDate, PtcDropdown, PtcDynamicCard, PtcEllipsisDropdown, PtcEmbeddedQuiz, PtcFeaturedList, PtcFilterDropdown, PtcFilterLevelTheater, PtcFilterTag, PtcFooter, PtcForm, PtcFormCheckbox, PtcFormRadioButton, PtcFormRadioGroup, PtcHero, PtcHeroFooterCta, PtcHomepageImageFeature, PtcHomepageVideoBackground, PtcIconCard, PtcIconComponent, PtcIconList, PtcIconMinimize, PtcImageDownloadStrip, PtcImg, PtcInfoTile, PtcInlineCta, PtcJumbotron, PtcLink, PtcList, PtcMediaCard, PtcMinimizedNav, PtcMobileSelect, PtcModal, PtcModalQuiz, PtcMultiSelect, PtcNavCard, PtcNavLink, PtcNavPills, PtcNavSkipToContent, PtcNavSlider, PtcNavSubmenu, PtcNavTile, PtcNews, PtcOfficeLocationCard, PtcOfficeLocations, PtcOverlay, PtcPagenation, PtcPara, PtcPicture, PtcPodcastCard, PtcPreferanceCenterForm, PtcPreloaderSection, PtcPreviousUrl, PtcPricingAddOnCard, PtcPricingAddOnSection, PtcPricingBlock, PtcPricingPackagingTable, PtcPricingTabs, PtcProductCard, PtcProductCategory, PtcProductDropdown, PtcProductHighlightCard, PtcProductList, PtcProductSidebar, PtcProgressBar, PtcQuantityCounter, PtcQuote, PtcReadmore, PtcReadmoreChar, PtcReadmoreNew, PtcReadmoreV2, PtcReadmoreV3, PtcRelatedCardRail, PtcResponsiveWrapper, PtcSearchField, PtcSelect, PtcSeoTitle, PtcShoppingCart, PtcShowcaseCard, PtcSkeleton, PtcSlitCard, PtcSocialIcons, PtcSocialIconsFooter, PtcSocialShare, PtcSpacer, PtcSpan, PtcSquareCard, PtcStickyIcons, PtcStickySection, PtcStickyTitle, PtcSubnav, PtcSubnavCard, PtcSvgBtn, PtcTab, PtcTabList, PtcTabs, PtcTextCopyWithBackground, PtcTextfield, PtcTheaterVideo, PtcTheaterVideoModal, PtcTheaterVideoPlaylist, PtcTitle, PtcTooltip, PtcTooltipV2, PtcTooltipV3, PtcTwoColumnMedia, PtcValueLedCard, PtcValueLedContent, PtcValueLedContentHighlight, PtcValueLedIntro, PtcValueLedLayout, PtcValueLedSpeedBump, PtcValuePropCard, PtcWhitePaper, SequentialBundle, SequentialBundleExample, TabContent, TabHeader, defineCustomElements };
|
|
@@ -191,7 +191,7 @@ const BlogDetailContent = class {
|
|
|
191
191
|
};
|
|
192
192
|
BlogDetailContent.style = blogDetailContentCss;
|
|
193
193
|
|
|
194
|
-
const ptcReadmoreV2Css = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:\"\";padding-left:
|
|
194
|
+
const ptcReadmoreV2Css = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:\"\";padding-left:var(--ptc-element-spacing-02)}";
|
|
195
195
|
|
|
196
196
|
const PtcReadmoreV2 = class {
|
|
197
197
|
constructor(hostRef) {
|