@ptcwebops/ptcw-design 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/icon-asset_16.cjs.entry.js +812 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-announcement.cjs.entry.js} +0 -25
- package/dist/cjs/ptc-list.cjs.entry.js +2 -3
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +31 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/icon-asset/media/designer.svg +33 -0
- package/dist/collection/components/list-item/list-item.css +39 -1
- package/dist/collection/components/list-item/list-item.js +26 -5
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -0
- package/dist/collection/components/ptc-button/ptc-button.css +12 -1
- package/dist/collection/components/ptc-button/ptc-button.js +29 -7
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +12 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +41 -0
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +61 -0
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +81 -0
- package/dist/collection/components/ptc-card-plm/ptc-card-plm.css +19 -0
- package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -0
- package/dist/collection/components/ptc-hero/ptc-hero.css +13 -0
- package/dist/collection/components/ptc-hero/ptc-hero.js +43 -0
- package/dist/collection/components/ptc-img/ptc-img.js +6 -1
- package/dist/collection/components/ptc-link/ptc-link.css +25 -3
- package/dist/collection/components/ptc-link/ptc-link.js +3 -2
- package/dist/collection/components/ptc-list/ptc-list.css +8 -4
- package/dist/collection/components/ptc-list/ptc-list.js +5 -8
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +81 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +88 -3
- package/dist/collection/components/ptc-para/ptc-para.css +59 -0
- package/dist/collection/components/ptc-para/ptc-para.js +53 -7
- package/dist/collection/components/ptc-picture/ptc-picture.css +28 -1
- package/dist/collection/components/ptc-picture/ptc-picture.js +27 -9
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +11 -0
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +2 -2
- package/dist/collection/components/ptc-span/ptc-span.css +26 -1
- package/dist/collection/components/ptc-span/ptc-span.js +6 -3
- package/dist/collection/components/ptc-title/ptc-title.css +108 -11
- package/dist/collection/components/ptc-title/ptc-title.js +62 -4
- package/dist/custom-elements/index.d.ts +30 -0
- package/dist/custom-elements/index.js +199 -35
- package/dist/esm/icon-asset_16.entry.js +793 -0
- package/dist/esm/{index-eb8ce23d.js → index-6ce5b664.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-announcement_2.entry.js → ptc-announcement.entry.js} +2 -26
- package/dist/esm/ptc-avatar.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-input.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +3 -4
- package/dist/esm/ptc-lottie.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-select.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +27 -0
- package/dist/esm/ptcw-design.js +2 -2
- package/dist/ptcw-design/media/designer.svg +33 -0
- package/dist/ptcw-design/{p-63b55aba.entry.js → p-281824f5.entry.js} +1 -1
- package/dist/ptcw-design/p-31b2af1d.entry.js +1 -0
- package/dist/ptcw-design/{p-f94c4594.entry.js → p-3437fbce.entry.js} +1 -1
- package/dist/ptcw-design/{p-e8650244.entry.js → p-542939d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-ef6acb81.entry.js → p-5c78913c.entry.js} +1 -1
- package/dist/ptcw-design/{p-3f42afb6.entry.js → p-5eb74dc3.entry.js} +1 -1
- package/dist/ptcw-design/p-609dec21.entry.js +1 -0
- package/dist/ptcw-design/{p-1b3b0193.entry.js → p-6ff80c95.entry.js} +1 -1
- package/dist/ptcw-design/p-8bbb4277.entry.js +1 -0
- package/dist/ptcw-design/p-9a35c9e2.entry.js +1 -0
- package/dist/ptcw-design/{p-22fd400f.entry.js → p-aafe51df.entry.js} +1 -1
- package/dist/ptcw-design/{p-75dc7328.entry.js → p-ac57feca.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ca3c085.js → p-b1afaef3.js} +1 -1
- package/dist/ptcw-design/p-b85eda19.entry.js +1 -0
- package/dist/ptcw-design/p-bac826ad.entry.js +1 -0
- package/dist/ptcw-design/{p-e4b96b46.entry.js → p-da7ee0ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-32ef3a79.entry.js → p-e2492128.entry.js} +1 -1
- package/dist/ptcw-design/p-e266fc0b.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +7 -3
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +5 -0
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +11 -0
- package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -0
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +5 -0
- package/dist/types/components/ptc-img/ptc-img.d.ts +3 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +17 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +11 -3
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -1
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +1 -1
- package/dist/types/components/ptc-span/ptc-span.d.ts +4 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +14 -2
- package/dist/types/components.d.ts +229 -28
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/interfaces-0ecd8027.js +0 -15
- package/dist/cjs/list-item.cjs.entry.js +0 -27
- package/dist/cjs/ptc-button.cjs.entry.js +0 -72
- package/dist/cjs/ptc-img.cjs.entry.js +0 -155
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
- package/dist/cjs/ptc-para.cjs.entry.js +0 -40
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -159
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
- package/dist/cjs/ptc-span.cjs.entry.js +0 -31
- package/dist/cjs/ptc-title.cjs.entry.js +0 -49
- package/dist/esm/icon-asset.entry.js +0 -60
- package/dist/esm/interfaces-3cb94654.js +0 -12
- package/dist/esm/list-item.entry.js +0 -23
- package/dist/esm/ptc-button.entry.js +0 -68
- package/dist/esm/ptc-img.entry.js +0 -151
- package/dist/esm/ptc-link.entry.js +0 -49
- package/dist/esm/ptc-overlay.entry.js +0 -15
- package/dist/esm/ptc-para.entry.js +0 -36
- package/dist/esm/ptc-picture.entry.js +0 -155
- package/dist/esm/ptc-spacer.entry.js +0 -42
- package/dist/esm/ptc-span.entry.js +0 -27
- package/dist/esm/ptc-title.entry.js +0 -45
- package/dist/ptcw-design/p-01f4bf71.entry.js +0 -1
- package/dist/ptcw-design/p-08827128.entry.js +0 -1
- package/dist/ptcw-design/p-1bf9750d.entry.js +0 -1
- package/dist/ptcw-design/p-23d07898.entry.js +0 -1
- package/dist/ptcw-design/p-240733ce.js +0 -1
- package/dist/ptcw-design/p-29c54eb0.entry.js +0 -1
- package/dist/ptcw-design/p-2b59ce7a.entry.js +0 -1
- package/dist/ptcw-design/p-389a5670.entry.js +0 -1
- package/dist/ptcw-design/p-51443fbb.entry.js +0 -1
- package/dist/ptcw-design/p-54794e45.entry.js +0 -1
- package/dist/ptcw-design/p-5ae43421.entry.js +0 -1
- package/dist/ptcw-design/p-6b5c0d9d.entry.js +0 -1
- package/dist/ptcw-design/p-7076b32f.entry.js +0 -1
- package/dist/ptcw-design/p-a86452af.entry.js +0 -1
- package/dist/ptcw-design/p-d3f9852f.entry.js +0 -1
- package/dist/ptcw-design/p-d80b24c9.entry.js +0 -1
- package/dist/ptcw-design/p-fd29d9dd.entry.js +0 -1
|
@@ -59,22 +59,25 @@ let IconAsset$1 = class extends HTMLElement$1 {
|
|
|
59
59
|
static get style() { return iconAssetCss; }
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
const listItemCss = ":host{display:block}";
|
|
62
|
+
const listItemCss = ":host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:white;font-weight:700;font-size:12px;line-height:14px}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0}:host(.breadcrumb) li a.item-link{color:white;font-weight:var(-ptc-font-weight-bold) !important;font-size:var(-ptc-font-size-x-small) !important;line-height:14px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:#3DAB49;outline:none}";
|
|
63
63
|
|
|
64
64
|
let ListItem$1 = class extends HTMLElement$1 {
|
|
65
65
|
constructor() {
|
|
66
66
|
super();
|
|
67
67
|
this.__registerHost();
|
|
68
|
-
this.
|
|
68
|
+
this.__attachShadow();
|
|
69
|
+
this.listType = 'list-primary';
|
|
69
70
|
this.linkHref = undefined;
|
|
71
|
+
this.flushBefore = false;
|
|
70
72
|
}
|
|
71
73
|
render() {
|
|
72
74
|
const classMap = this.getCssClassMap();
|
|
73
|
-
return (h(Host, { class: classMap }, h("li", null, this.linkHref ? (h("a", Object.assign({}, (this.linkHref ? { href: this.linkHref } : {})), h("slot", null))) : (h("slot", null)))));
|
|
75
|
+
return (h(Host, { class: classMap }, h("li", null, this.linkHref ? (h("a", Object.assign({ class: "item-link" }, (this.linkHref ? { href: this.linkHref } : {})), h("slot", null))) : (h("slot", null)))));
|
|
74
76
|
}
|
|
75
77
|
getCssClassMap() {
|
|
76
78
|
return {
|
|
77
79
|
[this.listType]: true,
|
|
80
|
+
['flush-before']: this.flushBefore ? true : false
|
|
78
81
|
};
|
|
79
82
|
}
|
|
80
83
|
static get style() { return listItemCss; }
|
|
@@ -13624,7 +13627,25 @@ let PtcAvatar$1 = class extends HTMLElement$1 {
|
|
|
13624
13627
|
static get style() { return ptcAvatarCss; }
|
|
13625
13628
|
};
|
|
13626
13629
|
|
|
13627
|
-
const
|
|
13630
|
+
const ptcBreadcrumbCss = ":host{display:block;margin-top:21px}::slotted(*){transform:translate(-3px, 0px)}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm){::slotted(*){transform:translate(-3px, 4px)}}@-moz-document url-prefix(){::slotted(*){transform:translate(-3px, 0px)}}";
|
|
13631
|
+
|
|
13632
|
+
let PtcBreadcrumb$1 = class extends HTMLElement$1 {
|
|
13633
|
+
constructor() {
|
|
13634
|
+
super();
|
|
13635
|
+
this.__registerHost();
|
|
13636
|
+
this.__attachShadow();
|
|
13637
|
+
}
|
|
13638
|
+
render() {
|
|
13639
|
+
const classMap = this.getCssClassMap();
|
|
13640
|
+
return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "large", name: "icon-home", color: "white" })), h("slot", null)));
|
|
13641
|
+
}
|
|
13642
|
+
getCssClassMap() {
|
|
13643
|
+
return {};
|
|
13644
|
+
}
|
|
13645
|
+
static get style() { return ptcBreadcrumbCss; }
|
|
13646
|
+
};
|
|
13647
|
+
|
|
13648
|
+
const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-primary-uigrey);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:3px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:0.86}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(285deg, var(--color-primary-uigrey) 155%, #6e717c 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px #5bb73b;background-image:linear-gradient(285deg, #5bb73b 155%, #178642 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(to right, #ffffff, #d3d3d3, #e5e5e5)}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-primary-uigrey)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:4px;margin-top:4px;box-shadow:0 0 25.8px 3.2px rgba(0, 0, 0, 0.5);border:solid 2.5px var(--color-secondary-tutlegreen-dark);background-image:linear-gradient(to right, var(--color-secondary-turtlegreen), var(--color-secondary-tutlegreen-dark))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-secondary-tutlegreen-dark), var(--color-secondary-turtlegreen));opacity:0;transition:opacity 0.6s cubic-bezier(0, 0, 0.23, 1);border-radius:2px}.legacy-green:hover{box-shadow:0 0 49px 6.1px rgba(0, 0, 0, 0.55)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-medium)}@media screen and (min-width: 768px){.legacy-green span{font-size:19px;letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:3px;display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all ease-out 0.25s;position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:#323b42;border-radius:var(--ptc-border-radius-medium);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:13px;font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:26px;list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.nav:focus{outline:3px solid #0092d1;outline-offset:2px}.nav:hover{background-color:#20262a}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-small) var(--ptc-font-size-large);transition:background-color var(--ptc-standard-ease) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:#a8aaaf;background:#e1e2e4}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:#a8aaaf}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:#a8aaaf !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid #0092d1;outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:17px;line-height:20px;letter-spacing:normal}.ptc-primary{background:#1f2024;border:2px solid #5bb73a;border-radius:var(--ptc-border-radius-medium)}.ptc-primary:hover{background-color:#33353a}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:#1f2024;border:2px solid #6d707b;border-radius:var(--ptc-border-radius-medium)}.ptc-secondary:hover{background-color:#33353a}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-primary-grey);border-radius:var(--ptc-border-radius-medium)}.ptc-tertiary:hover{background-color:#e1e2e4}.ptc-tertiary:active{background-color:#c5c5ca}.ptc-tertiary span{color:var(--color-primary-grey)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-primary-grey) !important}.ptc-quaternary{background:#158542;border:2px solid #459e67;border-radius:var(--ptc-border-radius-medium)}.ptc-quaternary:hover{background-color:#17713a}.ptc-quaternary:active{background-color:#186135}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
|
|
13628
13649
|
|
|
13629
13650
|
let PtcButton$1 = class extends HTMLElement$1 {
|
|
13630
13651
|
constructor() {
|
|
@@ -13653,15 +13674,19 @@ let PtcButton$1 = class extends HTMLElement$1 {
|
|
|
13653
13674
|
*/
|
|
13654
13675
|
this.iconPosition = 'icon-right';
|
|
13655
13676
|
/**
|
|
13656
|
-
* Link URL
|
|
13677
|
+
* Link URL
|
|
13657
13678
|
*/
|
|
13658
13679
|
this.linkHref = undefined;
|
|
13659
13680
|
/**
|
|
13660
|
-
*
|
|
13681
|
+
* link Title
|
|
13682
|
+
*/
|
|
13683
|
+
this.linkTitle = undefined;
|
|
13684
|
+
/**
|
|
13685
|
+
* Link target
|
|
13661
13686
|
* */
|
|
13662
13687
|
this.target = '_self';
|
|
13663
13688
|
/**
|
|
13664
|
-
*
|
|
13689
|
+
* Link rel
|
|
13665
13690
|
* */
|
|
13666
13691
|
this.rel = undefined;
|
|
13667
13692
|
/**
|
|
@@ -13678,7 +13703,7 @@ let PtcButton$1 = class extends HTMLElement$1 {
|
|
|
13678
13703
|
render() {
|
|
13679
13704
|
const classMap = this.getCssClassMap();
|
|
13680
13705
|
const Tag = !!this.linkHref ? 'a' : 'button';
|
|
13681
|
-
return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
|
|
13706
|
+
return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
|
|
13682
13707
|
}
|
|
13683
13708
|
getCssClassMap() {
|
|
13684
13709
|
return {
|
|
@@ -13765,6 +13790,79 @@ let PtcCard$1 = class extends HTMLElement$1 {
|
|
|
13765
13790
|
static get style() { return ptcCardCss; }
|
|
13766
13791
|
};
|
|
13767
13792
|
|
|
13793
|
+
const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) var(--ptc-element-spacing-04);z-index:2}";
|
|
13794
|
+
|
|
13795
|
+
let PtcCardBottom$1 = class extends HTMLElement$1 {
|
|
13796
|
+
constructor() {
|
|
13797
|
+
super();
|
|
13798
|
+
this.__registerHost();
|
|
13799
|
+
this.__attachShadow();
|
|
13800
|
+
}
|
|
13801
|
+
render() {
|
|
13802
|
+
const classMap = this.getCssClassMap();
|
|
13803
|
+
return (h(Host, { class: classMap }, h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
|
|
13804
|
+
}
|
|
13805
|
+
getCssClassMap() {
|
|
13806
|
+
return {
|
|
13807
|
+
[this.cardType]: this.cardType ? true : false
|
|
13808
|
+
};
|
|
13809
|
+
}
|
|
13810
|
+
static get style() { return ptcCardBottomCss; }
|
|
13811
|
+
};
|
|
13812
|
+
|
|
13813
|
+
const ptcCardContentCss = ":host{display:block}:host(.speed-bump){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06);text-align:center}@media screen and (min-width: 768px){:host(.speed-bump){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:97.5%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before{height:100%}";
|
|
13814
|
+
|
|
13815
|
+
let PtcCardContent$1 = class extends HTMLElement$1 {
|
|
13816
|
+
constructor() {
|
|
13817
|
+
super();
|
|
13818
|
+
this.__registerHost();
|
|
13819
|
+
this.__attachShadow();
|
|
13820
|
+
this.hoverEvent = createEvent(this, "hoverEvent", 7);
|
|
13821
|
+
this.leaveEvent = createEvent(this, "leaveEvent", 7);
|
|
13822
|
+
}
|
|
13823
|
+
hoverEventHandler() {
|
|
13824
|
+
this.hoverEvent.emit();
|
|
13825
|
+
this.el.classList.add('mouse-hover');
|
|
13826
|
+
}
|
|
13827
|
+
leaveEventHandler() {
|
|
13828
|
+
this.hoverEvent.emit();
|
|
13829
|
+
this.el.classList.remove('mouse-hover');
|
|
13830
|
+
}
|
|
13831
|
+
render() {
|
|
13832
|
+
const classMap = this.getCssClassMap();
|
|
13833
|
+
return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
|
|
13834
|
+
}
|
|
13835
|
+
getCssClassMap() {
|
|
13836
|
+
return {
|
|
13837
|
+
[this.cardType]: !!this.cardType ? true : false,
|
|
13838
|
+
};
|
|
13839
|
+
}
|
|
13840
|
+
get el() { return this; }
|
|
13841
|
+
static get style() { return ptcCardContentCss; }
|
|
13842
|
+
};
|
|
13843
|
+
|
|
13844
|
+
const ptcCardPlmCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a{text-decoration:none}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover{text-decoration:none}";
|
|
13845
|
+
|
|
13846
|
+
let PtcCardPlm$1 = class extends HTMLElement$1 {
|
|
13847
|
+
constructor() {
|
|
13848
|
+
super();
|
|
13849
|
+
this.__registerHost();
|
|
13850
|
+
this.__attachShadow();
|
|
13851
|
+
this.linkTarget = '_self';
|
|
13852
|
+
}
|
|
13853
|
+
render() {
|
|
13854
|
+
const classMap = this.getCssClassMap();
|
|
13855
|
+
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
13856
|
+
return (h(Host, { class: classMap }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
|
|
13857
|
+
}
|
|
13858
|
+
getCssClassMap() {
|
|
13859
|
+
return {
|
|
13860
|
+
[this.cardType]: this.cardType ? true : false
|
|
13861
|
+
};
|
|
13862
|
+
}
|
|
13863
|
+
static get style() { return ptcCardPlmCss; }
|
|
13864
|
+
};
|
|
13865
|
+
|
|
13768
13866
|
const ptcCountdownCss = ":host{display:block}";
|
|
13769
13867
|
|
|
13770
13868
|
let PtcCountdown$1 = class extends HTMLElement$1 {
|
|
@@ -13947,6 +14045,26 @@ let PtcForm$1 = class extends HTMLElement$1 {
|
|
|
13947
14045
|
static get style() { return ptcFormCss; }
|
|
13948
14046
|
};
|
|
13949
14047
|
|
|
14048
|
+
const ptcHeroCss = ":host{display:block;position:relative}:host(.jumbotron) .ptc-hero-wrapper,:host(.footer-cta) .ptc-hero-wrapper{position:relative}:host(.footer-cta) .ptc-hero-wrapper div>*{text-align:center}";
|
|
14049
|
+
|
|
14050
|
+
let PtcHero$1 = class extends HTMLElement$1 {
|
|
14051
|
+
constructor() {
|
|
14052
|
+
super();
|
|
14053
|
+
this.__registerHost();
|
|
14054
|
+
this.__attachShadow();
|
|
14055
|
+
}
|
|
14056
|
+
render() {
|
|
14057
|
+
const classMap = this.getCssClassMap();
|
|
14058
|
+
return (h(Host, { class: classMap }, h("div", { class: "ptc-hero-wrapper" }, h("ptc-img", { "image-type": "smart-bg", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "size-xs": "600x450", "size-sm": "1108x658", "size-md": "1920x1080", "size-lg": "2700x1500" }, this.heroType == 'jumbotron' ? ([h("ptc-overlay", { "filter-color": "black-1-xs" }), h("ptc-overlay", { "filter-color": "black-2-xs" })]) : this.heroType == 'footer-cta' ? (h("ptc-overlay", { "filter-color": "black-3" })) : null, h("slot", null)))));
|
|
14059
|
+
}
|
|
14060
|
+
getCssClassMap() {
|
|
14061
|
+
return {
|
|
14062
|
+
[this.heroType]: this.heroType ? true : false,
|
|
14063
|
+
};
|
|
14064
|
+
}
|
|
14065
|
+
static get style() { return ptcHeroCss; }
|
|
14066
|
+
};
|
|
14067
|
+
|
|
13950
14068
|
let ResponsiveBgVariables = {
|
|
13951
14069
|
envs: ['xs', 'sm', 'md', 'lg'],
|
|
13952
14070
|
selector: '.ptc-img',
|
|
@@ -13997,12 +14115,16 @@ let PtcImg$1 = class extends HTMLElement$1 {
|
|
|
13997
14115
|
*/
|
|
13998
14116
|
this.loadMode = 'lazy-bg';
|
|
13999
14117
|
}
|
|
14118
|
+
/**
|
|
14119
|
+
* Image Z Index
|
|
14120
|
+
*/
|
|
14121
|
+
// @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
|
|
14000
14122
|
WindowResize() {
|
|
14001
14123
|
this.setResponsiveBg();
|
|
14002
14124
|
}
|
|
14003
14125
|
render() {
|
|
14004
14126
|
const classMap = this.getCssClassMap();
|
|
14005
|
-
return (h(Host, null, h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` })));
|
|
14127
|
+
return (h(Host, null, h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
|
|
14006
14128
|
}
|
|
14007
14129
|
componentDidLoad() {
|
|
14008
14130
|
this.addIntersectionObserver();
|
|
@@ -14063,6 +14185,7 @@ let PtcImg$1 = class extends HTMLElement$1 {
|
|
|
14063
14185
|
'ptc-img': true,
|
|
14064
14186
|
[this.borderRadius]: true,
|
|
14065
14187
|
[this.loadMode]: true,
|
|
14188
|
+
// [this.imageZIndex] : true
|
|
14066
14189
|
};
|
|
14067
14190
|
}
|
|
14068
14191
|
getCurrentBreakPoints() {
|
|
@@ -14131,7 +14254,7 @@ let PtcInput$1 = class extends HTMLElement$1 {
|
|
|
14131
14254
|
static get style() { return ptcInputCss; }
|
|
14132
14255
|
};
|
|
14133
14256
|
|
|
14134
|
-
const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);
|
|
14257
|
+
const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-primary-uigrey);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-standard-ease);border-bottom:2px solid var(--color-primary-green);opacity:0}.simple:hover.simple::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-06);border-bottom:2px solid var(--color-primary-green);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-standard-ease)}.arrow:hover.arrow::after{width:100%}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-small)}.medium{font-size:var(--ptc-font-size-medium)}.large{font-size:var(--ptc-font-size-large)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-standard-ease)}.ptc-link.arrow icon-asset svg{fill:var(--color-primary-green) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 8%)}.ptc-link.arrow-plm svg{fill:#3DAB49 !important}.ptc-link:hover.arrow icon-asset{transform:translateX(var(--ptc-element-spacing-04))}.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 #0092d1;outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.15px;line-height:25.05px;list-style:none;margin-bottom:10px;text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:#f3f3f4;display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.3px;line-height:25.95px;list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-05);padding-bottom:7px;position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.primary-nav-link:hover{border-radius:4px;background-color:#20262a;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-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:15px;list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-secondary-turtlegreen)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:0.12px;line-height:14.4px;list-style:none;margin-bottom:12px;text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid #74c34d;border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-standard-ease), color var(--ptc-transition-medium) var(--ptc-standard-ease);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);line-height:1.73;letter-spacing:1.13px;text-align:left;font-size:15px}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-secondary-turtlegreen);color:var(--color-secondary-turtlegreen)}.copyright-link{color:var(--color-white);font-size:13px;font-weight:var(--ptc-font-weight-normal);line-height:2;display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-19);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-acceletated-ease)}.arrow-plm:hover{text-decoration-color:#3DAB49}";
|
|
14135
14258
|
|
|
14136
14259
|
let PtcLink$1 = class extends HTMLElement$1 {
|
|
14137
14260
|
constructor() {
|
|
@@ -14165,7 +14288,7 @@ let PtcLink$1 = class extends HTMLElement$1 {
|
|
|
14165
14288
|
}
|
|
14166
14289
|
render() {
|
|
14167
14290
|
const classMap = this.getCssClassMap();
|
|
14168
|
-
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: "small", name: "arrow-right" }) : '', h("slot", null))));
|
|
14291
|
+
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: "small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? h("icon-asset", { type: "ptc", size: "x-small", name: "button-arrow-right" }) : '', h("slot", null))));
|
|
14169
14292
|
}
|
|
14170
14293
|
getCssClassMap() {
|
|
14171
14294
|
return {
|
|
@@ -14179,13 +14302,12 @@ let PtcLink$1 = class extends HTMLElement$1 {
|
|
|
14179
14302
|
static get style() { return ptcLinkCss; }
|
|
14180
14303
|
};
|
|
14181
14304
|
|
|
14182
|
-
const ptcListCss = "ptc-list
|
|
14305
|
+
const ptcListCss = ".sc-ptc-list-h{display:block}.list-primary.sc-ptc-list-h li.sc-ptc-list{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-normal);letter-spacing:var(--ptc-letter-spacing-normal);list-style:none}.list-primary.sc-ptc-list-h li.sc-ptc-list:not(:last-child){margin-bottom:0.625rem}.list-primary.sc-ptc-list-h li.sc-ptc-list a.sc-ptc-list{color:var(--color-white);outline:none;text-decoration:none;font-family:Rajdhani;font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-normal);text-transform:uppercase;letter-spacing:var(--ptc-letter-spacing-normal)}.list-primary.sc-ptc-list-h li.sc-ptc-list a.sc-ptc-list:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-primary-green)}";
|
|
14183
14306
|
|
|
14184
14307
|
let PtcList$1 = class extends HTMLElement$1 {
|
|
14185
14308
|
constructor() {
|
|
14186
14309
|
super();
|
|
14187
14310
|
this.__registerHost();
|
|
14188
|
-
this.listType = 'para-list';
|
|
14189
14311
|
}
|
|
14190
14312
|
render() {
|
|
14191
14313
|
const classMap = this.getCssClassMap();
|
|
@@ -14199,7 +14321,7 @@ let PtcList$1 = class extends HTMLElement$1 {
|
|
|
14199
14321
|
}
|
|
14200
14322
|
getCssClassMap() {
|
|
14201
14323
|
return {
|
|
14202
|
-
[this.listType]: true,
|
|
14324
|
+
[this.listType]: this.listItems ? true : false,
|
|
14203
14325
|
};
|
|
14204
14326
|
}
|
|
14205
14327
|
static get style() { return ptcListCss; }
|
|
@@ -14326,20 +14448,33 @@ let PtcNavItem$1 = class extends HTMLElement$1 {
|
|
|
14326
14448
|
static get style() { return ptcNavItemCss; }
|
|
14327
14449
|
};
|
|
14328
14450
|
|
|
14329
|
-
const ptcOverlayCss = ":host{display:block}";
|
|
14451
|
+
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%, #197BC0 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, #D12C3A 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, #C37729 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, #00890B 100%)}:host(.black-1-sm){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, #20262A 100%)}:host(.black-2-sm){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}:host(.black-1-xs){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, #20262A 100%)}:host(.black-2-xs){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}:host(.black-3){background:linear-gradient(180deg, #20262A 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, #617480 100%)}:host(.radius-sm){border-radius:var(--ptc-border-radius-small)}:host(.radius-md){border-radius:var(--ptc-border-radius-medium)}:host(.radius-lg){border-radius:var(--ptc-border-radius-large)}:host(.radius-x-lg){border-radius:var(--ptc-border-radius-x-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}";
|
|
14330
14452
|
|
|
14331
14453
|
let PtcOverlay$1 = class extends HTMLElement$1 {
|
|
14332
14454
|
constructor() {
|
|
14333
14455
|
super();
|
|
14334
14456
|
this.__registerHost();
|
|
14457
|
+
this.__attachShadow();
|
|
14458
|
+
/**
|
|
14459
|
+
* Overlay z-index
|
|
14460
|
+
*/
|
|
14461
|
+
this.overlayZIndex = 'z-index-auto';
|
|
14335
14462
|
}
|
|
14336
14463
|
render() {
|
|
14337
|
-
|
|
14464
|
+
const classMap = this.getCssClassMap();
|
|
14465
|
+
return h(Host, { class: classMap });
|
|
14466
|
+
}
|
|
14467
|
+
getCssClassMap() {
|
|
14468
|
+
return {
|
|
14469
|
+
[this.filterColor]: !!this.filterColor ? true : false,
|
|
14470
|
+
[this.borderRadius]: !!this.borderRadius ? true : false,
|
|
14471
|
+
[this.overlayZIndex]: true
|
|
14472
|
+
};
|
|
14338
14473
|
}
|
|
14339
14474
|
static get style() { return ptcOverlayCss; }
|
|
14340
14475
|
};
|
|
14341
14476
|
|
|
14342
|
-
const ptcParaCss = "p.default{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-primary-grey)}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-3{margin-top:var(--ptc-element-spacing-03)}p.margin-top-4{margin-top:var(--ptc-element-spacing-04)}p.margin-top-5{margin-top:var(--ptc-element-spacing-05)}p.margin-top-6{margin-top:var(--ptc-element-spacing-06)}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03)}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04)}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05)}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06)}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-secondary-grey);line-height:var(--ptc-line-height-looser);letter-spacing:1px}";
|
|
14477
|
+
const ptcParaCss = ":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-primary-grey)}p.primary-grey{color:var(--color-primary-grey)}p.white{color:var(--color-white)}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.font-size-15{font-size:var(--ptc-font-size-15)}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-3{margin-top:var(--ptc-element-spacing-03)}p.margin-top-4{margin-top:var(--ptc-element-spacing-04)}p.margin-top-5{margin-top:var(--ptc-element-spacing-05)}p.margin-top-6{margin-top:var(--ptc-element-spacing-06)}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03)}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04)}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05)}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06)}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-17{line-height:var(--ptc-line-height-17)}p.line-height-18{line-height:var(--ptc-line-height-18)}p.line-height-19{line-height:var(--ptc-line-height-19)}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-secondary-grey);line-height:var(--ptc-line-height-looser);letter-spacing:1px}";
|
|
14343
14478
|
|
|
14344
14479
|
let PtcPara$1 = class extends HTMLElement$1 {
|
|
14345
14480
|
constructor() {
|
|
@@ -14358,6 +14493,14 @@ let PtcPara$1 = class extends HTMLElement$1 {
|
|
|
14358
14493
|
* Paragraph Style
|
|
14359
14494
|
**/
|
|
14360
14495
|
this.paraStyle = 'default';
|
|
14496
|
+
/**
|
|
14497
|
+
* Paragraph Color
|
|
14498
|
+
*/
|
|
14499
|
+
this.paraColor = 'primary-grey';
|
|
14500
|
+
/**
|
|
14501
|
+
* line height
|
|
14502
|
+
*/
|
|
14503
|
+
this.paraLineH = 'line-height-normal';
|
|
14361
14504
|
}
|
|
14362
14505
|
render() {
|
|
14363
14506
|
const classMap = this.getCssClassMap();
|
|
@@ -14368,13 +14511,15 @@ let PtcPara$1 = class extends HTMLElement$1 {
|
|
|
14368
14511
|
[this.fontSize]: true,
|
|
14369
14512
|
[this.fontWeight]: true,
|
|
14370
14513
|
[this.paraStyle]: true,
|
|
14371
|
-
[this.paraMargin]: true,
|
|
14514
|
+
[this.paraMargin]: !!this.paraMargin ? true : false,
|
|
14515
|
+
[this.paraColor]: true,
|
|
14516
|
+
[this.paraLineH]: true
|
|
14372
14517
|
};
|
|
14373
14518
|
}
|
|
14374
14519
|
static get style() { return ptcParaCss; }
|
|
14375
14520
|
};
|
|
14376
14521
|
|
|
14377
|
-
const ptcPictureCss = ":host{display:block;overflow:hidden}img{max-width:100
|
|
14522
|
+
const ptcPictureCss = ":host{display:block;overflow:hidden}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:static}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-sm{border-radius:var(--ptc-border-radius-small)}.radius-md{border-radius:var(--ptc-border-radius-medium)}.radius-lg{border-radius:var(--ptc-border-radius-large)}.radius-x-lg{border-radius:var(--ptc-border-radius-x-large)}";
|
|
14378
14523
|
|
|
14379
14524
|
let PtcPicture$1 = class extends HTMLElement$1 {
|
|
14380
14525
|
constructor() {
|
|
@@ -14406,9 +14551,9 @@ let PtcPicture$1 = class extends HTMLElement$1 {
|
|
|
14406
14551
|
*/
|
|
14407
14552
|
this.sizeLg = '1920x1080';
|
|
14408
14553
|
/**
|
|
14409
|
-
* Image
|
|
14554
|
+
* Image Position
|
|
14410
14555
|
*/
|
|
14411
|
-
this.
|
|
14556
|
+
this.imagePosition = 'static';
|
|
14412
14557
|
/**
|
|
14413
14558
|
* Object Fit
|
|
14414
14559
|
* Default: cover
|
|
@@ -14478,7 +14623,7 @@ let PtcPicture$1 = class extends HTMLElement$1 {
|
|
|
14478
14623
|
}
|
|
14479
14624
|
render() {
|
|
14480
14625
|
const classMap = this.getCssClassMap();
|
|
14481
|
-
return (h(Host,
|
|
14626
|
+
return (h(Host, { class: this.imagePosition }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}:${this.sizeXs}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}:${this.sizeSm}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}:${this.sizeMd}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}:${this.sizeLg}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt })), h("slot", null)));
|
|
14482
14627
|
}
|
|
14483
14628
|
getCurrentBreakPoints() {
|
|
14484
14629
|
// Define local variables
|
|
@@ -14519,7 +14664,7 @@ let PtcPicture$1 = class extends HTMLElement$1 {
|
|
|
14519
14664
|
}
|
|
14520
14665
|
getCssClassMap() {
|
|
14521
14666
|
return {
|
|
14522
|
-
[this.borderRadius]: true,
|
|
14667
|
+
[this.borderRadius]: this.borderRadius ? true : false,
|
|
14523
14668
|
[this.objectFit]: true,
|
|
14524
14669
|
};
|
|
14525
14670
|
}
|
|
@@ -14556,7 +14701,7 @@ let PtcSelect$1 = class extends HTMLElement$1 {
|
|
|
14556
14701
|
static get style() { return ptcSelectCss; }
|
|
14557
14702
|
};
|
|
14558
14703
|
|
|
14559
|
-
const ptcSpacerCss = ":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-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}}";
|
|
14704
|
+
const ptcSpacerCss = ":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-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}}";
|
|
14560
14705
|
|
|
14561
14706
|
let PtcSpacer$1 = class extends HTMLElement$1 {
|
|
14562
14707
|
constructor() {
|
|
@@ -14597,7 +14742,7 @@ let PtcSpacer$1 = class extends HTMLElement$1 {
|
|
|
14597
14742
|
static get style() { return ptcSpacerCss; }
|
|
14598
14743
|
};
|
|
14599
14744
|
|
|
14600
|
-
const ptcSpanCss = ":host(.link-style) span{color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:#cac8c8;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-05);font-size:17px;padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color
|
|
14745
|
+
const ptcSpanCss = ":host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:#cac8c8;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-05);font-size:17px;padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-primary-grey)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-19);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-primary-grey)}";
|
|
14601
14746
|
|
|
14602
14747
|
let PtcSpan$1 = class extends HTMLElement$1 {
|
|
14603
14748
|
constructor() {
|
|
@@ -14608,6 +14753,9 @@ let PtcSpan$1 = class extends HTMLElement$1 {
|
|
|
14608
14753
|
* Span Style
|
|
14609
14754
|
*/
|
|
14610
14755
|
this.spanStyle = 'tag-style';
|
|
14756
|
+
/**
|
|
14757
|
+
* Display
|
|
14758
|
+
*/
|
|
14611
14759
|
this.display = 'inline';
|
|
14612
14760
|
}
|
|
14613
14761
|
render() {
|
|
@@ -14649,12 +14797,16 @@ let PtcSvgBtn$1 = class extends HTMLElement$1 {
|
|
|
14649
14797
|
static get style() { return ptcSvgBtnCss; }
|
|
14650
14798
|
};
|
|
14651
14799
|
|
|
14652
|
-
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{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{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{right:0%}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{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}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{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);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{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div.sc-ptc-title h1.sc-ptc-title,div.sc-ptc-title h2.sc-ptc-title,div.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative}div.sc-ptc-title h1.sc-ptc-title{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div.sc-ptc-title h2.sc-ptc-title{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}";
|
|
14800
|
+
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{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{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{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{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}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{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);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{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);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{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}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{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:50px;line-height:59px;color:var(--color-white)}div.is-plm-hub.sc-ptc-title h2.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-large);line-height:28px;color:var(--color-white)}div.is-plm-hub.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-large);line-height:23px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02)}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03)}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04)}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05)}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06)}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02)}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03)}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04)}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05)}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06)}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-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}";
|
|
14653
14801
|
|
|
14654
14802
|
let PtcTitle$1 = class extends HTMLElement$1 {
|
|
14655
14803
|
constructor() {
|
|
14656
14804
|
super();
|
|
14657
14805
|
this.__registerHost();
|
|
14806
|
+
/**
|
|
14807
|
+
* Is this title using on the PLM Hub page
|
|
14808
|
+
*/
|
|
14809
|
+
this.isPlmHub = false;
|
|
14658
14810
|
/**
|
|
14659
14811
|
* Title Tag Type
|
|
14660
14812
|
*/
|
|
@@ -14687,38 +14839,45 @@ let PtcTitle$1 = class extends HTMLElement$1 {
|
|
|
14687
14839
|
return {
|
|
14688
14840
|
[this.textAlign]: true,
|
|
14689
14841
|
[this.upperline]: true,
|
|
14842
|
+
[this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
|
|
14843
|
+
[this.titleMargin]: !!this.titleMargin ? true : false
|
|
14690
14844
|
};
|
|
14691
14845
|
}
|
|
14692
14846
|
static get style() { return ptcTitleCss; }
|
|
14693
14847
|
};
|
|
14694
14848
|
|
|
14695
14849
|
const IconAsset = /*@__PURE__*/proxyCustomElement(IconAsset$1, [0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]);
|
|
14696
|
-
const ListItem = /*@__PURE__*/proxyCustomElement(ListItem$1, [
|
|
14850
|
+
const ListItem = /*@__PURE__*/proxyCustomElement(ListItem$1, [1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"]}]);
|
|
14697
14851
|
const LottiePlayer = /*@__PURE__*/proxyCustomElement(LottiePlayer$1, [1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2]}]);
|
|
14698
14852
|
const MyComponent = /*@__PURE__*/proxyCustomElement(MyComponent$1, [1,"my-component",{"first":[1],"middle":[1],"last":[1]}]);
|
|
14699
14853
|
const PtcAnnouncement = /*@__PURE__*/proxyCustomElement(PtcAnnouncement$1, [1,"ptc-announcement",{"barTitle":[1,"bar-title"],"Description":[1,"description"],"linkText":[513,"link-text"],"visible":[1540],"linkUrl":[513,"link-url"],"tempContainer":[4,"temp-container"]}]);
|
|
14700
14854
|
const PtcAvatar = /*@__PURE__*/proxyCustomElement(PtcAvatar$1, [1,"ptc-avatar"]);
|
|
14701
|
-
const
|
|
14855
|
+
const PtcBreadcrumb = /*@__PURE__*/proxyCustomElement(PtcBreadcrumb$1, [1,"ptc-breadcrumb"]);
|
|
14856
|
+
const PtcButton = /*@__PURE__*/proxyCustomElement(PtcButton$1, [1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}]);
|
|
14702
14857
|
const PtcCard = /*@__PURE__*/proxyCustomElement(PtcCard$1, [1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"styles":[1]}]);
|
|
14858
|
+
const PtcCardBottom = /*@__PURE__*/proxyCustomElement(PtcCardBottom$1, [1,"ptc-card-bottom",{"cardType":[1,"card-type"]}]);
|
|
14859
|
+
const PtcCardContent = /*@__PURE__*/proxyCustomElement(PtcCardContent$1, [1,"ptc-card-content",{"cardType":[1,"card-type"]}]);
|
|
14860
|
+
const PtcCardPlm = /*@__PURE__*/proxyCustomElement(PtcCardPlm$1, [1,"ptc-card-plm",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]}]);
|
|
14703
14861
|
const PtcCountdown = /*@__PURE__*/proxyCustomElement(PtcCountdown$1, [1,"ptc-countdown"]);
|
|
14704
14862
|
const PtcDate = /*@__PURE__*/proxyCustomElement(PtcDate$1, [1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateStyles":[1,"date-styles"]}]);
|
|
14705
14863
|
const PtcFooter = /*@__PURE__*/proxyCustomElement(PtcFooter$1, [1,"ptc-footer"]);
|
|
14706
14864
|
const PtcForm = /*@__PURE__*/proxyCustomElement(PtcForm$1, [6,"ptc-form",{"value":[32],"inputValue":[32],"selectValue":[32]}]);
|
|
14707
|
-
const
|
|
14865
|
+
const PtcHero = /*@__PURE__*/proxyCustomElement(PtcHero$1, [1,"ptc-hero",{"heroType":[1,"hero-type"]}]);
|
|
14866
|
+
const PtcImg = /*@__PURE__*/proxyCustomElement(PtcImg$1, [4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]]);
|
|
14708
14867
|
const PtcInput = /*@__PURE__*/proxyCustomElement(PtcInput$1, [6,"ptc-input",{"type":[1],"dataEloquaName":[1,"data-eloqua-name"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"focused":[32]}]);
|
|
14709
14868
|
const PtcLink = /*@__PURE__*/proxyCustomElement(PtcLink$1, [1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]);
|
|
14710
|
-
const PtcList = /*@__PURE__*/proxyCustomElement(PtcList$1, [
|
|
14869
|
+
const PtcList = /*@__PURE__*/proxyCustomElement(PtcList$1, [2,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]);
|
|
14711
14870
|
const PtcLottie = /*@__PURE__*/proxyCustomElement(PtcLottie$1, [1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]);
|
|
14712
14871
|
const PtcNav = /*@__PURE__*/proxyCustomElement(PtcNav$1, [1,"ptc-nav"]);
|
|
14713
14872
|
const PtcNavItem = /*@__PURE__*/proxyCustomElement(PtcNavItem$1, [1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]);
|
|
14714
|
-
const PtcOverlay = /*@__PURE__*/proxyCustomElement(PtcOverlay$1, [
|
|
14715
|
-
const PtcPara = /*@__PURE__*/proxyCustomElement(PtcPara$1, [1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraMargin":[1,"para-margin"]}]);
|
|
14716
|
-
const PtcPicture = /*@__PURE__*/proxyCustomElement(PtcPicture$1, [1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"styles":[1],"oldSrc":[32]},[[9,"resize","WindowResize"]]]);
|
|
14873
|
+
const PtcOverlay = /*@__PURE__*/proxyCustomElement(PtcOverlay$1, [1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1]}]);
|
|
14874
|
+
const PtcPara = /*@__PURE__*/proxyCustomElement(PtcPara$1, [1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"]}]);
|
|
14875
|
+
const PtcPicture = /*@__PURE__*/proxyCustomElement(PtcPicture$1, [1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"styles":[1],"oldSrc":[32]},[[9,"resize","WindowResize"]]]);
|
|
14717
14876
|
const PtcSelect = /*@__PURE__*/proxyCustomElement(PtcSelect$1, [6,"ptc-select",{"dataEloquaName":[1,"data-eloqua-name"],"selectId":[1,"select-id"],"name":[1],"valueOptions":[1040]}]);
|
|
14718
14877
|
const PtcSpacer = /*@__PURE__*/proxyCustomElement(PtcSpacer$1, [1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]);
|
|
14719
14878
|
const PtcSpan = /*@__PURE__*/proxyCustomElement(PtcSpan$1, [1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]);
|
|
14720
14879
|
const PtcSvgBtn = /*@__PURE__*/proxyCustomElement(PtcSvgBtn$1, [1,"ptc-svg-btn",{"svgName":[1,"svg-name"]}]);
|
|
14721
|
-
const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [6,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]);
|
|
14880
|
+
const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleMargin":[1,"title-margin"],"styles":[1]}]);
|
|
14722
14881
|
const defineCustomElements = (opts) => {
|
|
14723
14882
|
if (typeof customElements !== 'undefined') {
|
|
14724
14883
|
[
|
|
@@ -14728,12 +14887,17 @@ const defineCustomElements = (opts) => {
|
|
|
14728
14887
|
MyComponent,
|
|
14729
14888
|
PtcAnnouncement,
|
|
14730
14889
|
PtcAvatar,
|
|
14890
|
+
PtcBreadcrumb,
|
|
14731
14891
|
PtcButton,
|
|
14732
14892
|
PtcCard,
|
|
14893
|
+
PtcCardBottom,
|
|
14894
|
+
PtcCardContent,
|
|
14895
|
+
PtcCardPlm,
|
|
14733
14896
|
PtcCountdown,
|
|
14734
14897
|
PtcDate,
|
|
14735
14898
|
PtcFooter,
|
|
14736
14899
|
PtcForm,
|
|
14900
|
+
PtcHero,
|
|
14737
14901
|
PtcImg,
|
|
14738
14902
|
PtcInput,
|
|
14739
14903
|
PtcLink,
|
|
@@ -14757,4 +14921,4 @@ const defineCustomElements = (opts) => {
|
|
|
14757
14921
|
}
|
|
14758
14922
|
};
|
|
14759
14923
|
|
|
14760
|
-
export { IconAsset, ListItem, LottiePlayer, MyComponent, PtcAnnouncement, PtcAvatar, PtcButton, PtcCard, PtcCountdown, PtcDate, PtcFooter, PtcForm, PtcImg, PtcInput, PtcLink, PtcList, PtcLottie, PtcNav, PtcNavItem, PtcOverlay, PtcPara, PtcPicture, PtcSelect, PtcSpacer, PtcSpan, PtcSvgBtn, PtcTitle, defineCustomElements };
|
|
14924
|
+
export { IconAsset, ListItem, LottiePlayer, MyComponent, PtcAnnouncement, PtcAvatar, PtcBreadcrumb, PtcButton, PtcCard, PtcCardBottom, PtcCardContent, PtcCardPlm, PtcCountdown, PtcDate, PtcFooter, PtcForm, PtcHero, PtcImg, PtcInput, PtcLink, PtcList, PtcLottie, PtcNav, PtcNavItem, PtcOverlay, PtcPara, PtcPicture, PtcSelect, PtcSpacer, PtcSpan, PtcSvgBtn, PtcTitle, defineCustomElements };
|