@ptcwebops/ptcw-design 6.0.7 → 6.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 (116) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
  4. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  5. package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset_13.cjs.entry.js +905 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/most-popular-news.cjs.entry.js +2 -14
  9. package/dist/cjs/my-component.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-accordion-item.cjs.entry.js +14 -5
  11. package/dist/cjs/ptc-background-video.cjs.entry.js +9 -1
  12. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-card_2.cjs.entry.js +44 -68
  14. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-link.cjs.entry.js +4 -2
  19. package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
  20. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  25. package/dist/cjs/ptcw-design.cjs.js +1 -1
  26. package/dist/cjs/{utils-290a8f9a.js → utils-67780697.js} +46 -0
  27. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +1 -13
  28. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +14 -5
  29. package/dist/collection/components/ptc-background-video/ptc-background-video.js +11 -2
  30. package/dist/collection/components/ptc-card/ptc-card.css +4 -4
  31. package/dist/collection/components/ptc-card/ptc-card.js +1 -0
  32. package/dist/collection/components/ptc-link/ptc-link.css +19 -2
  33. package/dist/collection/components/ptc-link/ptc-link.js +20 -0
  34. package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -1
  35. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +142 -0
  36. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +6 -0
  37. package/dist/collection/components/ptc-title/ptc-title.js +1 -1
  38. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +1 -0
  39. package/dist/collection/utils/utils.js +44 -0
  40. package/dist/custom-elements/index.js +83 -27
  41. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  42. package/dist/esm/blog-detail-layout.entry.js +1 -1
  43. package/dist/esm/blogs-search-section.entry.js +1 -1
  44. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  45. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  46. package/dist/esm/icon-asset_13.entry.js +889 -0
  47. package/dist/esm/loader.js +1 -1
  48. package/dist/esm/most-popular-news.entry.js +2 -14
  49. package/dist/esm/my-component.entry.js +1 -1
  50. package/dist/esm/ptc-accordion-item.entry.js +14 -5
  51. package/dist/esm/ptc-background-video.entry.js +9 -1
  52. package/dist/esm/ptc-button.entry.js +1 -1
  53. package/dist/esm/ptc-card_2.entry.js +45 -69
  54. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  55. package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
  56. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  57. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  58. package/dist/esm/ptc-link.entry.js +4 -2
  59. package/dist/esm/ptc-media-card.entry.js +2 -2
  60. package/dist/esm/ptc-multi-select_2.entry.js +1 -1
  61. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  62. package/dist/esm/ptc-para.entry.js +1 -1
  63. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  64. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  65. package/dist/esm/ptcw-design.js +1 -1
  66. package/dist/esm/{utils-05c5b1ac.js → utils-7b5c29b1.js} +45 -1
  67. package/dist/ptcw-design/{p-c2a171a7.entry.js → p-16f983c4.entry.js} +1 -1
  68. package/dist/ptcw-design/{p-595d3ad5.entry.js → p-18e02494.entry.js} +1 -1
  69. package/dist/ptcw-design/{p-71feca68.entry.js → p-190c704d.entry.js} +1 -1
  70. package/dist/ptcw-design/p-24e452a1.entry.js +1 -0
  71. package/dist/ptcw-design/{p-11315f18.entry.js → p-2aec612d.entry.js} +1 -1
  72. package/dist/ptcw-design/p-53c64e3f.entry.js +1 -0
  73. package/dist/ptcw-design/{p-53cd14ba.entry.js → p-54fa12be.entry.js} +1 -1
  74. package/dist/ptcw-design/{p-50605d7c.entry.js → p-5fd77623.entry.js} +1 -1
  75. package/dist/ptcw-design/{p-eddff1f7.entry.js → p-6b746f9d.entry.js} +1 -1
  76. package/dist/ptcw-design/p-6d684d90.entry.js +1 -0
  77. package/dist/ptcw-design/p-70104bf5.entry.js +1 -0
  78. package/dist/ptcw-design/{p-149d27a6.entry.js → p-71c6b528.entry.js} +1 -1
  79. package/dist/ptcw-design/{p-8039fa0d.entry.js → p-769aa1c3.entry.js} +1 -1
  80. package/dist/ptcw-design/{p-4ddea466.entry.js → p-7792cf79.entry.js} +1 -1
  81. package/dist/ptcw-design/{p-1e9f07cf.js → p-78a23ab3.js} +1 -1
  82. package/dist/ptcw-design/p-794928df.entry.js +1 -0
  83. package/dist/ptcw-design/p-7b0da78a.entry.js +1 -0
  84. package/dist/ptcw-design/{p-93e6395f.entry.js → p-91b73561.entry.js} +1 -1
  85. package/dist/ptcw-design/{p-4f6c9992.entry.js → p-9db0897a.entry.js} +1 -1
  86. package/dist/ptcw-design/{p-3f3713cd.entry.js → p-9fad6b65.entry.js} +1 -1
  87. package/dist/ptcw-design/p-b54baa2a.entry.js +1 -0
  88. package/dist/ptcw-design/{p-3b93096b.entry.js → p-c5d050dd.entry.js} +1 -1
  89. package/dist/ptcw-design/{p-7698c568.entry.js → p-c792e926.entry.js} +1 -1
  90. package/dist/ptcw-design/{p-3e90100b.entry.js → p-f8af6267.entry.js} +1 -1
  91. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  92. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -0
  93. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +2 -0
  94. package/dist/types/components/ptc-link/ptc-link.d.ts +4 -0
  95. package/dist/types/components.d.ts +8 -0
  96. package/dist/types/utils/utils.d.ts +2 -0
  97. package/package.json +1 -1
  98. package/readme.md +1 -1
  99. package/dist/cjs/icon-asset_10.cjs.entry.js +0 -739
  100. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  101. package/dist/cjs/ptc-date.cjs.entry.js +0 -61
  102. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  103. package/dist/esm/icon-asset_10.entry.js +0 -726
  104. package/dist/esm/max-width-container.entry.js +0 -50
  105. package/dist/esm/ptc-date.entry.js +0 -57
  106. package/dist/esm/ptc-spacer.entry.js +0 -34
  107. package/dist/ptcw-design/p-072dd199.entry.js +0 -1
  108. package/dist/ptcw-design/p-2462aece.entry.js +0 -1
  109. package/dist/ptcw-design/p-397276af.entry.js +0 -1
  110. package/dist/ptcw-design/p-68091d57.entry.js +0 -1
  111. package/dist/ptcw-design/p-79883a07.entry.js +0 -1
  112. package/dist/ptcw-design/p-c0304917.entry.js +0 -1
  113. package/dist/ptcw-design/p-cb4d8811.entry.js +0 -1
  114. package/dist/ptcw-design/p-d9ec506c.entry.js +0 -1
  115. package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
  116. package/dist/ptcw-design/p-ef0079b0.entry.js +0 -1
