@ptcwebops/ptcw-design 5.0.7 → 5.0.9

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.
Files changed (66) hide show
  1. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +2 -2
  2. package/dist/cjs/homepage-jumbotron.cjs.entry.js +2 -2
  3. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-icon-card.cjs.entry.js +3 -2
  9. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-media-card.cjs.entry.js +3 -2
  12. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
  13. package/dist/cjs/ptcw-design.cjs.js +1 -1
  14. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +14 -16
  15. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +1 -1
  16. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +2 -1
  17. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +1 -0
  18. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +2 -2
  19. package/dist/collection/components/ptc-background-video/ptc-background-video.js +1 -1
  20. package/dist/collection/components/ptc-button/ptc-button.css +4 -0
  21. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +4 -0
  22. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +3 -0
  23. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +19 -1
  24. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +4 -1
  25. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -1
  26. package/dist/collection/components/ptc-media-card/ptc-media-card.css +3 -0
  27. package/dist/collection/components/ptc-media-card/ptc-media-card.js +19 -1
  28. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +1 -1
  29. package/dist/custom-elements/index.js +19 -17
  30. package/dist/esm/homepage-clickable-tab.entry.js +2 -2
  31. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  32. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  33. package/dist/esm/loader.js +1 -1
  34. package/dist/esm/ptc-background-video.entry.js +1 -1
  35. package/dist/esm/ptc-button.entry.js +1 -1
  36. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  37. package/dist/esm/ptc-icon-card.entry.js +3 -2
  38. package/dist/esm/ptc-info-tile.entry.js +1 -1
  39. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  40. package/dist/esm/ptc-media-card.entry.js +3 -2
  41. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  42. package/dist/esm/ptcw-design.js +1 -1
  43. package/dist/ptcw-design/{p-04435c90.entry.js → p-002660d2.entry.js} +1 -1
  44. package/dist/ptcw-design/{p-a980b95c.entry.js → p-5b90e743.entry.js} +1 -1
  45. package/dist/ptcw-design/{p-66278b8f.entry.js → p-690f8f51.entry.js} +1 -1
  46. package/dist/ptcw-design/p-7521e61d.entry.js +1 -0
  47. package/dist/ptcw-design/p-8c2ef359.entry.js +1 -0
  48. package/dist/ptcw-design/p-a11cc4ef.entry.js +1 -0
  49. package/dist/ptcw-design/p-b0316b10.entry.js +1 -0
  50. package/dist/ptcw-design/p-d21f5850.entry.js +1 -0
  51. package/dist/ptcw-design/p-d9517457.entry.js +1 -0
  52. package/dist/ptcw-design/{p-4f0ebaa3.entry.js → p-f338be91.entry.js} +1 -1
  53. package/dist/ptcw-design/p-f65792ee.entry.js +1 -0
  54. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  55. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +1 -0
  56. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +4 -0
  57. package/dist/types/components.d.ts +10 -0
  58. package/package.json +1 -1
  59. package/readme.md +1 -1
  60. package/dist/ptcw-design/p-875146cd.entry.js +0 -1
  61. package/dist/ptcw-design/p-93916048.entry.js +0 -1
  62. package/dist/ptcw-design/p-9d25dba7.entry.js +0 -1
  63. package/dist/ptcw-design/p-b256aab2.entry.js +0 -1
  64. package/dist/ptcw-design/p-bc73f9e9.entry.js +0 -1
  65. package/dist/ptcw-design/p-d0e8fc5b.entry.js +0 -1
  66. package/dist/ptcw-design/p-fc7e1b55.entry.js +0 -1
@@ -6,7 +6,7 @@ export class HomepageJumbotron {
6
6
  constructor() {
7
7
  this.tileCount = 0;
8
8
  this.bgVideoSrc = '';
9
- this.bgSrc = 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80';
9
+ this.bgSrc = '';
10
10
  this.jumbotron = 'dark';
11
11
  this.isIframe = false;
12
12
  this.playBtnText = 'play';
@@ -153,7 +153,7 @@ export class HomepageJumbotron {
153
153
  },
154
154
  "attribute": "bg-src",
155
155
  "reflect": false,
156
- "defaultValue": "'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80'"
156
+ "defaultValue": "''"
157
157
  },
158
158
  "jumbotron": {
159
159
  "type": "string",
@@ -41,7 +41,7 @@ export class PtcBackgroundVideo {
41
41
  }
42
42
  render() {
43
43
  const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
44
- return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", Object.assign({ class: `play-button ${this.buttonLocation}` }, (this.buttonTabIndex ? { tabindex: 0 } : { tabindex: -1 })), this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }", "aria-label": "Video Play button" }, h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" }, h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h("slot", null) : ''));
44
+ return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("ptc-button", { type: "button", color: "icon-toggle", tabNav: 0, onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }", "aria-label": "Video Play button" }, h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" }, h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h("slot", null) : ''));
45
45
  }
