@ptcwebops/ptcw-design 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_13.cjs.entry.js +767 -0
- package/dist/cjs/{index-3adcf9f4.js → index-b3fabe79.js} +2 -0
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lottie-player.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-plm.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card.cjs.entry.js +79 -0
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-date.cjs.entry.js +59 -0
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +18 -4
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img_2.cjs.entry.js +185 -0
- package/dist/cjs/ptc-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-lottie.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-footer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-header.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pagenation.cjs.entry.js +115 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
- package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
- package/dist/cjs/ptc-span.cjs.entry.js +1 -1
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab-list.cjs.entry.js +5 -3
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +2 -2
- package/dist/cjs/tab-content.cjs.entry.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +3 -3
- package/dist/collection/components/icon-asset/media/designer.svg +3 -3
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +2 -2
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +4 -0
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +13 -1
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +19 -1
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +42 -4
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +6 -1
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +1 -1
- package/dist/collection/components/ptc-para/ptc-para.css +4 -0
- package/dist/collection/components/ptc-para/ptc-para.js +13 -3
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +8 -3
- package/dist/collection/components/tab-header/tab-header.css +1 -0
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/custom-elements/index.js +46 -16
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/icon-asset_13.entry.js +751 -0
- package/dist/esm/{index-f64012bd.js → index-a91c2367.js} +3 -1
- package/dist/esm/{interfaces-3cb94654.js → interfaces-c1c73092.js} +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottie-player.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card-plm.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +75 -0
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +55 -0
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +18 -4
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-img_2.entry.js +180 -0
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-lottie.entry.js +1 -1
- package/dist/esm/ptc-minimized-footer.entry.js +1 -1
- package/dist/esm/ptc-minimized-header.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-nav-item.entry.js +1 -1
- package/dist/esm/ptc-nav.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +111 -0
- package/dist/esm/ptc-picture.entry.js +2 -2
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-social-share.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +5 -3
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptcw-design.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +3 -3
- package/dist/ptcw-design/media/designer.svg +3 -3
- package/dist/ptcw-design/{p-d64c3892.entry.js → p-0004abbb.entry.js} +1 -1
- package/dist/ptcw-design/{p-5069bb7d.entry.js → p-03648d85.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5951736.entry.js → p-07e08a42.entry.js} +1 -1
- package/dist/ptcw-design/p-08b4804a.entry.js +1 -0
- package/dist/ptcw-design/{p-612f7224.entry.js → p-09abf994.entry.js} +1 -1
- package/dist/ptcw-design/{p-72e6a3f1.entry.js → p-2173493c.entry.js} +1 -1
- package/dist/ptcw-design/p-22a11703.js +1 -0
- package/dist/ptcw-design/{p-fe957cbf.entry.js → p-273ff521.entry.js} +1 -1
- package/dist/ptcw-design/{p-46cf7f48.entry.js → p-2bec91cd.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ea08e1d.entry.js → p-2f0223da.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a1808f8.entry.js → p-30f33198.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c6b8bc9.entry.js → p-3f0d3485.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbf3779e.entry.js → p-401e8ad1.entry.js} +1 -1
- package/dist/ptcw-design/p-43e3f76e.entry.js +1 -0
- package/dist/ptcw-design/p-4a653f7f.entry.js +1 -0
- package/dist/ptcw-design/{p-240733ce.js → p-50e52c88.js} +1 -1
- package/dist/ptcw-design/p-57f553f0.entry.js +1 -0
- package/dist/ptcw-design/{p-76635841.entry.js → p-735fb369.entry.js} +1 -1
- package/dist/ptcw-design/{p-28174fbe.entry.js → p-77327ab7.entry.js} +1 -1
- package/dist/ptcw-design/p-7c112bdc.entry.js +1 -0
- package/dist/ptcw-design/{p-796b4a16.entry.js → p-80be8fe1.entry.js} +1 -1
- package/dist/ptcw-design/p-831f5c16.entry.js +1 -0
- package/dist/ptcw-design/{p-3f236e98.entry.js → p-870406ab.entry.js} +1 -1
- package/dist/ptcw-design/{p-b146377a.entry.js → p-90266709.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b3a38c3.entry.js → p-a0ddea6e.entry.js} +1 -1
- package/dist/ptcw-design/{p-3a972520.entry.js → p-a3e99867.entry.js} +1 -1
- package/dist/ptcw-design/p-a53873e9.entry.js +1 -0
- package/dist/ptcw-design/{p-0c86ac1a.entry.js → p-a6a938d2.entry.js} +1 -1
- package/dist/ptcw-design/p-aab72f28.entry.js +1 -0
- package/dist/ptcw-design/{p-dc605137.entry.js → p-b1354b54.entry.js} +1 -1
- package/dist/ptcw-design/{p-18d0d10a.entry.js → p-b22d9c93.entry.js} +1 -1
- package/dist/ptcw-design/{p-cd3fbbb1.entry.js → p-b59e68b8.entry.js} +1 -1
- package/dist/ptcw-design/{p-204a78ce.entry.js → p-b614e18a.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc18ae76.entry.js → p-b6a9d66f.entry.js} +1 -1
- package/dist/ptcw-design/{p-7448f767.entry.js → p-b8dff289.entry.js} +1 -1
- package/dist/ptcw-design/p-b985e510.entry.js +1 -0
- package/dist/ptcw-design/{p-3f136737.entry.js → p-ca54a4bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-e5bfbb91.entry.js → p-dac5d058.entry.js} +1 -1
- package/dist/ptcw-design/{p-781aacb7.entry.js → p-f4148769.entry.js} +1 -1
- package/dist/ptcw-design/{p-58a3c173.entry.js → p-f4bab4bf.entry.js} +1 -1
- package/dist/ptcw-design/p-f8c949be.entry.js +1 -0
- package/dist/ptcw-design/{p-44cb62a9.entry.js → p-fd6eaf5b.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +1 -0
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +2 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -0
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/ptc-button.cjs.entry.js +0 -76
- package/dist/cjs/ptc-card_6.cjs.entry.js +0 -479
- package/dist/cjs/ptc-checkbox.cjs.entry.js +0 -42
- package/dist/cjs/ptc-container.cjs.entry.js +0 -46
- package/dist/cjs/ptc-dropdown.cjs.entry.js +0 -69
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +0 -39
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +0 -46
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-modal.cjs.entry.js +0 -162
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -31
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +0 -64
- package/dist/cjs/ptc-title.cjs.entry.js +0 -68
- package/dist/esm/icon-asset.entry.js +0 -60
- package/dist/esm/ptc-button.entry.js +0 -72
- package/dist/esm/ptc-card_6.entry.js +0 -470
- package/dist/esm/ptc-checkbox.entry.js +0 -38
- package/dist/esm/ptc-container.entry.js +0 -42
- package/dist/esm/ptc-dropdown.entry.js +0 -65
- package/dist/esm/ptc-filter-tag.entry.js +0 -35
- package/dist/esm/ptc-icon-minimize.entry.js +0 -42
- package/dist/esm/ptc-link.entry.js +0 -49
- package/dist/esm/ptc-modal.entry.js +0 -158
- package/dist/esm/ptc-overlay.entry.js +0 -27
- package/dist/esm/ptc-shopping-cart.entry.js +0 -60
- package/dist/esm/ptc-title.entry.js +0 -64
- package/dist/ptcw-design/p-021d2117.entry.js +0 -1
- package/dist/ptcw-design/p-07c07cf9.entry.js +0 -1
- package/dist/ptcw-design/p-1726a0cb.entry.js +0 -1
- package/dist/ptcw-design/p-3918de53.entry.js +0 -1
- package/dist/ptcw-design/p-3d3c73b1.entry.js +0 -1
- package/dist/ptcw-design/p-412ca190.entry.js +0 -1
- package/dist/ptcw-design/p-489715bf.entry.js +0 -1
- package/dist/ptcw-design/p-52b80149.entry.js +0 -1
- package/dist/ptcw-design/p-7133275c.entry.js +0 -1
- package/dist/ptcw-design/p-818df883.entry.js +0 -1
- package/dist/ptcw-design/p-a28c7277.entry.js +0 -1
- package/dist/ptcw-design/p-c3e79e54.entry.js +0 -1
- package/dist/ptcw-design/p-d8b48946.entry.js +0 -1
- package/dist/ptcw-design/p-d93ae820.entry.js +0 -1
- package/dist/ptcw-design/p-e8a60227.js +0 -1
- package/dist/ptcw-design/p-ee61991d.entry.js +0 -1
- package/dist/ptcw-design/p-ef93bfcc.entry.js +0 -1
- package/dist/ptcw-design/p-f32f9817.entry.js +0 -1
- package/dist/ptcw-design/p-fa681f61.entry.js +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const CloseIcon = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.88956 3.99986L8.00002 0.888695L7.11135 -0.000183105L4.00089 3.11099L0.890644 2.34688e-05L0.00197005 0.888902L3.11222 3.99986L0.00195312 7.11084L0.890627 7.99972L4.00089 4.88874L7.11136 7.99993L8.00003 7.11105L4.88956 3.99986Z" fill="#9AA6AD"/>
|
|
5
|
-
</svg>
|
|
6
|
-
`;
|
|
7
|
-
|
|
8
|
-
const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}";
|
|
9
|
-
|
|
10
|
-
let PtcFilterTag = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.clicked = createEvent(this, "clicked", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Theme
|
|
16
|
-
*/
|
|
17
|
-
this.theme = 'bubble';
|
|
18
|
-
this.handleClick = () => {
|
|
19
|
-
this.clicked.emit(this);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
const classMap = this.getCssClassMap();
|
|
24
|
-
return (h(Host, null, h("span", { class: classMap, onClick: () => this.handleClick() }, h("slot", null), h("span", { class: "cls", innerHTML: CloseIcon }))));
|
|
25
|
-
}
|
|
26
|
-
getCssClassMap() {
|
|
27
|
-
return {
|
|
28
|
-
['ptc-filter-tag']: true,
|
|
29
|
-
[this.theme]: true
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
PtcFilterTag.style = ptcFilterTagCss;
|
|
34
|
-
|
|
35
|
-
export { PtcFilterTag as ptc_filter_tag };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ptcIconMinimizeCss = ".content{transition:max-height ease-out 250ms;overflow:hidden;max-height:0}.ptc-icon-minimize .header{display:flex;justify-content:space-between;align-items:center;align-content:center}.ptc-icon-minimize .header .title{color:var(--color-gray-10);font-family:\"Raleway\";font-style:normal;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-normal)}.ptc-icon-minimize .header .icon{cursor:pointer;border:1px solid var(--color-gray-10);border-radius:2px;transition:background-color ease-out 250ms;background-color:transparent;vertical-align:middle;height:1.25rem;width:1.25rem;text-align:center}.ptc-icon-minimize .header .icon:hover{background-color:var(--color-gray-02)}.ptc-icon-minimize .header .icon icon-asset{position:relative}";
|
|
4
|
-
|
|
5
|
-
let PtcIconMinimize = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.opened = true;
|
|
9
|
-
}
|
|
10
|
-
componentDidLoad() {
|
|
11
|
-
let content = this.host.shadowRoot.querySelector('.content');
|
|
12
|
-
if (this.opened && !content.style.maxHeight) {
|
|
13
|
-
content.style.maxHeight = content.scrollHeight + "px";
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
dropdownToggle() {
|
|
17
|
-
this.opened = !this.opened;
|
|
18
|
-
}
|
|
19
|
-
getScrollHeight() {
|
|
20
|
-
let result = undefined;
|
|
21
|
-
let content = this.host.shadowRoot.querySelector('.content');
|
|
22
|
-
if (this.opened && content) {
|
|
23
|
-
result = { 'max-height': content.scrollHeight + "px" };
|
|
24
|
-
}
|
|
25
|
-
else if (this.opened) {
|
|
26
|
-
result = { 'max-height': 350 + "px" };
|
|
27
|
-
}
|
|
28
|
-
else if (content && content.style.maxHeight) {
|
|
29
|
-
content.style.removeProperty('max-height');
|
|
30
|
-
}
|
|
31
|
-
return result;
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
let scrollHeight = this.getScrollHeight();
|
|
35
|
-
let icon = this.opened ? 'minus' : 'plus';
|
|
36
|
-
return (h("div", { class: "ptc-icon-minimize" }, h("div", { class: "header" }, h("div", { class: "title" }, this.heading), h("div", { class: "icon", onClick: () => this.dropdownToggle() }, h("icon-asset", { type: "solid", size: "xxx-small", name: icon }))), h("div", { class: "content", style: scrollHeight }, h("slot", null))));
|
|
37
|
-
}
|
|
38
|
-
get host() { return getElement(this); }
|
|
39
|
-
};
|
|
40
|
-
PtcIconMinimize.style = ptcIconMinimizeCss;
|
|
41
|
-
|
|
42
|
-
export { PtcIconMinimize as ptc_icon_minimize };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);outline:none;text-decoration:none}.simple::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-ease-inout);border-bottom:2px solid var(--color-green-07);opacity:0}.simple:hover.simple::after{opacity:1}.product-link{font-weight:var(--ptc-font-weight-extrabold);margin-top:var(--ptc-element-spacing-04)}.product-link::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-ease-inout);border-bottom:2px solid var(--color-green-07);opacity:1;color:var(--color-green-07)}.product-link:hover.product-link{color:var(--color-green-07)}.product-link:hover.product-link::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-07);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-ease-inout)}.arrow:hover.arrow::after{width:100%}.underline{border-bottom:2px solid var(--color-green-07)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.large{font-size:var(--ptc-font-size-medium)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-ease-inout);transform:translateY(2px)}.ptc-link.arrow icon-asset svg{fill:var(--color-green-07) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 3%)}.ptc-link.arrow-plm svg{fill:var(--color-green-07) !important}.ptc-link:hover.arrow icon-asset{transform:translate(var(--ptc-element-spacing-04), 2px)}.nav-title:focus,.nav-title-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.arrow-plm:hover{text-decoration-color:var(--color-green-07)}";
|
|
4
|
-
|
|
5
|
-
let PtcLink = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
/**
|
|
9
|
-
* Disabled link
|
|
10
|
-
*/
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
/**
|
|
13
|
-
* Rxternal link
|
|
14
|
-
* */
|
|
15
|
-
this.external = false;
|
|
16
|
-
/**
|
|
17
|
-
* Target
|
|
18
|
-
*/
|
|
19
|
-
this.target = '_self';
|
|
20
|
-
/**
|
|
21
|
-
* Theme
|
|
22
|
-
*/
|
|
23
|
-
this.theme = 'simple';
|
|
24
|
-
/**
|
|
25
|
-
* Uppercase
|
|
26
|
-
*/
|
|
27
|
-
this.uppercase = false;
|
|
28
|
-
/**
|
|
29
|
-
* Font Size
|
|
30
|
-
*/
|
|
31
|
-
this.fontSize = 'medium';
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
const classMap = this.getCssClassMap();
|
|
35
|
-
return (h(Host, null, h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? h("icon-asset", { type: "solid", size: "x-small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? h("icon-asset", { type: "ptc", size: "xxx-small", name: "button-arrow-right" }) : '', h("slot", null))));
|
|
36
|
-
}
|
|
37
|
-
getCssClassMap() {
|
|
38
|
-
return {
|
|
39
|
-
['ptc-link']: true,
|
|
40
|
-
[this.theme]: true,
|
|
41
|
-
['uppercase']: this.uppercase,
|
|
42
|
-
['disabled']: this.disabled,
|
|
43
|
-
[this.fontSize]: true,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
PtcLink.style = ptcLinkCss;
|
|
48
|
-
|
|
49
|
-
export { PtcLink as ptc_link };
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ptcModalCss = ":host{display:block}.wrapper{position:fixed;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper .modal-popup.shadow-scroller{max-height:756px}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:var(--spacing-md);right:var(--spacing-md);margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden;overflow-y:auto}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:72px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";
|
|
4
|
-
|
|
5
|
-
let PtcModal = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.closed = createEvent(this, "closed", 7);
|
|
9
|
-
this.opened = createEvent(this, "opened", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Sets if popup should close if click on outside
|
|
12
|
-
*/
|
|
13
|
-
this.size = 'sm';
|
|
14
|
-
/**
|
|
15
|
-
* Set whether or not to display modal
|
|
16
|
-
*/
|
|
17
|
-
this.show = false;
|
|
18
|
-
/**
|
|
19
|
-
* Sets if popup should overlay
|
|
20
|
-
*/
|
|
21
|
-
this.overlay = true;
|
|
22
|
-
/**
|
|
23
|
-
* Sets if popup should close if click on outside
|
|
24
|
-
*/
|
|
25
|
-
this.closeOnBlur = false;
|
|
26
|
-
/**
|
|
27
|
-
* Sets if popup should have rounded corners
|
|
28
|
-
*/
|
|
29
|
-
this.rounded = false;
|
|
30
|
-
/**
|
|
31
|
-
* Sets if popup should have header footer sections
|
|
32
|
-
*/
|
|
33
|
-
this.showHeaderFooter = false;
|
|
34
|
-
}
|
|
35
|
-
fireOnClosed(modal) {
|
|
36
|
-
this.closed.emit(modal);
|
|
37
|
-
}
|
|
38
|
-
fireOnOpened(modal) {
|
|
39
|
-
this.opened.emit(modal);
|
|
40
|
-
}
|
|
41
|
-
componentWillLoad() {
|
|
42
|
-
let body = document.querySelector('body');
|
|
43
|
-
this.bodyOverflowSetting = {
|
|
44
|
-
//overflow: body.style['overflow'],
|
|
45
|
-
overflowY: body.style['overflowY'],
|
|
46
|
-
overflowX: body.style['overflowX'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
componentWillRender() {
|
|
50
|
-
let body = document.querySelector('body');
|
|
51
|
-
if (body) {
|
|
52
|
-
if (this.show) {
|
|
53
|
-
//body.style['overflow'] = 'hidden';
|
|
54
|
-
body.style['overflowY'] = 'scroll';
|
|
55
|
-
body.style['overflowX'] = 'hidden';
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
//body.style['overflow'] = this.bodyOverflowSetting.overflow;
|
|
59
|
-
body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
|
|
60
|
-
body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
componentDidLoad() {
|
|
65
|
-
if (this.show) {
|
|
66
|
-
this.fireOnOpened(this);
|
|
67
|
-
}
|
|
68
|
-
if (this.showHeaderFooter) {
|
|
69
|
-
this.handleScroll();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
componentDidUpdate() {
|
|
73
|
-
if (this.show) {
|
|
74
|
-
this.fireOnOpened(this);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
this.fireOnClosed(this);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
resizeIframe(e) {
|
|
81
|
-
let iFrame = e.target;
|
|
82
|
-
setTimeout(() => {
|
|
83
|
-
try {
|
|
84
|
-
iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
|
|
85
|
-
}
|
|
86
|
-
catch (error) {
|
|
87
|
-
console.log(error);
|
|
88
|
-
iFrame.height = '616px'; //default
|
|
89
|
-
iFrame.removeAttribute('scrolling');
|
|
90
|
-
}
|
|
91
|
-
iFrame.classList.add('ready');
|
|
92
|
-
}, 50);
|
|
93
|
-
}
|
|
94
|
-
handleScroll() {
|
|
95
|
-
let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
|
|
96
|
-
if (modal) {
|
|
97
|
-
let body = modal.querySelector('.modal-body');
|
|
98
|
-
var height = body.clientHeight;
|
|
99
|
-
var scrollHeight = body.scrollHeight;
|
|
100
|
-
var scrollTop = body.scrollTop;
|
|
101
|
-
var offset = body.offsetHeight;
|
|
102
|
-
if (height < scrollHeight) { //has scrollbar
|
|
103
|
-
if (scrollTop > 0) { //can scroll up
|
|
104
|
-
modal.classList.add('scroll-top');
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
modal.classList.remove('scroll-top');
|
|
108
|
-
}
|
|
109
|
-
if (offset + scrollTop < scrollHeight) { //can scroll down
|
|
110
|
-
modal.classList.add('scroll-bottom');
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
modal.classList.remove('scroll-bottom');
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
close() {
|
|
119
|
-
this.show = false;
|
|
120
|
-
}
|
|
121
|
-
render() {
|
|
122
|
-
let content;
|
|
123
|
-
let overlay;
|
|
124
|
-
let type = this.iframeUrl ? 'frame' : 'html';
|
|
125
|
-
let closebtn = (h("div", { class: "close" }, h("a", { href: "#", onClick: (e) => { e.preventDefault(); this.close(); } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { d: "M1 1L13 13", stroke: "black" }), h("path", { d: "M13 1L1 13", stroke: "black" })))));
|
|
126
|
-
if (this.iframeUrl) {
|
|
127
|
-
content = (h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
if (this.showHeaderFooter) {
|
|
131
|
-
content = (h("slot", { name: "body" }));
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
content = (h("slot", null));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
if (this.overlay) {
|
|
138
|
-
if (this.closeOnBlur) {
|
|
139
|
-
overlay = h("div", { class: "overlay", onClick: (_) => this.close() });
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
overlay = h("div", { class: "overlay" });
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return (h(Host, null, h("div", { class: `wrapper ${this.show ? "show" : "hide"}` }, overlay, h("div", { class: `modal-popup ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
|
|
146
|
-
h("div", { class: "modal-header" }, h("slot", { name: "header" }), closebtn),
|
|
147
|
-
h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
|
|
148
|
-
h("div", { class: "modal-footer" }, h("slot", { name: "footer" }))
|
|
149
|
-
] : [
|
|
150
|
-
closebtn,
|
|
151
|
-
h("div", { class: "modal-body" }, content)
|
|
152
|
-
]))));
|
|
153
|
-
}
|
|
154
|
-
get el() { return getElement(this); }
|
|
155
|
-
};
|
|
156
|
-
PtcModal.style = ptcModalCss;
|
|
157
|
-
|
|
158
|
-
export { PtcModal as ptc_modal };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ptcOverlayCss = ":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
|
|
4
|
-
|
|
5
|
-
let PtcOverlay = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
/**
|
|
9
|
-
* Overlay z-index
|
|
10
|
-
*/
|
|
11
|
-
this.overlayZIndex = 'z-index-auto';
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
const classMap = this.getCssClassMap();
|
|
15
|
-
return h(Host, { class: classMap });
|
|
16
|
-
}
|
|
17
|
-
getCssClassMap() {
|
|
18
|
-
return {
|
|
19
|
-
[this.filterColor]: !!this.filterColor ? true : false,
|
|
20
|
-
[this.borderRadius]: !!this.borderRadius ? true : false,
|
|
21
|
-
[this.overlayZIndex]: true
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
PtcOverlay.style = ptcOverlayCss;
|
|
26
|
-
|
|
27
|
-
export { PtcOverlay as ptc_overlay };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
|
|
5
|
-
</svg>
|
|
6
|
-
`;
|
|
7
|
-
|
|
8
|
-
const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
|
|
10
|
-
</svg>
|
|
11
|
-
`;
|
|
12
|
-
|
|
13
|
-
const ptcShoppingCartCss = ":host .cart{border-radius:4px;display:inline-block;padding:0.45rem;max-height:28px}:host .cart .cart__count{position:relative;background:#D33E3E;height:20px;width:20px;text-align:center;border-radius:50%;color:white;left:18px;bottom:38px;vertical-align:middle;display:flex;justify-content:center;align-items:center;text-align:center;font-family:Raleway;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0em}:host .cart.black-background{background:rgba(0, 0, 0, 0.54)}:host .cart.clear-background{background:rgba(0, 0, 0, 0)}";
|
|
14
|
-
|
|
15
|
-
let PtcShoppingCart = class {
|
|
16
|
-
constructor(hostRef) {
|
|
17
|
-
registerInstance(this, hostRef);
|
|
18
|
-
this.color = 'white';
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const classMap = this.getCssClassMap();
|
|
22
|
-
const svg = this.color == 'black' ? ShoppingCartBlack : ShoppingCartWhite;
|
|
23
|
-
const svgClass = this.color == 'black' ? "cart clear-background" : "cart black-background";
|
|
24
|
-
return (h(Host, { class: classMap }, this.cartCount ? (h("div", { class: svgClass, innerHTML: svg }, h("div", { class: "cart__count" }, this.cartCount))) : (h("div", { class: svgClass, innerHTML: svg }))));
|
|
25
|
-
/*
|
|
26
|
-
if(this.color == 'black'){
|
|
27
|
-
return (
|
|
28
|
-
<Host class={classMap}>
|
|
29
|
-
{this.cartCount ? (
|
|
30
|
-
<div class="cart" innerHTML={ShoppingCartBlack}>
|
|
31
|
-
<div class="cart__count">{this.cartCount}</div>
|
|
32
|
-
</div>
|
|
33
|
-
) : (
|
|
34
|
-
<div innerHTML={ShoppingCartBlack}></div>)
|
|
35
|
-
}
|
|
36
|
-
</Host>
|
|
37
|
-
);
|
|
38
|
-
} else if(this.color == 'white'){
|
|
39
|
-
return(
|
|
40
|
-
<Host class={classMap}>
|
|
41
|
-
{this.cartCount ? (
|
|
42
|
-
<div class="cart black-background" innerHTML={ShoppingCartWhite}>
|
|
43
|
-
<div class="cart__count">{this.cartCount}</div>
|
|
44
|
-
</div>
|
|
45
|
-
) : (
|
|
46
|
-
<div innerHTML={ShoppingCartWhite} class="black-background"></div>)
|
|
47
|
-
}
|
|
48
|
-
</Host>
|
|
49
|
-
);
|
|
50
|
-
}*/
|
|
51
|
-
}
|
|
52
|
-
getCssClassMap() {
|
|
53
|
-
return {
|
|
54
|
-
['ptc-shopping-cart']: true,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
PtcShoppingCart.style = ptcShoppingCartCss;
|
|
59
|
-
|
|
60
|
-
export { PtcShoppingCart as ptc_shopping_cart };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-f64012bd.js';
|
|
2
|
-
|
|
3
|
-
const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-07);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-grey-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}";
|
|
4
|
-
|
|
5
|
-
let PtcTitle = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
/**
|
|
9
|
-
* Is this title using on the PLM Hub page
|
|
10
|
-
*/
|
|
11
|
-
this.isPlmHub = false;
|
|
12
|
-
/**
|
|
13
|
-
* Title Tag Type
|
|
14
|
-
*/
|
|
15
|
-
this.type = 'h2';
|
|
16
|
-
/**
|
|
17
|
-
* Upperline Style
|
|
18
|
-
*/
|
|
19
|
-
this.upperline = 'dotted';
|
|
20
|
-
/**
|
|
21
|
-
* Title line height
|
|
22
|
-
*/
|
|
23
|
-
this.titleHeight = 'paragraph';
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const classMap = this.getCssClassMap();
|
|
27
|
-
let TagType;
|
|
28
|
-
switch (this.type) {
|
|
29
|
-
case 'h1':
|
|
30
|
-
TagType = 'h1';
|
|
31
|
-
break;
|
|
32
|
-
case 'h3':
|
|
33
|
-
TagType = 'h3';
|
|
34
|
-
break;
|
|
35
|
-
case 'h4':
|
|
36
|
-
TagType = 'h4';
|
|
37
|
-
break;
|
|
38
|
-
case 'h5':
|
|
39
|
-
TagType = 'h5';
|
|
40
|
-
break;
|
|
41
|
-
case 'h6':
|
|
42
|
-
TagType = 'h6';
|
|
43
|
-
break;
|
|
44
|
-
default:
|
|
45
|
-
TagType = 'h2';
|
|
46
|
-
}
|
|
47
|
-
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, null, h("slot", null)))));
|
|
48
|
-
}
|
|
49
|
-
getCssClassMap() {
|
|
50
|
-
return {
|
|
51
|
-
[this.textAlign]: !!this.textAlign ? true : false,
|
|
52
|
-
[this.upperline]: true,
|
|
53
|
-
[this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
|
|
54
|
-
[this.titleMargin]: !!this.titleMargin ? true : false,
|
|
55
|
-
[this.titleShadow]: !!this.titleShadow ? true : false,
|
|
56
|
-
[this.titleWeight]: !!this.titleWeight ? true : false,
|
|
57
|
-
[this.titleSize]: !!this.titleSize ? true : false,
|
|
58
|
-
[this.titleHeight]: !!this.titleHeight ? true : false
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
PtcTitle.style = ptcTitleCss;
|
|
63
|
-
|
|
64
|
-
export { PtcTitle as ptc_title };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as t}from"./p-e8a60227.js";let r=class{constructor(e){a(this,e),this.backgroundColor="white",this.elevation="small",this.containerType="normal",this.spacing="xxx-large"}render(){const a=this.getCssClassMap();return e(t,{class:this.getContainerClass()},e("div",{class:a},e("slot",null)))}getContainerClass(){switch(this.containerType){case"large":return"ptc-container-lg";case"none":return;default:return"ptc-container"}}getCssClassMap(){return{"content-wrapper":!0,[this.backgroundColor]:!0,[this.elevation]:!0,[`spacing-${this.spacing}`]:!0}}};r.style=":host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}.content-wrapper.spacing-xx-small{padding:var(--ptc-element-spacing-01)}.content-wrapper.spacing-x-small{padding:var(--ptc-element-spacing-02)}.content-wrapper.spacing-small{padding:var(--ptc-element-spacing-03)}.content-wrapper.spacing-medium{padding:var(--ptc-element-spacing-04)}.content-wrapper.spacing-large{padding:var(--ptc-element-spacing-05)}.content-wrapper.spacing-x-large{padding:var(--ptc-element-spacing-06)}.content-wrapper.spacing-xx-large{padding:var(--ptc-element-spacing-07)}.content-wrapper.spacing-xxx-large{padding:var(--ptc-element-spacing-08)}";export{r as ptc_container}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as a,H as e}from"./p-e8a60227.js";let o=class{constructor(a){r(this,a),this.overlayZIndex="z-index-auto"}render(){const r=this.getCssClassMap();return a(e,{class:r})}getCssClassMap(){return{[this.filterColor]:!!this.filterColor,[this.borderRadius]:!!this.borderRadius,[this.overlayZIndex]:!0}}};o.style=":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";export{o as ptc_overlay}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,c as r,h as a,H as e,g as t}from"./p-e8a60227.js";let l=class{constructor(a){o(this,a),this.closed=r(this,"closed",7),this.opened=r(this,"opened",7),this.size="sm",this.show=!1,this.overlay=!0,this.closeOnBlur=!1,this.rounded=!1,this.showHeaderFooter=!1}fireOnClosed(o){this.closed.emit(o)}fireOnOpened(o){this.opened.emit(o)}componentWillLoad(){let o=document.querySelector("body");this.bodyOverflowSetting={overflowY:o.style.overflowY,overflowX:o.style.overflowX}}componentWillRender(){let o=document.querySelector("body");o&&(this.show?(o.style.overflowY="scroll",o.style.overflowX="hidden"):(o.style.overflowY=this.bodyOverflowSetting.overflowY,o.style.overflowX=this.bodyOverflowSetting.overflowX))}componentDidLoad(){this.show&&this.fireOnOpened(this),this.showHeaderFooter&&this.handleScroll()}componentDidUpdate(){this.show?this.fireOnOpened(this):this.fireOnClosed(this)}resizeIframe(o){let r=o.target;setTimeout((()=>{try{r.height=`${r.contentDocument.body.scrollHeight}px`}catch(o){console.log(o),r.height="616px",r.removeAttribute("scrolling")}r.classList.add("ready")}),50)}handleScroll(){let o=this.el.shadowRoot.querySelector(".shadow-scroller");if(o){let t=o.querySelector(".modal-body");var r=t.scrollHeight,a=t.scrollTop,e=t.offsetHeight;t.clientHeight<r&&(a>0?o.classList.add("scroll-top"):o.classList.remove("scroll-top"),e+a<r?o.classList.add("scroll-bottom"):o.classList.remove("scroll-bottom"))}}close(){this.show=!1}render(){let o,r,t=this.iframeUrl?"frame":"html",l=a("div",{class:"close"},a("a",{href:"#",onClick:o=>{o.preventDefault(),this.close()}},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},a("path",{d:"M1 1L13 13",stroke:"black"}),a("path",{d:"M13 1L1 13",stroke:"black"}))));return o=this.iframeUrl?a("iframe",{src:this.iframeUrl,frameBorder:0,allowFullScreen:!1,height:"100%",width:"100%",scrolling:"no",onLoad:this.resizeIframe}):a("slot",this.showHeaderFooter?{name:"body"}:null),this.overlay&&(r=a("div",this.closeOnBlur?{class:"overlay",onClick:()=>this.close()}:{class:"overlay"})),a(e,null,a("div",{class:"wrapper "+(this.show?"show":"hide")},r,a("div",{class:`modal-popup ${this.size} ${t} ${this.rounded?"rounded":""} ${this.showHeaderFooter?"shadow-scroller":""} `},this.showHeaderFooter?[a("div",{class:"modal-header"},a("slot",{name:"header"}),l),a("div",{class:"modal-body",onScroll:()=>this.handleScroll()},o),a("div",{class:"modal-footer"},a("slot",{name:"footer"}))]:[l,a("div",{class:"modal-body"},o)])))}get el(){return t(this)}};l.style=":host{display:block}.wrapper{position:fixed;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper .modal-popup.shadow-scroller{max-height:756px}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:var(--spacing-md);right:var(--spacing-md);margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden;overflow-y:auto}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:72px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";export{l as ptc_modal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as r,H as l}from"./p-e8a60227.js";let i=class{constructor(r){t(this,r),this.clicked=e(this,"clicked",7),this.theme="bubble",this.handleClick=()=>{this.clicked.emit(this)}}render(){const t=this.getCssClassMap();return r(l,null,r("span",{class:t,onClick:()=>this.handleClick()},r("slot",null),r("span",{class:"cls",innerHTML:'<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4.88956 3.99986L8.00002 0.888695L7.11135 -0.000183105L4.00089 3.11099L0.890644 2.34688e-05L0.00197005 0.888902L3.11222 3.99986L0.00195312 7.11084L0.890627 7.99972L4.00089 4.88874L7.11136 7.99993L8.00003 7.11105L4.88956 3.99986Z" fill="#9AA6AD"/>\n</svg>\n'})))}getCssClassMap(){return{"ptc-filter-tag":!0,[this.theme]:!0}}};i.style='.ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:"Raleway";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}';export{i as ptc_filter_tag}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e,g as a,c as r}from"./p-e8a60227.js";import{R as o}from"./p-240733ce.js";let s=class{constructor(i){t(this,i),this.cardType="custom-card",this.cardHref=void 0,this.target="_self",this.rel=void 0,this.hasImage=!1,this.hasVideo=!1,this.hasLottie=!1,this.headingTransform="none"}render(){const t=this.cardHref?"a":"div",a=this.getCssClassMap();return i(e,Object.assign({},this.cardType?{class:this.cardType}:{}),this.styles&&i("style",null,this.styles),i("div",{class:"card-border",part:"border-wrapper"},i(t,Object.assign({class:a,part:"card-layout"},this.cardHref?{href:this.cardHref}:{},this.target&&this.cardHref?{target:this.target}:{},this.rel&&this.cardHref?{rel:this.rel}:{},this.ribbonText?{rel:this.ribbonText}:{}),this.hasImage||this.hasLottie||this.hasVideo?i("div",{class:"card-media",part:"media-wrapper"},this.getMediaSlot?i("slot",{name:this.getMediaSlot()}):null):null,this.ribbonText&&"listing-card"==this.cardType?i("div",{class:"ribbon-text"},`${this.ribbonText}`):null,i("div",{class:"card-body",part:"body-wrapper"},!this.cardDate||"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType?null:i("ptc-date",{"date-string":`${this.cardDate}`,"date-styles":"span{font-weight: 400;font-size: 16px;line-height: 19px;color: #282F35;margin-bottom:24px;display:inline-block;}"}),i("slot",{name:"slot-before-heading"}),this.heading?[i("h3",{class:`ptc-h3 ${this.headingTransform}`,part:"card-heading"},this.heading),i("slot",{name:"slot-after-heading"})]:null,i("slot",{name:"slot-description"}),this.cardDate&&"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType&&"hightlight-card"!==this.cardType?i("ptc-date",{"date-string":`${this.cardDate}`,"date-styles":"span{color:#40434a;font-size:var(--ptc-font-size-x-small);margin-top:var(--ptc-element-spacing-06);display:inline-block;}"}):null))))}getCssClassMap(){return{"card-layout":!0,"link-wrapper":!!this.cardType}}getMediaSlot(){return this.hasLottie?"slot-lottie":this.hasVideo?"slot-video":this.hasImage?"slot-image":null}};s.style=':host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:"";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:"";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc((-1) * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:449px;display:flex;flex-direction:row}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-layout{display:block;position:relative}:host(.listing-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-right:100px;margin-top:22px;background-color:var(--color-white);padding:4px 22px 5px 23px;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);color:var(--color-gray-11)}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:200px}:host(.listing-card) .card-body{padding:20px 38px 20px 20px}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small)}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:890px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:224px}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:890px;height:224px}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:385px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:385px}:host(.listing-card-horizontal) .card-body{padding:20px 38px 20px 20px;width:505px}:host(.listing-card-horizontal) .card-body .small{font-size:var(--ptc-font-size-x-small)}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}';let n=class{constructor(i){t(this,i),this.year=1900,this.month=0,this.day=1,this.country="en-US",this.dataSize="small"}render(){const t=this.getCssClassMap();return i(e,{class:t},this.dateStyles&&i("style",null,this.dateStyles),i("span",{part:"part-ptc-date"},this.getDate().toLocaleDateString(this.country,{year:"numeric",month:"short",day:"numeric"})))}getCssClassMap(){return{[this.dateColor]:!!this.dateColor,[this.dataSize]:!!this.dataSize}}getDate(){return this.dateString?new Date(this.dateString.replace(/-/g,"/")):new Date(this.year,this.month-1,this.day)}};n.style=":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";let l=class{constructor(i){t(this,i),this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.imageType="smart-bg",this.borderRadius="",this.loadMode="lazy-bg"}WindowResize(){this.setResponsiveBg()}render(){const t=this.getCssClassMap();return i(e,null,i("div",{class:t,"data-xs":`${this.imgUrl}:${this.sizeXs}`,"data-sm":`${this.imgUrl}:${this.sizeSm}`,"data-md":`${this.imgUrl}:${this.sizeMd}`,"data-lg":`${this.imgUrl}:${this.sizeLg}`},"smart-bg"==this.imageType?i("slot",null):null))}componentDidLoad(){this.addIntersectionObserver(),this.setResponsiveBg()}componentWillUpdate(){this.addIntersectionObserver(),this.setResponsiveBg()}setResponsiveBg(){let t,i,e=(this.el||document).querySelectorAll(o.selector),a=this.getCurrentBreakPoints();for(var r=0,s=e.length;r<s;r++)t=e[r],i=t.getAttribute("data-"+a),null!==i?t.style.backgroundImage="url('"+i+"')":"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}addIntersectionObserver(){if(this.imgUrl){if("IntersectionObserver"in window){let t=(this.el||document).querySelectorAll(".lazy-bg"),i=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const e=t.target;e.classList.remove("lazy-bg"),i.unobserve(e)}}))}));t.forEach((t=>{i.observe(t)}))}}else console.log("no image!")}getCssClassMap(){return{[this.imageType]:!0,"ptc-img":!0,[this.borderRadius]:!0,[this.loadMode]:!0}}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let a=o.envs.length-1;a>=0;a--)if(t=o.envs[a],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),console.log("remove test node"),t;return i.body.removeChild(e),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}get el(){return a(this)}};l.style=".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";let h=class{constructor(i){t(this,i),this.pageClicked=r(this,"pageClicked",7),this.numberOfItems=9,this.previousValue="Previous",this.lastValue="Next",this.pageNumbers=[],this.minPageNumber=1,this.maxPageNumber=4,this.clickedPageNumber=1,this.appendArray=!0,this.prevArrowImg="/dist/ptc/images/sidescroll-left-curved.svg",this.nextArrowImg="/dist/ptc/images/sidescroll-right-curved.svg",this.handleClick=()=>{this.clickedPageNumber<this.getPageCount()&&(this.clickedPageNumber+1<=this.maxPageNumber?this.handleClickPage(this.clickedPageNumber+1):(this.minPageNumber=this.minPageNumber+4,this.clickedPageNumber=this.clickedPageNumber+1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.handleClickPrev=()=>{this.clickedPageNumber>1&&(this.clickedPageNumber-1>=this.minPageNumber?this.handleClickPage(this.clickedPageNumber-1):(this.minPageNumber=this.minPageNumber-4,this.clickedPageNumber=this.clickedPageNumber-1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.getPageCount=()=>{let t=0;return 0!=this.totalCount&&(t=this.totalCount%this.numberOfItems==0?this.totalCount/this.numberOfItems:this.totalCount/this.numberOfItems+1),Math.floor(t)},this.getIndex=t=>{if(t){let t=this.getPageCount();this.maxPageNumber=t>=this.minPageNumber+3?this.minPageNumber+3:t,this.pageNumbers=[];for(let t=this.minPageNumber;t<=this.maxPageNumber;t++){let i=!1;t==this.clickedPageNumber&&(i=!0),this.pageNumbers=[...this.pageNumbers,{id:t+"Id",isActive:i,dataPage:t}]}}return this.pageNumbers}}render(){let t=this.getPageCount();return this.pageNumbers=[...this.getIndex(this.appendArray)],i("div",{class:"events-filter"},i("span",{class:1==this.clickedPageNumber?"events-filter-item disabled prev-text":"events-filter-item prev-text"},this.previousValue),i("img",{src:this.prevArrowImg,onClick:this.handleClickPrev,class:1==this.clickedPageNumber?"pagenation-arrow prev-page events-disable-arrows":"pagenation-arrow prev-page"}),this.pageNumbers.map((t=>i("a",{href:"#","data-url":t.id,"data-page":t.dataPage,class:t.isActive?"events-filter-item active":"events-filter-item",onClick:()=>this.handleClickPage(t.dataPage)},t.dataPage))),t>this.maxPageNumber?i("span",{class:"events-filter-dots"},". . ."):null,i("img",{src:this.nextArrowImg,onClick:this.handleClick,class:this.clickedPageNumber==t?"pagenation-arrow last-page events-disable-arrows":"pagenation-arrow last-page"}),i("span",{class:this.clickedPageNumber==t?"events-filter-item disabled last-text":"events-filter-item last-text"},this.lastValue))}handleClickPage(t){this.clickedPageNumber=t;let i=[];this.appendArray=!1,i=[...this.pageNumbers],i.map((i=>{i.isActive=i.dataPage==t})),this.pageNumbers=null,this.pageNumbers=[...i],this.pageClicked.emit(t)}};h.style=":host{display:block}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline;cursor:pointer}.last-text{display:inline;cursor:pointer}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-13);text-decoration:none}.events-filter .active{font-family:var(--ptc-font-latin);border-bottom:2px solid var(--color-green-13);font-weight:var(--ptc-font-weight-semibold)}.events-filter-item:hover,.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-green-14)}.events-filter .disabled{color:var(--color-white-01)}.events-filter-dots{padding:0rem;font-weight:var(--ptc-font-weight-extrabold);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-13);text-decoration:none}.events-disable-arrows{opacity:0.35}.events-enable-arrows{opacity:1}.events-small-dots{height:60px;margin-top:-25px}@media (min-width: 992px){.events-small-dots{height:80px;margin-top:-40px}}.last-page{transform:rotate(180deg)}";let p=class{constructor(i){t(this,i),this.fontSize="x-small",this.fontWeight="w-4",this.paraStyle="default",this.paraColor="primary-grey",this.paraLineH="line-height-normal"}render(){const t=this.getCssClassMap();return i("p",{class:t,part:"part-para"},i("slot",null))}getCssClassMap(){return{[this.fontSize]:!0,[this.fontWeight]:!0,[this.paraStyle]:!0,[this.paraMargin]:!!this.paraMargin,[this.paraColor]:!0,[this.paraLineH]:!0}}};p.style=":host{z-index:1}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}";let c=class{constructor(i){t(this,i),this.breakpoint="",this.size="medium",this.direction="vertical"}render(){const t=this.getCssClassMap();return i(e,{class:t})}getCssClassMap(){return{[this.size]:!0,"ptc-spacer-horizontal":"horizontal"===this.direction,"ptc-spacer-vertical":"vertical"===this.direction,"ptc-spacer-xx-small":"xx-small"===this.breakpoint,"ptc-spacer-x-small":"x-small"===this.breakpoint,"ptc-spacer-small":"small"===this.breakpoint,"ptc-spacer-medium":"medium"===this.breakpoint,"ptc-spacer-large":"large"===this.breakpoint,"ptc-spacer-x-large":"x-large"===this.breakpoint,"ptc-spacer-xx-large":"xx-large"===this.breakpoint}}};c.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";export{s as ptc_card,n as ptc_date,l as ptc_img,h as ptc_pagenation,p as ptc_para,c as ptc_spacer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as s,g as a}from"./p-e8a60227.js";let i=class{constructor(e){t(this,e)}componentDidLoad(){this.createGroup(),this.calculateHeaderTabsRendering()}onSelectedTab(t){let e=this;this.tabGroup.forEach((s=>{t.detail.then((t=>{s.header.name===t.name&&e.selectGroup(s)}))}))}calculateHeaderTabsRendering(){let t=this.host.querySelector(".tabs-header"),e=this.host.querySelector(".ellipsis-btn"),s=t.children,a=!1,i=[];t.classList.remove("active");for(let t=0;t<s.length;t++)s[t].style.removeProperty("display");for(let e=s.length-1;e>=0;e--){let l=s[e];t.scrollWidth>t.clientWidth&&(l.style.display="none",a=!0,i.push({value:l.getAttribute("name"),text:l.textContent}))}t.classList.add("active"),a?(e.classList.add("active"),e.dataItems=i.reverse()):(e.classList.remove("active"),e.dataItems=[])}createGroup(){let t=this,e=!1,s=!1,a=0,i=0,l=[],n=[];const o=Array.from(this.host.querySelectorAll("tab-header"));this.tabsHeader=o.map((t=>t.getChild().then((t=>{a++,a===o.length&&(e=!0),l.push(t)})))),this.tabsHeader=l;const r=Array.from(this.host.querySelectorAll("tab-content"));this.tabsContent=r.map((t=>t.getChild().then((t=>{i++,i===r.length&&(s=!0),n.push(t)})))),this.tabsContent=n;let c=setInterval((()=>{e&&s&&(clearInterval(c),t.tabGroup=t.tabsHeader.map((e=>{const s=t.tabsContent.find((t=>t.name===e.name));return{header:e,content:s}})),t.selectGroup(t.tabGroup[0]))}),100)}selectGroup(t){this.tabGroup.forEach((t=>{t.header.unselect(),t.content.unselect()})),t.header.select(),t.content.select()}onDropdownItemSelected(t){if(t){let e=this.tabGroup.find((e=>e.header.name==t.value));e&&this.selectGroup(e)}}render(){return e(s,null,e("div",{class:"tabs-header-container"},e("div",{class:"tabs-header"},e("slot",{name:"header"}))),e("div",{class:"tabs-content"},e("slot",{name:"content"})),e("ptc-ellipsis-dropdown",{class:"ellipsis-btn",onItemSelected:t=>{this.onDropdownItemSelected(t.detail)}}))}get host(){return a(this)}};i.style="ptc-tab-list{display:block;position:relative}.tabs-header-container{overflow:hidden;width:100%;border-bottom:2px solid #E4E7E9}.tabs-header{display:flex;padding-left:2rem;padding-right:2rem;transition:opacity ease-out 250ms;opacity:0;width:95%}.tabs-header.active{opacity:1}.tabs-content{padding:20px}.ellipsis-btn{position:absolute;top:1rem;right:1rem;display:none}.ellipsis-btn.active{display:block}";export{i as ptc_tab_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as o,H as s,g as a}from"./p-e8a60227.js";const r=(t,i)=>!!t.querySelector(':scope > [slot="'+i+'"');let e=class{constructor(o){t(this,o),this.opened=i(this,"opened",7),this.opening=i(this,"opening",7),this.closed=i(this,"closed",7),this.closing=i(this,"closing",7),this.heading=null,this.headingTag="h3",this.autoHeight=!1,this.active=!1,this.hasHeadingSlot=!0,this.hasArrowSlot=!0}componentWillLoad(){this.hasHeadingSlot=r(this.el,"heading"),this.hasArrowSlot=r(this.el,"arrow")}componentDidLoad(){this.autoHeight&&this.bodyEl.style.setProperty("--ptc-accordion-item-body-max-height",this.bodyEl.scrollHeight+2+"px"),this.onTransitionEnd(),this.bodyEl.addEventListener("transitionstart",(()=>{this.onTransitionStart()})),this.bodyEl.addEventListener("transitionend",(()=>{this.onTransitionEnd()})),this.hasHeadingSlot=r(this.el,"heading"),this.hasArrowSlot=r(this.el,"arrow")}onTransitionEnd(){this.active?(this.bodyEl.style.overflow="auto",this.opened.emit()):(this.bodyEl.style.overflow="hidden",this.bodyEl.style.visibility="hidden",this.closed.emit())}onTransitionStart(){this.active?(this.bodyEl.style.visibility="visible",this.opening.emit()):this.closing.emit()}async toggle(){this.active?this.close():this.open()}async close(){this.active=!1}async open(){this.active=!0}render(){const{active:t,autoHeight:i,headingTag:a}=this;return o(s,{class:{active:t,autoHeight:i}},o("button",{class:"heading",role:"button",onClick:()=>this.toggle()},o("span",{class:"arrow"},this.hasArrowSlot?o("slot",{name:"arrow"}):o("svg",{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"},o("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))),this.hasHeadingSlot?o("slot",{name:"heading"}):o(a,{class:"heading-text"},this.heading)),o("div",{class:"body-container",ref:t=>this.bodyEl=t},o("div",{class:"body"},o("slot",null))))}get el(){return a(this)}};e.style=":host{display:block}:host .heading{display:flex;align-items:center;justify-content:initial;width:100%;border:none;text-align:left;padding:var(--ptc-element-spacing-06);padding-left:0;cursor:pointer;transition:border-radius var(--ptc-transition-fast) ease var(--ptc-transition-fast);background-color:transparent;border-bottom:1px solid var(--color-gray-03)}:host .heading .heading-text{color:var(--color-gray-10);margin:0;font-weight:var(--ptc-font-weight-bold);flex:1;font-size:var(--ptc-font-size-large);font-family:var(--ptc-font-latin)}:host .heading .arrow{color:var(--color-green-06);margin-right:var(--ptc-element-spacing-05);transition:transform var(--ptc-transition-fast) ease-in-out}:host .heading .arrow svg{width:34px;height:34px}:host .heading .arrow svg path{fill:currentColor}:host .body-container{overflow:hidden;max-height:0;transition:max-height var(--ptc-transition-fast) ease-in-out;scrollbar-width:none;}:host .body-container::-webkit-scrollbar{display:none;}:host .body-container .body{border-top-left-radius:0;border-top-right-radius:0;overflow:hidden;padding:var(--ptc-layout-spacing-02)}:host(.autoHeight) .body-container{overflow:hidden}:host(.active) .heading{border-bottom-left-radius:0;border-bottom-right-radius:0;transition:border-radius 0s ease;border-color:var(--color-gray-02)}:host(.active) .heading .arrow{transform:rotate(180deg)}:host(.active) .heading .arrow svg{color:var(--color-gray-03)}:host(.active) .body-container{max-height:var(--ptc-accordion-item-body-max-height)}";export{e as ptc_accordion_item}
|