@@ -52,7 +52,7 @@ export class PtcMediaCard {
52
52
  // : null)}
53
53
  style: this.cardType != "case-study-icon" ?
54
54
  ((this.isHovered && this.hoverBackgroundImage) ? { backgroundImage: `url(${this.hoverBackgroundImage})` } : { backgroundImage: `url(${this.activeBackgroundImage})` }) : {} }, h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ?
55
- (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 mf-listen", 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, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
55
+ (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' }, tabindex: "-1" }, 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 mf-listen", 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, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
56
56
  : null));
57
57
  }
58
58
  getCssClassMap() {
@@ -1754,6 +1754,148 @@ ptc-link, ptc-square-card,
1754
1754
  margin-bottom: 4px !important;
1755
1755
  }
1756
1756
 
1757
+ .preloader-generic-form .form-block-1 {
1758
+ border-radius: 4px;
1759
+ border: 8px solid var(--color-gray-02);
1760
+ padding: 45px 32px;
1761
+ margin-bottom: 118px;
1762
+ display: block;
1763
+ }
1764
+ @media only screen and (min-width: 992px) {
1765
+ .preloader-generic-form .form-block-1 {
1766
+ display: none;
1767
+ }
1768
+ }
1769
+ .preloader-generic-form .form-block-1 .form-block-skeleton {
1770
+ padding-bottom: 37px;
1771
+ }
1772
+ .preloader-generic-form .form-block-2 {
1773
+ border-radius: 4px;
1774
+ border: 8px solid var(--color-gray-02);
1775
+ padding: 45px 32px;
1776
+ margin-bottom: 118px;
1777
+ display: none;
1778
+ }
1779
+ @media only screen and (min-width: 992px) {
1780
+ .preloader-generic-form .form-block-2 {
1781
+ display: block;
1782
+ }
1783
+ }
1784
+ .preloader-generic-form .form-block-2 .form-block-skeleton {
1785
+ padding-bottom: 37px;
1786
+ }
1787
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1788
+ width: 60%;
1789
+ height: 55px;
1790
+ }
1791
+ @media only screen and (min-width: 768px) {
1792
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1793
+ width: 50%;
1794
+ }
1795
+ }
1796
+ @media only screen and (min-width: 992px) {
1797
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1798
+ width: 40%;
1799
+ }
1800
+ }
1801
+ @media only screen and (min-width: 1200px) {
1802
+ .preloader-generic-form .skeleton .skeleton-block.very-bold {
1803
+ width: 60%;
1804
+ }
1805
+ }
1806
+
1807
+ .pdf-skeleton-preloader .jumbotron-sec {
1808
+ background: #fff;
1809
+ }
1810
+ .pdf-skeleton-preloader .section-1 {
1811
+ padding-top: 60px;
1812
+ padding-bottom: 222px;
1813
+ }
1814
+ .pdf-skeleton-preloader .section-1 .line-1 {
1815
+ height: 44px;
1816
+ width: 100%;
1817
+ margin-bottom: 39px;
1818
+ }
1819
+ @media only screen and (min-width: 992px) {
1820
+ .pdf-skeleton-preloader .section-1 .line-1 {
1821
+ width: 70%;
1822
+ }
1823
+ }
1824
+ @media only screen and (min-width: 1200px) {
1825
+ .pdf-skeleton-preloader .section-1 .line-1 {
1826
+ width: 50%;
1827
+ }
1828
+ }
1829
+ .pdf-skeleton-preloader .section-1 .line-2 {
1830
+ width: 100%;
1831
+ }
1832
+ @media only screen and (min-width: 1200px) {
1833
+ .pdf-skeleton-preloader .section-1 .line-2 {
1834
+ width: 90%;
1835
+ }
1836
+ }
1837
+ .pdf-skeleton-preloader .section-1 .line-3 {
1838
+ width: 97%;
1839
+ }
1840
+ @media only screen and (min-width: 1200px) {
1841
+ .pdf-skeleton-preloader .section-1 .line-3 {
1842
+ width: 87%;
1843
+ }
1844
+ }
1845
+ .pdf-skeleton-preloader .section-1 .line-4 {
1846
+ width: 95%;
1847
+ }
1848
+ @media only screen and (min-width: 1200px) {
1849
+ .pdf-skeleton-preloader .section-1 .line-4 {
1850
+ width: 85%;
1851
+ }
1852
+ }
1853
+ .pdf-skeleton-preloader .pdf-area {
1854
+ padding-bottom: 110px;
1855
+ }
1856
+ .pdf-skeleton-preloader .pdf-area .pdf-section {
1857
+ background-color: #fff;
1858
+ width: auto;
1859
+ }
1860
+ @media only screen and (min-width: 1440px) {
1861
+ .pdf-skeleton-preloader .pdf-area .pdf-section {
1862
+ width: 781px;
1863
+ margin: auto;
1864
+ }
1865
+ }
1866
+ .pdf-skeleton-preloader .pdf-area .pdf-section .top-border {
1867
+ height: 48px;
1868
+ background-color: var(--color-gray-03);
1869
+ }
1870
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1871
+ padding-top: 60px;
1872
+ padding-left: 24px;
1873
+ padding-right: 24px;
1874
+ padding-bottom: 58px;
1875
+ }
1876
+ @media only screen and (min-width: 992px) {
1877
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1878
+ padding-left: 155px;
1879
+ padding-right: 155px;
1880
+ }
1881
+ }
1882
+ @media only screen and (min-width: 1200px) {
1883
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1884
+ padding-left: 247px;
1885
+ padding-right: 247px;
1886
+ }
1887
+ }
1888
+ @media only screen and (min-width: 1440px) {
1889
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body {
1890
+ padding-left: 70px;
1891
+ padding-right: 70px;
1892
+ }
1893
+ }
1894
+ .pdf-skeleton-preloader .pdf-area .pdf-section .pdf-body .skeleton .skeleton-block.thick-block {
1895
+ height: 623px;
1896
+ width: 100%;
1897
+ }
1898
+
1757
1899
  @keyframes pulse {
1758
1900
  0% {
1759
1901
  opacity: 0.5;
@@ -60,6 +60,12 @@ export class PtcPreloaderSection {
60
60
  case 'value-led': {
61
61
  return (h("div", { class: "preloader-wrapper" }, h("div", { class: "preloader-value-led" }, h("div", { class: "hero-image" }), h("div", { class: "ptc-container content-container" }, h("div", { class: "content-container-child" }, h("div", { class: "is-grid has-col-gap-md" }, h("div", { class: "is-col-3-lg" }, h("div", { class: "skeleton container-child-1" }, h("div", { class: "is-grid block grid-1" }, h("div", { class: "is-col-12 is-placed-left" }, Array.from({ length: 8 }).map(() => (h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thinnest-1" }), h("div", { class: "skeleton-block thinnest-1 long-4" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" })))))))), h("div", { class: "is-col-12 is-col-9-lg" }, h("div", { class: "skeleton container-child-2" }, h("div", { class: "is-grid block grid-top" }, h("div", { class: "is-col-12 is-placed-left" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin smallest left" }), h("div", { class: "skeleton-block thick long-1" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block bold long-2" }), h("div", { class: "skeleton-block bold long-1" }), h("div", { class: "skeleton-block bold long-3" })))), h("div", { class: "grid-top-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block block-1" }))), h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block bold long-2" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block bold long-2" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longer" }), h("div", { class: "skeleton-block thinnnest longest" }), h("div", { class: "skeleton-block thinnnest long" }), h("div", { class: "skeleton-block thinnnest long-4" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }))))), h("div", { class: "related-items" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" })))));