46
46
  toggleVideoPlay(e) {
47
47
  e.preventDefault();
@@ -459,6 +459,10 @@ a.center {
459
459
  .ptc-tertiary ::slotted([slot=slot-after-text]) {
460
460
  fill: var(--color-gray-10) !important;
461
461
  }
462
+ .ptc-tertiary ::slotted(a) {
463
+ color: var(--color-gray-10) !important;
464
+ text-decoration-line: none !important;
465
+ }
462
466
 
463
467
  .ptc-quaternary {
464
468
  background: var(--color-green-07);
@@ -282,7 +282,11 @@ ptc-link, ptc-square-card,
282
282
  }
283
283
  .card-links .card-section .card-link .bgb {
284
284
  background: linear-gradient(85deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 100.13%);
285
+ backdrop-filter: saturate(180%) blur(20px);
286
+ transition-property: background, backdrop-filter;
287
+ transition: background 0.24s cubic-bezier(0.28, 0.11, 0.32, 1);
285
288
  opacity: 1;
289
+ box-sizing: border-box;
286
290
  }
287
291
  .card-links .card-section .card-link .bgh {
288
292
  background: linear-gradient(85deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.17) 100.13%);
@@ -58,6 +58,9 @@ ptc-link, ptc-square-card,
58
58
  display: block;
59
59
  height: 100%;
60
60
  }
61
+ :host .tracker-div {
62
+ display: inline;
63
+ }
61
64
  @supports (hyphenate-limit-chars: 10 3 3) {
62
65
  :host {
63
66
  hyphenate-limit-chars: 10 4 4;
@@ -3,9 +3,10 @@ export class PtcIconCard {
3
3
  constructor() {
4
4
  this.cardHref = undefined;
5
5
  this.target = undefined;
6
+ this.trackerId = undefined;
6
7
  }
7
8
  render() {
8
- return (h(Host, null, h("a", { href: this.cardHref, target: this.target }, h("div", null, h("span", { class: 'card-icon' }, h("slot", null)), h("div", { class: 'card-title' }, h("slot", { name: 'card-title' }))))));
9
+ return (h(Host, null, h("div", { id: this.trackerId, class: "tracker-div" }, h("a", { href: this.cardHref, target: this.target }, h("div", null, h("span", { class: 'card-icon' }, h("slot", null)), h("div", { class: 'card-title' }, h("slot", { name: 'card-title' })))))));
9
10
  }
10
11
  static get is() { return "ptc-icon-card"; }
11
12
  static get encapsulation() { return "shadow"; }
@@ -54,6 +55,23 @@ export class PtcIconCard {
54
55
  },
55
56
  "attribute": "target",
56
57
  "reflect": false
58
+ },
59
+ "trackerId": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "string",
64
+ "resolved": "string",
65
+ "references": {}
66
+ },
67
+ "required": false,
68
+ "optional": true,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": ""
72
+ },
73
+ "attribute": "tracker-id",
74
+ "reflect": false
57
75
  }
58
76
  };
59
77
  }
@@ -130,10 +130,13 @@ ptc-link, ptc-square-card,
130
130
  .tile.text:hover {
131
131
  border: 1px solid var(--color-gray-07);
132
132
  }
