@ptcwebops/ptcw-design 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/cjs/author-listing-example.cjs.entry.js +242 -0
- package/dist/cjs/bundle-example.cjs.entry.js +31 -31
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
- package/dist/cjs/{core-1951cc85.js → core-332e5461.js} +29 -91
- package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +26 -26
- package/dist/cjs/featured-list.cjs.entry.js +84 -84
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +41 -41
- package/dist/cjs/icon-asset.cjs.entry.js +43 -43
- package/dist/cjs/{index-dddc2aea.js → index-1662de74.js} +1 -72
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
- package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
- package/dist/cjs/list-item.cjs.entry.js +23 -23
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/lottie-player.cjs.entry.js +2826 -3073
- package/dist/cjs/max-width-container.cjs.entry.js +44 -44
- package/dist/cjs/my-component.cjs.entry.js +16 -16
- package/dist/cjs/{pagination-d20b7968.js → pagination-8d9d474d.js} +6 -24
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
- package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
- package/dist/cjs/ptc-announcement.cjs.entry.js +53 -53
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
- package/dist/cjs/ptc-background-video.cjs.entry.js +68 -0
- package/dist/cjs/ptc-bio-card.cjs.entry.js +25 -25
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +121 -121
- package/dist/cjs/ptc-button.cjs.entry.js +40 -40
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
- package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
- package/dist/cjs/ptc-card.cjs.entry.js +73 -73
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +83 -92
- package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
- package/dist/cjs/ptc-container.cjs.entry.js +34 -34
- package/dist/cjs/ptc-date.cjs.entry.js +51 -51
- package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +49 -49
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
- package/dist/cjs/ptc-featured-list.cjs.entry.js +83 -83
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
- package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
- package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
- package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
- package/dist/cjs/{ptc-background-video_2.cjs.entry.js → ptc-img.cjs.entry.js} +123 -185
- package/dist/cjs/ptc-link.cjs.entry.js +34 -34
- package/dist/cjs/ptc-list.cjs.entry.js +50 -50
- package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
- package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +13 -13
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +139 -157
- package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
- package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
- package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +9 -9
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +91 -91
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +38 -38
- package/dist/cjs/ptc-news.cjs.entry.js +18 -18
- package/dist/cjs/ptc-overlay.cjs.entry.js +25 -25
- package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
- package/dist/cjs/ptc-para.cjs.entry.js +52 -52
- package/dist/cjs/ptc-picture.cjs.entry.js +153 -153
- package/dist/cjs/ptc-previous-url.cjs.entry.js +12 -12
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +40 -40
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
- package/dist/cjs/ptc-pricing-table.cjs.entry.js +427 -427
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
- package/dist/cjs/ptc-product-card.cjs.entry.js +23 -23
- package/dist/cjs/ptc-product-category.cjs.entry.js +11 -11
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +70 -70
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +13 -13
- package/dist/cjs/ptc-product-list.cjs.entry.js +141 -141
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +129 -129
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +17 -17
- package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +25 -25
- package/dist/cjs/ptc-readmore.cjs.entry.js +78 -78
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
- package/dist/cjs/ptc-search-field.cjs.entry.js +72 -72
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
- package/dist/cjs/ptc-slit-card.cjs.entry.js +26 -26
- package/dist/cjs/ptc-social-share.cjs.entry.js +70 -70
- package/dist/cjs/ptc-spacer.cjs.entry.js +28 -28
- package/dist/cjs/ptc-span.cjs.entry.js +21 -21
- package/dist/cjs/ptc-square-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
- package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
- package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
- package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
- package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
- package/dist/cjs/ptc-title.cjs.entry.js +68 -68
- package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
- package/dist/cjs/ptcw-design.cjs.js +3 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +111 -111
- package/dist/cjs/sequential-bundle.cjs.entry.js +90 -90
- package/dist/cjs/tab-content.cjs.entry.js +28 -28
- package/dist/cjs/tab-header.cjs.entry.js +65 -65
- package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
- package/dist/collection/components/icon-asset/icon-asset.css +4 -4
- package/dist/collection/components/icon-asset/icon-asset.js +199 -199
- package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
- package/dist/collection/components/icon-asset/media/designer.svg +475 -475
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
- package/dist/collection/components/list-item/list-item.js +144 -144
- package/dist/collection/components/max-width-container/max-width-container.css +11 -11
- package/dist/collection/components/max-width-container/max-width-container.js +146 -146
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +82 -82
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -0
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +281 -0
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
- package/dist/collection/components/ptc-button/ptc-button.js +304 -304
- package/dist/collection/components/ptc-card/ptc-card.js +419 -419
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
- package/dist/collection/components/ptc-container/ptc-container.js +138 -138
- package/dist/collection/components/ptc-date/ptc-date.js +224 -224
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +3 -1
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
- package/dist/collection/components/ptc-img/ptc-img.js +311 -311
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
- package/dist/collection/components/ptc-link/ptc-link.js +207 -207
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +2 -7
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
- package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
- package/dist/collection/components/ptc-news/ptc-news.js +169 -169
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
- package/dist/collection/components/ptc-para/ptc-para.js +242 -242
- package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -581
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
- package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
- package/dist/collection/components/ptc-span/ptc-span.js +107 -107
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
- package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
- package/dist/collection/components/ptc-title/ptc-title.js +310 -310
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +135 -135
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.js +182 -182
- package/dist/collection/index.js +1 -1
- package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
- package/dist/collection/media/svg-imgs/close.svg +10 -10
- package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
- package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
- package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
- package/dist/collection/media/svg-imgs/union.svg +3 -3
- package/dist/collection/stories/Accordian.stories.js +205 -205
- package/dist/collection/stories/Announcement.stories.js +64 -64
- package/dist/collection/stories/BackgroundImage.stories.js +81 -81
- package/dist/collection/stories/Breadcrumb.stories.js +50 -50
- package/dist/collection/stories/Button.stories.js +119 -119
- package/dist/collection/stories/Card.stories.js +234 -234
- package/dist/collection/stories/CardWrapper.stories.js +270 -270
- package/dist/collection/stories/Checkbox.stories.js +52 -52
- package/dist/collection/stories/Date.stories.js +81 -81
- package/dist/collection/stories/Dropdown.stories.js +48 -48
- package/dist/collection/stories/DynamicCard.stories.js +68 -68
- package/dist/collection/stories/FilterTag.stories.js +73 -73
- package/dist/collection/stories/Hero.stories.js +119 -119
- package/dist/collection/stories/Icon.stories.js +71 -71
- package/dist/collection/stories/IconList.stories.js +114 -114
- package/dist/collection/stories/IconMinimize.stories.js +40 -40
- package/dist/collection/stories/Link.stories.js +101 -101
- package/dist/collection/stories/ListItem.stories.js +59 -59
- package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
- package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
- package/dist/collection/stories/MobileSelect.stories.js +79 -79
- package/dist/collection/stories/Modal.stories.js +105 -105
- package/dist/collection/stories/Overlay.stories.js +48 -48
- package/dist/collection/stories/Pagination.stories.js +101 -101
- package/dist/collection/stories/Paragraph.stories.js +95 -95
- package/dist/collection/stories/Picture.stories.js +139 -139
- package/dist/collection/stories/Quote.stories.js +107 -107
- package/dist/collection/stories/ReadMore.stories.js +100 -100
- package/dist/collection/stories/SocialShare.stories.js +66 -66
- package/dist/collection/stories/Spacer.stories.js +48 -48
- package/dist/collection/stories/Span.stories.js +57 -57
- package/dist/collection/stories/SvgButton.stories.js +34 -34
- package/dist/collection/stories/Tabs.stories.js +213 -213
- package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
- package/dist/collection/stories/Title.stories.js +115 -115
- package/dist/collection/stories/Tooltip.stories.js +112 -112
- package/dist/collection/utils/component.js +3 -3
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +92 -92
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +9336 -9451
- package/dist/esm/author-listing-example.entry.js +238 -0
- package/dist/esm/bundle-example.entry.js +31 -31
- package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
- package/dist/esm/{core-209a2c67.js → core-73ab4867.js} +29 -91
- package/dist/esm/dropdown-item.entry.js +11 -11
- package/dist/esm/dynamic-box-bundle.entry.js +26 -26
- package/dist/esm/featured-list.entry.js +84 -84
- package/dist/esm/fl-tab-content_3.entry.js +41 -41
- package/dist/esm/icon-asset.entry.js +43 -43
- package/dist/esm/{index-8db28d54.js → index-22a84644.js} +1 -72
- package/dist/esm/innovator-toggle-container.entry.js +22 -22
- package/dist/esm/{interfaces-3cb94654.js → interfaces-4caedd26.js} +9 -9
- package/dist/esm/list-item.entry.js +23 -23
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lottie-player.entry.js +2826 -3073
- package/dist/esm/max-width-container.entry.js +44 -44
- package/dist/esm/my-component.entry.js +16 -16
- package/dist/esm/{pagination-3ddf3057.js → pagination-902de0b2.js} +6 -24
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ptc-accordion-item.entry.js +85 -85
- package/dist/esm/ptc-accordion.entry.js +40 -40
- package/dist/esm/ptc-announcement.entry.js +53 -53
- package/dist/esm/ptc-back-to-top.entry.js +36 -36
- package/dist/esm/ptc-background-video.entry.js +64 -0
- package/dist/esm/ptc-bio-card.entry.js +25 -25
- package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
- package/dist/esm/ptc-button.entry.js +40 -40
- package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
- package/dist/esm/ptc-card-content.entry.js +58 -58
- package/dist/esm/ptc-card.entry.js +73 -73
- package/dist/esm/ptc-case-studies-slider.entry.js +83 -92
- package/dist/esm/ptc-checkbox.entry.js +51 -51
- package/dist/esm/ptc-collapse-list.entry.js +398 -398
- package/dist/esm/ptc-container.entry.js +34 -34
- package/dist/esm/ptc-date.entry.js +51 -51
- package/dist/esm/ptc-dropdown.entry.js +65 -65
- package/dist/esm/ptc-dynamic-card.entry.js +49 -49
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
- package/dist/esm/ptc-featured-list.entry.js +83 -83
- package/dist/esm/ptc-filter-tag.entry.js +58 -58
- package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
- package/dist/esm/ptc-hero.entry.js +19 -19
- package/dist/esm/ptc-icon-component.entry.js +63 -63
- package/dist/esm/ptc-icon-list.entry.js +22 -22
- package/dist/esm/ptc-icon-minimize.entry.js +44 -44
- package/dist/esm/ptc-image-download-strip.entry.js +19 -19
- package/dist/esm/{ptc-background-video_2.entry.js → ptc-img.entry.js} +124 -185
- package/dist/esm/ptc-link.entry.js +34 -34
- package/dist/esm/ptc-list.entry.js +50 -50
- package/dist/esm/ptc-lottie.entry.js +11 -11
- package/dist/esm/ptc-media-card.entry.js +59 -59
- package/dist/esm/ptc-minimized-nav.entry.js +13 -13
- package/dist/esm/ptc-mobile-select.entry.js +139 -157
- package/dist/esm/ptc-modal.entry.js +151 -151
- package/dist/esm/ptc-nav-card.entry.js +37 -37
- package/dist/esm/ptc-nav-link.entry.js +37 -37
- package/dist/esm/ptc-nav-pills.entry.js +9 -9
- package/dist/esm/ptc-nav-slider.entry.js +91 -91
- package/dist/esm/ptc-nav-submenu.entry.js +38 -38
- package/dist/esm/ptc-news.entry.js +18 -18
- package/dist/esm/ptc-overlay.entry.js +25 -25
- package/dist/esm/ptc-pagenation.entry.js +307 -307
- package/dist/esm/ptc-para.entry.js +52 -52
- package/dist/esm/ptc-picture.entry.js +153 -153
- package/dist/esm/ptc-previous-url.entry.js +12 -12
- package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
- package/dist/esm/ptc-pricing-add-on-section.entry.js +40 -40
- package/dist/esm/ptc-pricing-block.entry.js +21 -21
- package/dist/esm/ptc-pricing-table.entry.js +427 -427
- package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
- package/dist/esm/ptc-product-card.entry.js +23 -23
- package/dist/esm/ptc-product-category.entry.js +11 -11
- package/dist/esm/ptc-product-dropdown.entry.js +70 -70
- package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
- package/dist/esm/ptc-product-list.entry.js +141 -141
- package/dist/esm/ptc-product-sidebar.entry.js +129 -129
- package/dist/esm/ptc-progress-bar.entry.js +17 -17
- package/dist/esm/ptc-quote.entry.js +24 -24
- package/dist/esm/ptc-readmore-char.entry.js +25 -25
- package/dist/esm/ptc-readmore.entry.js +78 -78
- package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
- package/dist/esm/ptc-search-field.entry.js +72 -72
- package/dist/esm/ptc-shopping-cart.entry.js +51 -51
- package/dist/esm/ptc-slit-card.entry.js +26 -26
- package/dist/esm/ptc-social-share.entry.js +70 -70
- package/dist/esm/ptc-spacer.entry.js +28 -28
- package/dist/esm/ptc-span.entry.js +21 -21
- package/dist/esm/ptc-square-card.entry.js +11 -11
- package/dist/esm/ptc-sticky-icons.entry.js +33 -33
- package/dist/esm/ptc-sticky-section.entry.js +31 -31
- package/dist/esm/ptc-sticky-title.entry.js +24 -24
- package/dist/esm/ptc-subnav-card.entry.js +16 -16
- package/dist/esm/ptc-subnav.entry.js +23 -23
- package/dist/esm/ptc-svg-btn.entry.js +96 -96
- package/dist/esm/ptc-tab-list.entry.js +142 -142
- package/dist/esm/ptc-tab.entry.js +21 -21
- package/dist/esm/ptc-tabs.entry.js +48 -48
- package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
- package/dist/esm/ptc-title.entry.js +68 -68
- package/dist/esm/ptc-tooltip.entry.js +96 -96
- package/dist/esm/ptc-two-column-media.entry.js +16 -16
- package/dist/esm/ptc-value-prop-card.entry.js +15 -15
- package/dist/esm/ptcw-design.js +4 -4
- package/dist/esm/sequential-bundle-example.entry.js +111 -111
- package/dist/esm/sequential-bundle.entry.js +90 -90
- package/dist/esm/tab-content.entry.js +28 -28
- package/dist/esm/tab-header.entry.js +65 -65
- package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +475 -475
- package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
- package/dist/ptcw-design/media/regular.svg +463 -463
- package/dist/ptcw-design/media/solid.svg +3013 -3013
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/{p-75b447c8.entry.js → p-0074d97c.entry.js} +1 -1
- package/dist/ptcw-design/{p-d332e427.entry.js → p-0290031e.entry.js} +1 -1
- package/dist/ptcw-design/{p-298fd719.entry.js → p-0532c37c.entry.js} +1 -1
- package/dist/ptcw-design/{p-af7e6116.entry.js → p-056b652a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e172c5a.entry.js → p-05cc800d.entry.js} +1 -1
- package/dist/ptcw-design/{p-22e77c7c.entry.js → p-06f99e11.entry.js} +1 -1
- package/dist/ptcw-design/{p-2282217b.entry.js → p-072887b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd3b4619.entry.js → p-0f3f83d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5d52d72.entry.js → p-10254985.entry.js} +1 -1
- package/dist/ptcw-design/{p-445c9b3d.entry.js → p-12acb46f.entry.js} +1 -1
- package/dist/ptcw-design/{p-019ee040.entry.js → p-15e08cba.entry.js} +1 -1
- package/dist/ptcw-design/{p-066dc775.entry.js → p-17fd5641.entry.js} +1 -1
- package/dist/ptcw-design/{p-06b9d7b1.entry.js → p-1b972064.entry.js} +1 -1
- package/dist/ptcw-design/{p-34764ee6.entry.js → p-1c631848.entry.js} +1 -1
- package/dist/ptcw-design/p-1c743207.entry.js +1 -0
- package/dist/ptcw-design/{p-792c20a8.entry.js → p-1fc3d43a.entry.js} +1 -1
- package/dist/ptcw-design/{p-a438d150.entry.js → p-214278c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-d260581f.entry.js → p-2254e000.entry.js} +1 -1
- package/dist/ptcw-design/{p-4227d996.entry.js → p-2597870d.entry.js} +1 -1
- package/dist/ptcw-design/{p-bb3cc915.entry.js → p-26f31be6.entry.js} +1 -1
- package/dist/ptcw-design/{p-38bee38d.entry.js → p-2893f405.entry.js} +1 -1
- package/dist/ptcw-design/{p-e54969bf.entry.js → p-2ba6bbbe.entry.js} +1 -1
- package/dist/ptcw-design/{p-f1b1f381.entry.js → p-2fed7a6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-93a1f340.entry.js → p-317573b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fcfa760.entry.js → p-3192a7e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-d67d6edd.entry.js → p-31c33a18.entry.js} +1 -1
- package/dist/ptcw-design/{p-447ad4f8.entry.js → p-362ec391.entry.js} +1 -1
- package/dist/ptcw-design/{p-fad09b46.entry.js → p-3b8731e6.entry.js} +1 -1
- package/dist/ptcw-design/{p-3fb0f45c.entry.js → p-3ed0384d.entry.js} +1 -1
- package/dist/ptcw-design/{p-a454efc5.entry.js → p-3f368d6d.entry.js} +1 -1
- package/dist/ptcw-design/{p-288cb98d.entry.js → p-4097a036.entry.js} +1 -1
- package/dist/ptcw-design/p-4aaa6290.entry.js +1 -0
- package/dist/ptcw-design/{p-fac62124.entry.js → p-507ab0b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-968bbb76.entry.js → p-515f4332.entry.js} +1 -1
- package/dist/ptcw-design/p-553d840a.js +1 -0
- package/dist/ptcw-design/{p-626e2b30.entry.js → p-56da9ecd.entry.js} +1 -1
- package/dist/ptcw-design/{p-62d3f225.entry.js → p-58291e3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-39bf1649.entry.js → p-59ac682d.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9b30024.entry.js → p-5c47361e.entry.js} +1 -1
- package/dist/ptcw-design/{p-67974679.entry.js → p-61197714.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ed8ce2b.entry.js → p-6392bd90.entry.js} +1 -1
- package/dist/ptcw-design/{p-c20bea66.entry.js → p-63f811ec.entry.js} +1 -1
- package/dist/ptcw-design/{p-60618056.entry.js → p-6449418a.entry.js} +1 -1
- package/dist/ptcw-design/{p-255674e8.entry.js → p-66fcd7b2.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4b66bf5.entry.js → p-6a4bb3e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4602b1d.entry.js → p-6a5bc275.entry.js} +1 -1
- package/dist/ptcw-design/{p-808544d7.entry.js → p-6aba5f8f.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbb7b2a3.entry.js → p-6b1d18b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-57085c86.entry.js → p-6e11536e.entry.js} +1 -1
- package/dist/ptcw-design/{p-4eeafd49.entry.js → p-75b17a66.entry.js} +1 -1
- package/dist/ptcw-design/{p-dda9d065.entry.js → p-777fb495.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a1a1bfb.entry.js → p-77f5cf02.entry.js} +1 -1
- package/dist/ptcw-design/{p-f540748a.entry.js → p-7a3cf557.entry.js} +1 -1
- package/dist/ptcw-design/{p-e59376e8.entry.js → p-7a87be28.entry.js} +1 -1
- package/dist/ptcw-design/{p-55292c78.entry.js → p-7aa8af29.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ae005de.entry.js → p-7b34bb69.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdfc9555.entry.js → p-7ea29d34.entry.js} +1 -1
- package/dist/ptcw-design/{p-75247100.entry.js → p-84d3f4fa.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e9e0d37.entry.js → p-85145672.entry.js} +1 -1
- package/dist/ptcw-design/{p-11f10902.entry.js → p-8b34f2db.entry.js} +1 -1
- package/dist/ptcw-design/{p-674aef18.entry.js → p-95198d5f.entry.js} +1 -1
- package/dist/ptcw-design/{p-82b05238.entry.js → p-9817c40a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6c09bbbc.entry.js → p-98b6cb94.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec0873bd.entry.js → p-99457ebb.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f8455b5.entry.js → p-9d681abc.entry.js} +1 -1
- package/dist/ptcw-design/{p-4d38bd16.entry.js → p-9e4260bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-a42f8bf2.entry.js → p-9efd9a5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9991c4bf.entry.js → p-a04e0ded.entry.js} +1 -1
- package/dist/ptcw-design/{p-7192afeb.entry.js → p-a417df03.entry.js} +1 -1
- package/dist/ptcw-design/{p-72fe6dcb.entry.js → p-a42feab1.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ca64d6f.entry.js → p-ac63caae.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1025cf9.entry.js → p-ad234f99.entry.js} +1 -1
- package/dist/ptcw-design/{p-97bf50a0.entry.js → p-ad401696.entry.js} +1 -1
- package/dist/ptcw-design/p-b3d8e893.entry.js +1 -0
- package/dist/ptcw-design/{p-079b6721.entry.js → p-bd470a7a.entry.js} +1 -1
- package/dist/ptcw-design/p-be8db2b7.entry.js +1 -0
- package/dist/ptcw-design/{p-3d14bf07.entry.js → p-bf47669c.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f82a06c.entry.js → p-bf808180.entry.js} +1 -1
- package/dist/ptcw-design/p-c4e1b619.entry.js +1 -0
- package/dist/ptcw-design/{p-06c13601.entry.js → p-c5df36ad.entry.js} +1 -1
- package/dist/ptcw-design/p-c7d5bfe3.entry.js +1 -0
- package/dist/ptcw-design/{p-b63e7023.entry.js → p-ca877fea.entry.js} +1 -1
- package/dist/ptcw-design/{p-101c17f4.entry.js → p-ca9b1705.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a9d1f65.entry.js → p-cda3854b.entry.js} +1 -1
- package/dist/ptcw-design/p-cef9cf82.entry.js +1 -0
- package/dist/ptcw-design/{p-3e5fb8c3.entry.js → p-cf1005f9.entry.js} +1 -1
- package/dist/ptcw-design/p-cf7dc448.entry.js +1 -0
- package/dist/ptcw-design/p-d100f115.js +1 -0
- package/dist/ptcw-design/{p-25195807.entry.js → p-dc5e5116.entry.js} +1 -1
- package/dist/ptcw-design/{p-a6c1acb8.entry.js → p-dc748f00.entry.js} +1 -1
- package/dist/ptcw-design/{p-d4d80654.entry.js → p-dee888f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-7ff45a5c.entry.js → p-df0aa310.entry.js} +1 -1
- package/dist/ptcw-design/{p-f8b1f507.entry.js → p-e1dd94a9.entry.js} +1 -1
- package/dist/ptcw-design/{p-e9635f81.entry.js → p-e312626a.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4f034ff.entry.js → p-e8ba44ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-38fb1625.entry.js → p-e8cd5994.entry.js} +1 -1
- package/dist/ptcw-design/{p-c07609da.entry.js → p-e8d9a19f.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d477cbd.entry.js → p-eb65dacf.entry.js} +1 -1
- package/dist/ptcw-design/{p-bbc6cb14.entry.js → p-ee20170a.entry.js} +1 -1
- package/dist/ptcw-design/{p-e24f0892.entry.js → p-f6dfc55e.entry.js} +1 -1
- package/dist/ptcw-design/{p-180f20e0.entry.js → p-f8eacbd8.entry.js} +1 -1
- package/dist/ptcw-design/{p-bae3e7df.entry.js → p-f97fc3fd.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
- package/dist/types/components/list-item/list-item.d.ts +16 -16
- package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -0
- package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
- package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
- package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
- package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
- package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
- package/dist/types/components/ptc-card/ptc-card.d.ts +83 -83
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -24
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
- package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
- package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
- package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
- package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
- package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
- package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
- package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
- package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
- package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
- package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
- package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -101
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
- package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
- package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
- package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
- package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
- package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
- package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +27 -27
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
- package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
- package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +22 -22
- package/dist/types/components.d.ts +149 -130
- package/dist/types/global.d.ts +1072 -1072
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -11
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/interfaces.d.ts +31 -31
- package/dist/types/utils/utils.d.ts +5 -5
- package/package.json +82 -82
- package/readme.md +18 -18
- package/dist/ptcw-design/p-0fc282f5.js +0 -1
- package/dist/ptcw-design/p-4329b9c8.entry.js +0 -1
- package/dist/ptcw-design/p-5009cb8b.entry.js +0 -1
- package/dist/ptcw-design/p-6d9e8c97.entry.js +0 -1
- package/dist/ptcw-design/p-8ae8454b.entry.js +0 -1
- package/dist/ptcw-design/p-e428e6d9.js +0 -1
- package/dist/ptcw-design/p-eb76bc66.entry.js +0 -1
- package/dist/ptcw-design/p-f42ef4c9.entry.js +0 -1
- /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
- /package/dist/ptcw-design/{p-240733ce.js → p-711bcdad.js} +0 -0
- /package/dist/ptcw-design/{p-dc4da4a5.js → p-ce0e4c5c.js} +0 -0
|
@@ -2,92 +2,92 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
|
-
const featuredListCss = "a {\n font-family: var(--ptc-font-latin);\n font-style: var(--ptc-font-style-normal);\n text-decoration-line: underline;\n color: var(--color-blue-07);\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\n font-weight: var(--ptc-font-weight-bold);\n\n &:visited {\n color: var(--color-blue-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-09);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-08);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n}\n\n.light-links,.background-grey-10,.background-plm-grey {\n a, a.light-link {\n color: var(--color-blue-04);\n\n &:visited {\n color: var(--color-blue-06);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-07);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-05);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n }\n}\n\n.ptc-link {\n color: var(--color-gray-10);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-gray-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n}\n\n.ptc-link-dark {\n color: var(--color-white);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-white);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n\n}\n :host {\n\t display: block;\n\t box-sizing: border-box;\n}\n :host ptc-background-video {\n\t height: 240px;\n}\n @media (min-width: 480px) {\n\t :host ptc-background-video {\n\t\t height: 320px;\n\t}\n}\n @media (min-width: 768px) {\n\t :host ptc-background-video {\n\t\t height: 450px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host ptc-background-video {\n\t\t height: 500px;\n\t}\n}\n :host .fl-header {\n\t cursor: pointer;\n}\n :host .non-mobile-wrapper {\n\t box-sizing: border-box;\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper {\n\t\t max-width: 1078px;\n\t\t margin: -75px auto 0 auto;\n\t\t display: flex;\n\t\t align-items: center;\n\t\t width: 100%;\n\t\t background: var(--color-white);\n\t\t box-shadow: var(--ptc-shadow-small);\n\t\t padding: 24px 32px;\n\t\t z-index: 1;\n\t\t position: relative;\n\t\t min-height: 350px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .header-list-wrap {\n\t\t padding-right: 16px;\n\t\t margin-right: 64px;\n\t\t min-width: 270px;\n\t\t max-width: 270px;\n\t\t box-sizing: border-box;\n\t\t display: flex;\n\t\t flex-direction: column;\n\t\t align-items: baseline;\n\t}\n\t :host .non-mobile-wrapper .header-list-wrap::after {\n\t\t content: \"\";\n\t\t width: 1px;\n\t\t height: calc(100% - 48px);\n\t\t background-color: var(--color-gray-05);\n\t\t position: absolute;\n\t\t left: 297px;\n\t\t top: 24px;\n\t\t bottom: 24px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .content-wrap {\n\t\t padding-right: 72px;\n\t}\n}\n :host .non-mobile-wrapper .fl-header {\n\t border-radius: 4px;\n\t margin: 12px 0;\n\t padding: 4px 8px;\n}\n :host .non-mobile-wrapper .fl-header:hover {\n\t background-color: var(--color-gray-02);\n}\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\n\t background-color: var(--color-gray-03);\n}\n :host .mobile-wrapper .acc-item {\n\t border-bottom: 1px solid var(--color-gray-03);\n\t padding: 14px 30px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header {\n\t padding-left: 34px;\n\t position: relative;\n}\n :host .mobile-wrapper .acc-item fl-tab-header::before {\n\t content: '';\n\t display: inline-block;\n\t width: 16px;\n\t height: 16px;\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\n\t vertical-align: middle;\n\t position: absolute;\n\t left: 0;\n\t top: 4.5px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\n}\n :host .mobile-wrapper .acc-item fl-tab-content {\n\t padding-left: 34px;\n\t padding-bottom: 18px;\n}\n";
|
|
7
|
+
const featuredListCss = "a {\r\n font-family: var(--ptc-font-latin);\r\n font-style: var(--ptc-font-style-normal);\r\n text-decoration-line: underline;\r\n color: var(--color-blue-07);\r\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\r\n font-weight: var(--ptc-font-weight-bold);\r\n\r\n &:visited {\r\n color: var(--color-blue-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-09);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-08);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n}\r\n\r\n.light-links,.background-grey-10,.background-plm-grey {\r\n a, a.light-link {\r\n color: var(--color-blue-04);\r\n\r\n &:visited {\r\n color: var(--color-blue-06);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-07);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-05);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n }\r\n}\r\n\r\n.ptc-link {\r\n color: var(--color-gray-10);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-gray-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n}\r\n\r\n.ptc-link-dark {\r\n color: var(--color-white);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-white);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n}\r\n :host {\r\n\t display: block;\r\n\t box-sizing: border-box;\r\n}\r\n :host ptc-background-video {\r\n\t height: 240px;\r\n}\r\n @media (min-width: 480px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 320px;\r\n\t}\r\n}\r\n @media (min-width: 768px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 450px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 500px;\r\n\t}\r\n}\r\n :host .fl-header {\r\n\t cursor: pointer;\r\n}\r\n :host .non-mobile-wrapper {\r\n\t box-sizing: border-box;\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper {\r\n\t\t max-width: 1078px;\r\n\t\t margin: -75px auto 0 auto;\r\n\t\t display: flex;\r\n\t\t align-items: center;\r\n\t\t width: 100%;\r\n\t\t background: var(--color-white);\r\n\t\t box-shadow: var(--ptc-shadow-small);\r\n\t\t padding: 24px 32px;\r\n\t\t z-index: 1;\r\n\t\t position: relative;\r\n\t\t min-height: 350px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .header-list-wrap {\r\n\t\t padding-right: 16px;\r\n\t\t margin-right: 64px;\r\n\t\t min-width: 270px;\r\n\t\t max-width: 270px;\r\n\t\t box-sizing: border-box;\r\n\t\t display: flex;\r\n\t\t flex-direction: column;\r\n\t\t align-items: baseline;\r\n\t}\r\n\t :host .non-mobile-wrapper .header-list-wrap::after {\r\n\t\t content: \"\";\r\n\t\t width: 1px;\r\n\t\t height: calc(100% - 48px);\r\n\t\t background-color: var(--color-gray-05);\r\n\t\t position: absolute;\r\n\t\t left: 297px;\r\n\t\t top: 24px;\r\n\t\t bottom: 24px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .content-wrap {\r\n\t\t padding-right: 72px;\r\n\t}\r\n}\r\n :host .non-mobile-wrapper .fl-header {\r\n\t border-radius: 4px;\r\n\t margin: 12px 0;\r\n\t padding: 4px 8px;\r\n}\r\n :host .non-mobile-wrapper .fl-header:hover {\r\n\t background-color: var(--color-gray-02);\r\n}\r\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\r\n\t background-color: var(--color-gray-03);\r\n}\r\n :host .mobile-wrapper .acc-item {\r\n\t border-bottom: 1px solid var(--color-gray-03);\r\n\t padding: 14px 30px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header {\r\n\t padding-left: 34px;\r\n\t position: relative;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header::before {\r\n\t content: '';\r\n\t display: inline-block;\r\n\t width: 16px;\r\n\t height: 16px;\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\r\n\t vertical-align: middle;\r\n\t position: absolute;\r\n\t left: 0;\r\n\t top: 4.5px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-content {\r\n\t padding-left: 34px;\r\n\t padding-bottom: 18px;\r\n}\r\n";
|
|
8
8
|
|
|
9
|
-
const FeaturedList = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.isMobile = undefined;
|
|
13
|
-
this.selectedTabGloble = 'tab-01';
|
|
14
|
-
}
|
|
15
|
-
handleResize() {
|
|
16
|
-
this.isMobile = window.innerWidth < 992;
|
|
17
|
-
this.holdTabOnResize(this.selectedTabGloble);
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
this.isMobile = window.innerWidth < 992;
|
|
21
|
-
}
|
|
22
|
-
handleflTabClicked(event) {
|
|
23
|
-
this.selectedTabGloble = event.detail.name;
|
|
24
|
-
this.selectTab(this.selectedTabGloble);
|
|
25
|
-
}
|
|
26
|
-
holdTabOnResize(name) {
|
|
27
|
-
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
28
|
-
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
29
|
-
contentBlocks.forEach(content => {
|
|
30
|
-
if (content.classList.contains("init-active")) {
|
|
31
|
-
content.classList.remove("init-active");
|
|
32
|
-
}
|
|
33
|
-
content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
|
|
34
|
-
});
|
|
35
|
-
headerBlocks.forEach(header => {
|
|
36
|
-
if (header.classList.contains("init-active")) {
|
|
37
|
-
header.classList.remove("init-active");
|
|
38
|
-
}
|
|
39
|
-
header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
selectTab(name) {
|
|
43
|
-
const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
|
|
44
|
-
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
45
|
-
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
46
|
-
featuredImages.forEach(image => {
|
|
47
|
-
if (image.classList.contains("init-active")) {
|
|
48
|
-
image.classList.remove("init-active");
|
|
49
|
-
}
|
|
50
|
-
image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
|
|
51
|
-
});
|
|
52
|
-
contentBlocks.forEach(content => {
|
|
53
|
-
this.updateActiveTab(name, content);
|
|
54
|
-
});
|
|
55
|
-
headerBlocks.forEach(header => {
|
|
56
|
-
this.updateActiveTab(name, header);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
updateActiveTab(name, tabName) {
|
|
60
|
-
if (this.isMobile) {
|
|
61
|
-
if (tabName.getAttribute('name-key') === name) {
|
|
62
|
-
if (tabName.classList.contains("init-active")) {
|
|
63
|
-
tabName.removeAttribute('selected');
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
tabName.removeAttribute('selected');
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
|
|
75
|
-
}
|
|
76
|
-
if (tabName.classList.contains("init-active")) {
|
|
77
|
-
tabName.classList.remove("init-active");
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
render() {
|
|
81
|
-
return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
|
|
82
|
-
// Code for mobile only
|
|
83
|
-
index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
|
|
84
|
-
:
|
|
85
|
-
(
|
|
86
|
-
// Code for Desktop only
|
|
87
|
-
index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
|
|
88
|
-
}
|
|
89
|
-
get hostElement() { return index.getElement(this); }
|
|
90
|
-
};
|
|
9
|
+
const FeaturedList = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.isMobile = undefined;
|
|
13
|
+
this.selectedTabGloble = 'tab-01';
|
|
14
|
+
}
|
|
15
|
+
handleResize() {
|
|
16
|
+
this.isMobile = window.innerWidth < 992;
|
|
17
|
+
this.holdTabOnResize(this.selectedTabGloble);
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.isMobile = window.innerWidth < 992;
|
|
21
|
+
}
|
|
22
|
+
handleflTabClicked(event) {
|
|
23
|
+
this.selectedTabGloble = event.detail.name;
|
|
24
|
+
this.selectTab(this.selectedTabGloble);
|
|
25
|
+
}
|
|
26
|
+
holdTabOnResize(name) {
|
|
27
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
28
|
+
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
29
|
+
contentBlocks.forEach(content => {
|
|
30
|
+
if (content.classList.contains("init-active")) {
|
|
31
|
+
content.classList.remove("init-active");
|
|
32
|
+
}
|
|
33
|
+
content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
|
|
34
|
+
});
|
|
35
|
+
headerBlocks.forEach(header => {
|
|
36
|
+
if (header.classList.contains("init-active")) {
|
|
37
|
+
header.classList.remove("init-active");
|
|
38
|
+
}
|
|
39
|
+
header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
selectTab(name) {
|
|
43
|
+
const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
|
|
44
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
45
|
+
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
46
|
+
featuredImages.forEach(image => {
|
|
47
|
+
if (image.classList.contains("init-active")) {
|
|
48
|
+
image.classList.remove("init-active");
|
|
49
|
+
}
|
|
50
|
+
image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
|
|
51
|
+
});
|
|
52
|
+
contentBlocks.forEach(content => {
|
|
53
|
+
this.updateActiveTab(name, content);
|
|
54
|
+
});
|
|
55
|
+
headerBlocks.forEach(header => {
|
|
56
|
+
this.updateActiveTab(name, header);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
updateActiveTab(name, tabName) {
|
|
60
|
+
if (this.isMobile) {
|
|
61
|
+
if (tabName.getAttribute('name-key') === name) {
|
|
62
|
+
if (tabName.classList.contains("init-active")) {
|
|
63
|
+
tabName.removeAttribute('selected');
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
tabName.removeAttribute('selected');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
|
|
75
|
+
}
|
|
76
|
+
if (tabName.classList.contains("init-active")) {
|
|
77
|
+
tabName.classList.remove("init-active");
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
|
|
82
|
+
// Code for mobile only
|
|
83
|
+
index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
|
|
84
|
+
:
|
|
85
|
+
(
|
|
86
|
+
// Code for Desktop only
|
|
87
|
+
index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
|
|
88
|
+
}
|
|
89
|
+
get hostElement() { return index.getElement(this); }
|
|
90
|
+
};
|
|
91
91
|
FeaturedList.style = featuredListCss;
|
|
92
92
|
|
|
93
93
|
exports.featured_list = FeaturedList;
|
|
@@ -2,58 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
7
|
const flTabContentCss = ":host{display:none}:host(.init-active){display:block}:host(.selected){display:block}";
|
|
8
8
|
|
|
9
|
-
const FlTabContent = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.nameKey = undefined;
|
|
13
|
-
this.selected = false;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
return (index.h(index.Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, index.h("div", { class: "fl-content-wrap" }, index.h("slot", null))));
|
|
17
|
-
}
|
|
18
|
-
};
|
|
9
|
+
const FlTabContent = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.nameKey = undefined;
|
|
13
|
+
this.selected = false;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (index.h(index.Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, index.h("div", { class: "fl-content-wrap" }, index.h("slot", null))));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
19
|
FlTabContent.style = flTabContentCss;
|
|
20
20
|
|
|
21
21
|
const flTabHeaderCss = ":host{display:block}:host p{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){:host p{font-size:var(--ptc-font-size-small)}}";
|
|
22
22
|
|
|
23
|
-
const FlTabHeader = class {
|
|
24
|
-
constructor(hostRef) {
|
|
25
|
-
index.registerInstance(this, hostRef);
|
|
26
|
-
this.flTabClicked = index.createEvent(this, "flTabClicked", 7);
|
|
27
|
-
this.tabTitle = undefined;
|
|
28
|
-
this.nameKey = undefined;
|
|
29
|
-
this.selected = false;
|
|
30
|
-
}
|
|
31
|
-
handleClick(event) {
|
|
32
|
-
this.flTabClicked.emit({
|
|
33
|
-
'sender': this,
|
|
34
|
-
'event': event,
|
|
35
|
-
'name': this.nameKey
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
render() {
|
|
39
|
-
return (index.h(index.Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, index.h("slot", null), index.h("p", null, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
|
|
40
|
-
}
|
|
41
|
-
get el() { return index.getElement(this); }
|
|
42
|
-
};
|
|
23
|
+
const FlTabHeader = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
index.registerInstance(this, hostRef);
|
|
26
|
+
this.flTabClicked = index.createEvent(this, "flTabClicked", 7);
|
|
27
|
+
this.tabTitle = undefined;
|
|
28
|
+
this.nameKey = undefined;
|
|
29
|
+
this.selected = false;
|
|
30
|
+
}
|
|
31
|
+
handleClick(event) {
|
|
32
|
+
this.flTabClicked.emit({
|
|
33
|
+
'sender': this,
|
|
34
|
+
'event': event,
|
|
35
|
+
'name': this.nameKey
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (index.h(index.Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, index.h("slot", null), index.h("p", null, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
|
|
40
|
+
}
|
|
41
|
+
get el() { return index.getElement(this); }
|
|
42
|
+
};
|
|
43
43
|
FlTabHeader.style = flTabHeaderCss;
|
|
44
44
|
|
|
45
45
|
const flTabImageCss = ":host{display:none;height:240px}@media only screen and (min-width: 480px){:host{height:320px}}@media only screen and (min-width: 768px){:host{height:450px}}@media only screen and (min-width: 992px){:host{height:500px}}:host(.init-active){display:block}:host(.selected){display:block}";
|
|
46
46
|
|
|
47
|
-
const FlTabImage = class {
|
|
48
|
-
constructor(hostRef) {
|
|
49
|
-
index.registerInstance(this, hostRef);
|
|
50
|
-
this.nameKey = undefined;
|
|
51
|
-
this.selected = false;
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
return (index.h(index.Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, index.h("slot", null)));
|
|
55
|
-
}
|
|
56
|
-
};
|
|
47
|
+
const FlTabImage = class {
|
|
48
|
+
constructor(hostRef) {
|
|
49
|
+
index.registerInstance(this, hostRef);
|
|
50
|
+
this.nameKey = undefined;
|
|
51
|
+
this.selected = false;
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return (index.h(index.Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, index.h("slot", null)));
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
57
|
FlTabImage.style = flTabImageCss;
|
|
58
58
|
|
|
59
59
|
exports.fl_tab_content = FlTabContent;
|
|
@@ -2,52 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
7
|
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
|
|
8
8
|
|
|
9
|
-
const IconAsset = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.regularSprite = index.getAssetPath('./media/regular.svg');
|
|
13
|
-
this.solidSprite = index.getAssetPath('./media/solid.svg');
|
|
14
|
-
this.brandSprite = index.getAssetPath('./media/brands.svg');
|
|
15
|
-
this.ptcSprite = index.getAssetPath('./media/designer.svg');
|
|
16
|
-
this.name = undefined;
|
|
17
|
-
this.size = 'xx-small';
|
|
18
|
-
this.type = 'regular';
|
|
19
|
-
this.spin = '';
|
|
20
|
-
this.pulse = '';
|
|
21
|
-
this.color = 'default';
|
|
22
|
-
this.isMobileSelect = undefined;
|
|
23
|
-
this.injectedStyle = undefined;
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const classMap = this.getCssClassMap();
|
|
27
|
-
if (this.type == 'brands') {
|
|
28
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
29
|
-
}
|
|
30
|
-
else if (this.type == 'solid') {
|
|
31
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
32
|
-
}
|
|
33
|
-
else if (this.type == 'ptc') {
|
|
34
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
getCssClassMap() {
|
|
41
|
-
return {
|
|
42
|
-
[this.size]: true,
|
|
43
|
-
[this.spin]: true,
|
|
44
|
-
[this.pulse]: true,
|
|
45
|
-
[this.color]: true,
|
|
46
|
-
['ismobileselect']: this.isMobileSelect ? true : false
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
static get assetsDirs() { return ["media"]; }
|
|
50
|
-
};
|
|
9
|
+
const IconAsset = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.regularSprite = index.getAssetPath('./media/regular.svg');
|
|
13
|
+
this.solidSprite = index.getAssetPath('./media/solid.svg');
|
|
14
|
+
this.brandSprite = index.getAssetPath('./media/brands.svg');
|
|
15
|
+
this.ptcSprite = index.getAssetPath('./media/designer.svg');
|
|
16
|
+
this.name = undefined;
|
|
17
|
+
this.size = 'xx-small';
|
|
18
|
+
this.type = 'regular';
|
|
19
|
+
this.spin = '';
|
|
20
|
+
this.pulse = '';
|
|
21
|
+
this.color = 'default';
|
|
22
|
+
this.isMobileSelect = undefined;
|
|
23
|
+
this.injectedStyle = undefined;
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const classMap = this.getCssClassMap();
|
|
27
|
+
if (this.type == 'brands') {
|
|
28
|
+
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
29
|
+
}
|
|
30
|
+
else if (this.type == 'solid') {
|
|
31
|
+
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
32
|
+
}
|
|
33
|
+
else if (this.type == 'ptc') {
|
|
34
|
+
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
getCssClassMap() {
|
|
41
|
+
return {
|
|
42
|
+
[this.size]: true,
|
|
43
|
+
[this.spin]: true,
|
|
44
|
+
[this.pulse]: true,
|
|
45
|
+
[this.color]: true,
|
|
46
|
+
['ismobileselect']: this.isMobileSelect ? true : false
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static get assetsDirs() { return ["media"]; }
|
|
50
|
+
};
|
|
51
51
|
IconAsset.style = iconAssetCss;
|
|
52
52
|
|
|
53
53
|
exports.icon_asset = IconAsset;
|
|
@@ -166,14 +166,6 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
166
166
|
}
|
|
167
167
|
return vnode;
|
|
168
168
|
};
|
|
169
|
-
/**
|
|
170
|
-
* A utility function for creating a virtual DOM node from a tag and some
|
|
171
|
-
* possible text content.
|
|
172
|
-
*
|
|
173
|
-
* @param tag the tag for this element
|
|
174
|
-
* @param text possible text content for the node
|
|
175
|
-
* @returns a newly-minted virtual DOM node
|
|
176
|
-
*/
|
|
177
169
|
const newVNode = (tag, text) => {
|
|
178
170
|
const vnode = {
|
|
179
171
|
$flags$: 0,
|
|
@@ -194,12 +186,6 @@ const newVNode = (tag, text) => {
|
|
|
194
186
|
return vnode;
|
|
195
187
|
};
|
|
196
188
|
const Host = {};
|
|
197
|
-
/**
|
|
198
|
-
* Check whether a given node is a Host node or not
|
|
199
|
-
*
|
|
200
|
-
* @param node the virtual DOM node to check
|
|
201
|
-
* @returns whether it's a Host node or not
|
|
202
|
-
*/
|
|
203
189
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
204
190
|
/**
|
|
205
191
|
* Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
|
|
@@ -212,13 +198,6 @@ const vdomFnUtils = {
|
|
|
212
198
|
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
213
199
|
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
214
200
|
};
|
|
215
|
-
/**
|
|
216
|
-
* Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
|
|
217
|
-
* friendlier public interface (hence, 'convertToPublic').
|
|
218
|
-
*
|
|
219
|
-
* @param node the virtual DOM node to convert
|
|
220
|
-
* @returns a converted child node
|
|
221
|
-
*/
|
|
222
201
|
const convertToPublic = (node) => ({
|
|
223
202
|
vattrs: node.$attrs$,
|
|
224
203
|
vchildren: node.$children$,
|
|
@@ -227,15 +206,6 @@ const convertToPublic = (node) => ({
|
|
|
227
206
|
vtag: node.$tag$,
|
|
228
207
|
vtext: node.$text$,
|
|
229
208
|
});
|
|
230
|
-
/**
|
|
231
|
-
* Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
|
|
232
|
-
* order to use the resulting object in the virtual DOM. The initial object was
|
|
233
|
-
* likely created as part of presenting a public API, so converting it back
|
|
234
|
-
* involved making it 'private' again (hence, `convertToPrivate`).
|
|
235
|
-
*
|
|
236
|
-
* @param node the child node to convert
|
|
237
|
-
* @returns a converted virtual DOM node
|
|
238
|
-
*/
|
|
239
209
|
const convertToPrivate = (node) => {
|
|
240
210
|
if (typeof node.vtag === 'function') {
|
|
241
211
|
const vnodeData = Object.assign({}, node.vattrs);
|
|
@@ -706,21 +676,6 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
706
676
|
}
|
|
707
677
|
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
708
678
|
};
|
|
709
|
-
/**
|
|
710
|
-
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
711
|
-
* add them to the DOM in the appropriate place.
|
|
712
|
-
*
|
|
713
|
-
* @param parentElm the DOM node which should be used as a parent for the new
|
|
714
|
-
* DOM nodes
|
|
715
|
-
* @param before a child of the `parentElm` which the new children should be
|
|
716
|
-
* inserted before (optional)
|
|
717
|
-
* @param parentVNode the parent virtual DOM node
|
|
718
|
-
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
719
|
-
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
720
|
-
* creating DOM nodes (inclusive)
|
|
721
|
-
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
722
|
-
* creating DOM nodes (inclusive)
|
|
723
|
-
*/
|
|
724
679
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
725
680
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
726
681
|
let childNode;
|
|
@@ -737,19 +692,6 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
737
692
|
}
|
|
738
693
|
}
|
|
739
694
|
};
|
|
740
|
-
/**
|
|
741
|
-
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
742
|
-
* This can be used to, for instance, clean up after a list of children which
|
|
743
|
-
* should no longer be shown.
|
|
744
|
-
*
|
|
745
|
-
* This function also handles some of Stencil's slot relocation logic.
|
|
746
|
-
*
|
|
747
|
-
* @param vnodes a list of virtual DOM nodes to remove
|
|
748
|
-
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
749
|
-
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
750
|
-
* @param vnode a VNode
|
|
751
|
-
* @param elm an element
|
|
752
|
-
*/
|
|
753
695
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
754
696
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
755
697
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -1028,8 +970,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1028
970
|
*
|
|
1029
971
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
1030
972
|
* changing order within a `children` array or something along those lines then
|
|
1031
|
-
* we could obtain a false
|
|
1032
|
-
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
973
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
1033
974
|
*
|
|
1034
975
|
* @param leftVNode the first VNode to check
|
|
1035
976
|
* @param rightVNode the second VNode to check
|
|
@@ -1257,18 +1198,6 @@ const callNodeRefs = (vNode) => {
|
|
|
1257
1198
|
vNode.$children$ && vNode.$children$.map(callNodeRefs);
|
|
1258
1199
|
}
|
|
1259
1200
|
};
|
|
1260
|
-
/**
|
|
1261
|
-
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
1262
|
-
*
|
|
1263
|
-
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
1264
|
-
* function will handle creating a virtual DOM tree with a single root, patching
|
|
1265
|
-
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
1266
|
-
* relocation, and reflecting attributes.
|
|
1267
|
-
*
|
|
1268
|
-
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
1269
|
-
* the DOM node into which it should be rendered.
|
|
1270
|
-
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
1271
|
-
*/
|
|
1272
1201
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
1273
1202
|
const hostElm = hostRef.$hostElement$;
|
|
1274
1203
|
const cmpMeta = hostRef.$cmpMeta$;
|