62
62
  }
63
+ case 'generic-form-with-image': {
64
+ return (h("div", { class: "preloader-wrapper" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }), h("div", { class: "skeleton-block cta" })))))), h("div", { class: "ptc-container preloader-generic-form" }, h("div", { class: "is-grid block form-block-1" }, h("div", { class: "is-col-12" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))), h("div", { class: "is-grid block" }, h("div", { class: "is-col-12-xs is-col-12-sm is-col-md-8" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("div", { class: "skeleton-block thin medium" }), h("div", { class: "skeleton-block thin medium" }))), h("div", { class: "is-col-12-xs is-col-12-sm is-col-4-md form-block-2" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))))));
65
+ }
66
+ case 'pdf-skeleton': {
67
+ return (h("div", { class: "preloader-wrapper pdf-skeleton-preloader" }, h("div", { class: "jumbotron-sec" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "section-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block line-1" }), h("div", { class: "skeleton-block line-2 thin" }), h("div", { class: "skeleton-block line-3 thin" }), h("div", { class: "skeleton-block line-4 thin" }))), h("div", { class: "pdf-area" }, h("div", { class: "pdf-section" }, h("div", { class: "top-border" }), h("div", { class: "pdf-body" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thick-block" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }))))))));
68
+ }
63
69
  default:
64
70
  return (h("div", { class: "ptc-section-standard preload-min-height" }, h("div", { class: "ptc-container" }, h("max-width-container", { "max-width": "960", breakpoint: 1200 }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-header" }, h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block wide bold" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block medium" }), h("div", { class: "skeleton-block narrow" }), h("div", { class: "skeleton-block short" })), h("div", { class: "skeleton-image" }), h("div", { class: "skeleton-text" }, h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block narrow" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block short bold" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" })))))));