133
- .tile.text:focus, .tile.text:active {
133
+ .tile.text:active {
134
134
  background-color: var(--color-gray-01);
135
135
  border: 1px solid var(--color-gray-07);
136
136
  }
137
+ .tile.text:focus-visible {
138
+ outline-offset: -5px;
139
+ }
137
140
  @media only screen and (min-width: 992px) {
138
141
  .tile.text {
139
142
  width: auto;
@@ -57,7 +57,7 @@ export class PtcJumbotron {
57
57
  break;
58
58
  case 'dark-video':
59
59
  case 'light-video':
60
- mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
60
+ mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": "true" }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
61
61
  break;
62
62
  case 'dark':
63
63
  case 'light':
@@ -142,6 +142,9 @@ ptc-link, ptc-square-card,
142
142
  :host(.case-study-icon) ::slotted([slot=seo-content]) {
143
143
  display: none;
144
144
  }
145
+ :host(.case-study-icon) .tracker-div {
146
+ display: inline;
147
+ }
145
148
  :host(.case-study-icon) .case-study-img-anchor {
146
149
  position: relative;
147
150
  width: 296px;
@@ -17,6 +17,7 @@ export class PtcMediaCard {
17
17
  this.category = undefined;
18
18
  this.ariaLabel = undefined;
19
19
  this.iconImage = undefined;
20
+ this.trackerId = undefined;
20
21
  this.isHovered = false;
21
22
  }
22
23
  WatchStateHandler(newValue) {
@@ -49,7 +50,7 @@ export class PtcMediaCard {
49
50
  // : null)}
50
51
  style: this.cardType != "case-study-icon" ?
51
52
  ((this.isHovered && this.hoverBackgroundImage) ? { backgroundImage: `url(${this.hoverBackgroundImage})` } : { backgroundImage: `url(${this.activeBackgroundImage})` }) : {} }, h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ?
52
- (h(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("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("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("img", { class: "case-study-bg-img", src: this.activeBackgroundImage }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage })))
53
+ (h(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("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("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("img", { class: "case-study-bg-img", src: this.activeBackgroundImage }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage }))))
53
54
  : null));
54
55
  }
55
56
  getCssClassMap() {
@@ -262,6 +263,23 @@ export class PtcMediaCard {
262
263
  },
263
264
  "attribute": "icon-image",
264
265
  "reflect": false
266
+ },
267
+ "trackerId": {
268
+ "type": "string",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "string",
272
+ "resolved": "string",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": true,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "Tracker Id"
280
+ },
281
+ "attribute": "tracker-id",
282
+ "reflect": false
265
283
  }
266
284
  };
267
285
  }
@@ -42,7 +42,7 @@ export class PtcSocialIconsFooter {
42
42
  modal.show = true;
43
43
  }