65
71
  }
@@ -59,7 +59,7 @@ export class PtcTitle {
59
59
  maxLinesShowCheck = t.scrollHeight > t.clientHeight;
60
60
  });
61
61
  }
62
- const ifCharExceeds = (this.tooltipText.length > this.maxChars) && !this.maxLines;
62
+ const ifCharExceeds = this.tooltipText && (this.tooltipText.length > this.maxChars) && !this.maxLines;
63
63
  const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
64
64
  if (show && this.enableTooltip) {
65
65
  if ((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) {
@@ -84,6 +84,7 @@ ptc-link, ptc-square-card,
84
84
  }
85
85
  }
86
86
  :host .navArrows {
87
+ cursor: pointer;
87
88
  display: inline-block;
88
89
  }
89
90
  :host .navArrows svg {
@@ -169,6 +169,43 @@ export function equalizeHeightsWithinShadow(selector, shadowRootOrHostElement) {
169
169
  element.style.height = `${tallestHeight}px`;
170
170
  });
171
171
  }
172
+ export function nextUserInteractionEvent(sender) {
173
+ const baseInteractions = ['click', 'scroll', 'mousemove', 'touchstart'];
174
+ const context = globalThis.window;
175
+ const key = generateUUID();
176
+ return new Promise((resolve) => {
177
+ let keyChain = getHydrationKeyChain(context);
178
+ keyChain[key] = false;
179
+ baseInteractions.forEach(function (interaction) {
180
+ context.addEventListener(interaction, function () {
181
+ if (!keyChain[key]) {
182
+ keyChain[key] = true;
183
+ resolve({
184
+ sender: sender,
185
+ interactionType: interaction
186
+ });
187
+ }
188
+ }, {
189
+ once: true
190
+ });
191
+ setTimeout(() => {
192
+ if (!keyChain[key]) {
193
+ keyChain[key] = true;
194
+ resolve({
195
+ sender: sender,
196
+ interactionType: interaction
197
+ });
198
+ }
199
+ }, 5000);
200
+ });
201
+ });
202
+ }
203
+ function getHydrationKeyChain(context) {
204
+ if (!context.HydrationKeys) {
205
+ context.HydrationKeys = {};
206
+ }
207
+ return context.HydrationKeys;
208
+ }
172
209
  /*
173
210
  observeInView:
174
211
  Trigger CSS Animations when elements are scrolled into view
@@ -200,6 +237,13 @@ export function observeInView(hostEle, selector, runOnce = false) {
200
237
  const allAnimatedElements = hostEle.shadowRoot.querySelectorAll(selector);
201
238
  allAnimatedElements.forEach((element) => observer.observe(element));
202
239
  }
240
+ export function isHiddenUntilSupported() {
241
+ let elem = document.createElement("div");
242
+ elem.setAttribute('hidden', 'until-found');
243
+ let result = elem.hidden === 'until-found';
244
+ //console.debug(`is hidden until supported: ${(result?'yes':'no')}.`);
245
+ return result;
246
+ }
203
247
  // retryHandler.ts
204
248
  export class RetryHandler {
205
249
  constructor(retries = 3, delay = 1000) {