44
44
  render() {
45
- return (h(Host, null, h("slot", null), h("ul", null, this.instagramUrl && h("li", null, " ", h("a", { href: this.instagramUrl, title: 'Instagram', innerHTML: this.instagramImageUrl == "" ? instagramSVG : "", target: this.target }, this.instagramImageUrl != "" && h("img", { src: this.instagramImageUrl, alt: this.instagramImageAlt })), " "), this.facebookUrl && h("li", null, " ", h("a", { href: this.facebookUrl, title: 'Facebook', innerHTML: this.facebookImageUrl == "" ? facebookSVG : "", target: this.target }, this.facebookImageUrl != "" && h("img", { src: this.facebookImageUrl, alt: this.facebookImageAlt })), " "), this.linkedinUrl && h("li", null, " ", h("a", { href: this.linkedinUrl, title: 'LinkedIn', innerHTML: this.linkedinImageUrl == "" ? linkedinSVG : "", target: this.target }, this.linkedinImageUrl != "" && h("img", { src: this.linkedinImageUrl, alt: this.linkedinImageAlt })), " "), this.xUrl && h("li", null, " ", h("a", { href: this.xUrl, title: 'X', innerHTML: this.xImageUrl == "" ? xSVG : "", target: this.target }, this.xImageUrl != "" && h("img", { src: this.xImageUrl, alt: this.xImageAlt })), " "), this.youtubeUrl && h("li", null, " ", h("a", { href: this.youtubeUrl, title: 'Youtube', innerHTML: this.youtubeImageUrl == "" ? youtubeSVG : "", target: this.target }, this.youtubeImageUrl != "" && h("img", { src: this.youtubeImageUrl, alt: this.youtubeImageAlt })), " "), this.weiboUrl && h("li", null, " ", h("a", { href: this.weiboUrl, title: 'Weibo', innerHTML: this.weiboImageUrl == "" ? weiboSVG : "", target: this.target }, this.weiboImageUrl != "" && h("img", { src: this.weiboImageUrl, alt: this.wechatQrImageAltText })), " "), this.youkuUrl && h("li", null, " ", h("a", { href: this.youkuUrl, title: 'Youku', innerHTML: this.youkuImageUrl == "" ? ykSVG : "", target: this.target }, this.youkuImageUrl != "" && h("img", { src: this.youkuImageUrl, alt: this.youkuImageAlt })), " "), this.wechatQrImageUrl && h("li", null, " ", h("a", { href: "#", onClick: (Event) => { this.openModal(Event); }, title: this.wechatImageAlt != "" ? this.wechatImageAlt : "WeChat", innerHTML: this.wechatImageUrl == "" ? wechatSVG : "" }, this.wechatImageUrl != "" && h("img", { src: this.wechatImageUrl, alt: this.wechatImageAlt })), " ")), h("ptc-modal", { id: "QRModal", show: false, size: "sm", "close-on-blur": true, fixed: true, styles: '.wrapper .modal-popup .modal-body { padding-bottom: 40px}' }, h("ptc-picture", { alt: this.wechatQrImageAltText, src: this.wechatQrImageUrl, "max-width": '250', "image-alignment": 'center', styles: 'img{margin:auto}' }))));
45
+ return (h(Host, null, h("slot", null), h("ul", null, this.instagramUrl && h("li", { id: "footerInstagramIconID" }, " ", h("a", { href: this.instagramUrl, title: 'Instagram', innerHTML: this.instagramImageUrl == "" ? instagramSVG : "", target: this.target }, this.instagramImageUrl != "" && h("img", { src: this.instagramImageUrl, alt: this.instagramImageAlt })), " "), this.facebookUrl && h("li", { id: "footerFacebookIconID" }, " ", h("a", { href: this.facebookUrl, title: 'Facebook', innerHTML: this.facebookImageUrl == "" ? facebookSVG : "", target: this.target }, this.facebookImageUrl != "" && h("img", { src: this.facebookImageUrl, alt: this.facebookImageAlt })), " "), this.linkedinUrl && h("li", { id: "footerLinkedInIconID" }, " ", h("a", { href: this.linkedinUrl, title: 'LinkedIn', innerHTML: this.linkedinImageUrl == "" ? linkedinSVG : "", target: this.target }, this.linkedinImageUrl != "" && h("img", { src: this.linkedinImageUrl, alt: this.linkedinImageAlt })), " "), this.xUrl && h("li", { id: "footerXIconID" }, " ", h("a", { href: this.xUrl, title: 'X', innerHTML: this.xImageUrl == "" ? xSVG : "", target: this.target }, this.xImageUrl != "" && h("img", { src: this.xImageUrl, alt: this.xImageAlt })), " "), this.youtubeUrl && h("li", { id: "footerYouTubeIconID" }, " ", h("a", { href: this.youtubeUrl, title: 'Youtube', innerHTML: this.youtubeImageUrl == "" ? youtubeSVG : "", target: this.target }, this.youtubeImageUrl != "" && h("img", { src: this.youtubeImageUrl, alt: this.youtubeImageAlt })), " "), this.weiboUrl && h("li", { id: "footerWeiboIconID" }, " ", h("a", { href: this.weiboUrl, title: 'Weibo', innerHTML: this.weiboImageUrl == "" ? weiboSVG : "", target: this.target }, this.weiboImageUrl != "" && h("img", { src: this.weiboImageUrl, alt: this.wechatQrImageAltText })), " "), this.youkuUrl && h("li", { id: "footerYouKuIconID" }, " ", h("a", { href: this.youkuUrl, title: 'Youku', innerHTML: this.youkuImageUrl == "" ? ykSVG : "", target: this.target }, this.youkuImageUrl != "" && h("img", { src: this.youkuImageUrl, alt: this.youkuImageAlt })), " "), this.wechatQrImageUrl && h("li", { id: "footerWeChatIconID" }, " ", h("a", { href: "#", onClick: (Event) => { this.openModal(Event); }, title: this.wechatImageAlt != "" ? this.wechatImageAlt : "WeChat", innerHTML: this.wechatImageUrl == "" ? wechatSVG : "" }, this.wechatImageUrl != "" && h("img", { src: this.wechatImageUrl, alt: this.wechatImageAlt })), " ")), h("ptc-modal", { id: "QRModal", show: false, size: "sm", "close-on-blur": true, fixed: true, styles: '.wrapper .modal-popup .modal-body { padding-bottom: 40px}' }, h("ptc-picture", { alt: this.wechatQrImageAltText, src: this.wechatQrImageUrl, "max-width": '250', "image-alignment": 'center', styles: 'img{margin:auto}' }))));
46
46
  }
47
47
  static get is() { return "ptc-social-icons-footer"; }
48
48
  static get encapsulation() { return "shadow"; }