@ptcwebops/ptcw-design 0.0.8 → 0.0.10
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/loader.cjs.js +1 -1
- package/dist/cjs/ptc-card.cjs.entry.js +21 -3
- package/dist/cjs/ptc-date.cjs.entry.js +11 -2
- package/dist/cjs/ptc-img.cjs.entry.js +21 -1
- package/dist/cjs/ptc-para.cjs.entry.js +3 -2
- package/dist/cjs/ptc-span.cjs.entry.js +7 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/ptc-card/ptc-card.css +133 -0
- package/dist/collection/components/ptc-card/ptc-card.js +43 -6
- package/dist/collection/components/ptc-date/ptc-date.js +47 -2
- package/dist/collection/components/ptc-img/ptc-img.css +13 -1
- package/dist/collection/components/ptc-img/ptc-img.js +43 -6
- package/dist/collection/components/ptc-para/ptc-para.css +21 -17
- package/dist/collection/components/ptc-para/ptc-para.js +20 -1
- package/dist/collection/components/ptc-span/ptc-span.css +22 -2
- package/dist/collection/components/ptc-span/ptc-span.js +44 -2
- package/dist/custom-elements/index.js +71 -15
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-card.entry.js +21 -3
- package/dist/esm/ptc-date.entry.js +11 -2
- package/dist/esm/ptc-img.entry.js +21 -1
- package/dist/esm/ptc-para.entry.js +3 -2
- package/dist/esm/ptc-span.entry.js +7 -2
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-00b6c442.entry.js +1 -0
- package/dist/ptcw-design/p-66dd07cb.entry.js +1 -0
- package/dist/ptcw-design/p-70adca2e.entry.js +1 -0
- package/dist/ptcw-design/p-83d98048.entry.js +1 -0
- package/dist/ptcw-design/p-aef5dc05.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-card/ptc-card.d.ts +7 -2
- package/dist/types/components/ptc-date/ptc-date.d.ts +10 -0
- package/dist/types/components/ptc-img/ptc-img.d.ts +26 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +4 -0
- package/dist/types/components/ptc-span/ptc-span.d.ts +8 -0
- package/dist/types/components.d.ts +94 -2
- package/package.json +1 -1
- package/dist/ptcw-design/p-1b4fd3da.entry.js +0 -1
- package/dist/ptcw-design/p-7caa43ae.entry.js +0 -1
- package/dist/ptcw-design/p-8b6c805c.entry.js +0 -1
- package/dist/ptcw-design/p-9f96864d.entry.js +0 -1
- package/dist/ptcw-design/p-b0b2e82c.entry.js +0 -1
|
@@ -2,10 +2,29 @@ import { Component, Host, h, Prop, Listen } from '@stencil/core';
|
|
|
2
2
|
import { ResponsiveBgVariables } from '../../utils/interfaces';
|
|
3
3
|
export class PtcImg {
|
|
4
4
|
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* Image size for smallest screen
|
|
7
|
+
* <=767px
|
|
8
|
+
*/
|
|
5
9
|
this.sizeXs = '510x340';
|
|
10
|
+
/**
|
|
11
|
+
* Image size for small screen
|
|
12
|
+
* >=768px and <=991px
|
|
13
|
+
*/
|
|
6
14
|
this.sizeSm = '1240x496';
|
|
15
|
+
/**
|
|
16
|
+
* Image size for medium screen
|
|
17
|
+
* >=992px and <=1199px
|
|
18
|
+
*/
|
|
7
19
|
this.sizeMd = '1366x500';
|
|
20
|
+
/**
|
|
21
|
+
* Image solution for large screen
|
|
22
|
+
* >=1200px
|
|
23
|
+
*/
|
|
8
24
|
this.sizeLg = '1920x1080';
|
|
25
|
+
/**
|
|
26
|
+
* Image type
|
|
27
|
+
*/
|
|
9
28
|
this.imageType = 'smart-bg';
|
|
10
29
|
}
|
|
11
30
|
WindowResize() {
|
|
@@ -43,6 +62,7 @@ export class PtcImg {
|
|
|
43
62
|
return {
|
|
44
63
|
[this.imageType]: true,
|
|
45
64
|
'ptc-img': true,
|
|
65
|
+
[this.borderRadius]: true,
|
|
46
66
|
};
|
|
47
67
|
}
|
|
48
68
|
getCurrentBreakPoints() {
|
|
@@ -86,7 +106,7 @@ export class PtcImg {
|
|
|
86
106
|
"optional": false,
|
|
87
107
|
"docs": {
|
|
88
108
|
"tags": [],
|
|
89
|
-
"text": ""
|
|
109
|
+
"text": "Image size for smallest screen\n<=767px"
|
|
90
110
|
},
|
|
91
111
|
"attribute": "size-xs",
|
|
92
112
|
"reflect": false,
|
|
@@ -104,7 +124,7 @@ export class PtcImg {
|
|
|
104
124
|
"optional": false,
|
|
105
125
|
"docs": {
|
|
106
126
|
"tags": [],
|
|
107
|
-
"text": ""
|
|
127
|
+
"text": "Image size for small screen\n>=768px and <=991px"
|
|
108
128
|
},
|
|
109
129
|
"attribute": "size-sm",
|
|
110
130
|
"reflect": false,
|
|
@@ -122,7 +142,7 @@ export class PtcImg {
|
|
|
122
142
|
"optional": false,
|
|
123
143
|
"docs": {
|
|
124
144
|
"tags": [],
|
|
125
|
-
"text": ""
|
|
145
|
+
"text": "Image size for medium screen\n>=992px and <=1199px"
|
|
126
146
|
},
|
|
127
147
|
"attribute": "size-md",
|
|
128
148
|
"reflect": false,
|
|
@@ -140,7 +160,7 @@ export class PtcImg {
|
|
|
140
160
|
"optional": false,
|
|
141
161
|
"docs": {
|
|
142
162
|
"tags": [],
|
|
143
|
-
"text": ""
|
|
163
|
+
"text": "Image solution for large screen\n>=1200px"
|
|
144
164
|
},
|
|
145
165
|
"attribute": "size-lg",
|
|
146
166
|
"reflect": false,
|
|
@@ -158,7 +178,7 @@ export class PtcImg {
|
|
|
158
178
|
"optional": false,
|
|
159
179
|
"docs": {
|
|
160
180
|
"tags": [],
|
|
161
|
-
"text": ""
|
|
181
|
+
"text": "Image Src"
|
|
162
182
|
},
|
|
163
183
|
"attribute": "img-url",
|
|
164
184
|
"reflect": false
|
|
@@ -175,11 +195,28 @@ export class PtcImg {
|
|
|
175
195
|
"optional": false,
|
|
176
196
|
"docs": {
|
|
177
197
|
"tags": [],
|
|
178
|
-
"text": ""
|
|
198
|
+
"text": "Image type"
|
|
179
199
|
},
|
|
180
200
|
"attribute": "image-type",
|
|
181
201
|
"reflect": false,
|
|
182
202
|
"defaultValue": "'smart-bg'"
|
|
203
|
+
},
|
|
204
|
+
"borderRadius": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "'radius-sm' | 'radius-md' | 'radius-lg'",
|
|
209
|
+
"resolved": "\"radius-lg\" | \"radius-md\" | \"radius-sm\"",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": true,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": "Image border shape"
|
|
217
|
+
},
|
|
218
|
+
"attribute": "border-radius",
|
|
219
|
+
"reflect": false
|
|
183
220
|
}
|
|
184
221
|
}; }
|
|
185
222
|
static get listeners() { return [{
|
|
@@ -1,53 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
p.default {
|
|
2
2
|
text-shadow: 0 3px 6px var(--color-white);
|
|
3
3
|
line-height: var(--ptc-line-height-dense);
|
|
4
4
|
color: var(--color-primary-grey);
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
p.xx-small {
|
|
7
7
|
font-size: var(--ptc-font-size-xx-small);
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
p.x-small {
|
|
10
10
|
font-size: var(--ptc-font-size-x-small);
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
p.small {
|
|
13
13
|
font-size: var(--ptc-font-size-small);
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
p.medium {
|
|
16
16
|
font-size: var(--ptc-font-size-medium);
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
p.large {
|
|
19
19
|
font-size: var(--ptc-font-size-large);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
p.x-large {
|
|
22
22
|
font-size: var(--ptc-font-size-x-large);
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
p.xx-large {
|
|
25
25
|
font-size: var(--ptc-font-size-xx-large);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
p.xxx-large {
|
|
28
28
|
font-size: var(--ptc-font-size-xxx-large);
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
p.xxxx-large {
|
|
31
31
|
font-size: var(--ptc-font-size-xxxx-large);
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
p.w-3 {
|
|
34
34
|
font-weight: var(--ptc-font-weight-thin);
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
p.w-4 {
|
|
37
37
|
font-weight: var(--ptc-font-weight-regular);
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
p.w-5 {
|
|
40
40
|
font-weight: var(--ptc-font-weight-medium);
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
p.w-6 {
|
|
43
43
|
font-weight: var(--ptc-font-weight-semibold);
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
p.w-7 {
|
|
46
46
|
font-weight: var(--ptc-font-weight-bold);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
p.w-8 {
|
|
49
49
|
font-weight: var(--ptc-font-weight-extrabold);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
p.w-9 {
|
|
52
52
|
font-weight: var(--ptc-font-weight-black);
|
|
53
|
+
}
|
|
54
|
+
p.margin-flush {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
margin-bottom: 0;
|
|
53
57
|
}
|
|
@@ -16,7 +16,7 @@ export class PtcPara {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const classMap = this.getCssClassMap();
|
|
19
|
-
return (h("p", { class: classMap },
|
|
19
|
+
return (h("p", { class: classMap, part: "part-para" },
|
|
20
20
|
h("slot", null)));
|
|
21
21
|
}
|
|
22
22
|
getCssClassMap() {
|
|
@@ -24,9 +24,11 @@ export class PtcPara {
|
|
|
24
24
|
[this.fontSize]: true,
|
|
25
25
|
[this.fontWeight]: true,
|
|
26
26
|
[this.paraStyle]: true,
|
|
27
|
+
[this.paraMargin]: true,
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
static get is() { return "ptc-para"; }
|
|
31
|
+
static get encapsulation() { return "shadow"; }
|
|
30
32
|
static get originalStyleUrls() { return {
|
|
31
33
|
"$": ["ptc-para.scss"]
|
|
32
34
|
}; }
|
|
@@ -87,6 +89,23 @@ export class PtcPara {
|
|
|
87
89
|
"attribute": "para-style",
|
|
88
90
|
"reflect": false,
|
|
89
91
|
"defaultValue": "'default'"
|
|
92
|
+
},
|
|
93
|
+
"paraMargin": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"mutable": false,
|
|
96
|
+
"complexType": {
|
|
97
|
+
"original": "'margin-flush'",
|
|
98
|
+
"resolved": "\"margin-flush\"",
|
|
99
|
+
"references": {}
|
|
100
|
+
},
|
|
101
|
+
"required": false,
|
|
102
|
+
"optional": true,
|
|
103
|
+
"docs": {
|
|
104
|
+
"tags": [],
|
|
105
|
+
"text": "Paragraph Margin"
|
|
106
|
+
},
|
|
107
|
+
"attribute": "para-margin",
|
|
108
|
+
"reflect": false
|
|
90
109
|
}
|
|
91
110
|
}; }
|
|
92
111
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
:host(.link-style) span {
|
|
2
2
|
color: var(--color-primary-uigrey);
|
|
3
3
|
font-weight: var(--ptc-font-weight-black);
|
|
4
4
|
position: relative;
|
|
5
5
|
line-height: var(--ptc-line-height-normal);
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
:host(.nav-style) span {
|
|
8
9
|
display: block;
|
|
9
10
|
color: #cac8c8;
|
|
10
11
|
font-weight: var(--ptc-font-weight-medium);
|
|
@@ -13,4 +14,23 @@ ptc-span.nav-style {
|
|
|
13
14
|
padding-left: var(--ptc-element-spacing-05);
|
|
14
15
|
font-size: 17px;
|
|
15
16
|
padding-bottom: var(--ptc-element-spacing-03);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(.tag-style) span {
|
|
20
|
+
font-size: var(--ptc-font-size-medium);
|
|
21
|
+
line-height: var(--ptc-line-height-dense);
|
|
22
|
+
font-weight: var(--ptc-font-weight-regular);
|
|
23
|
+
color: #40434a;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host(.inline) span {
|
|
27
|
+
display: inline;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host(.block) span {
|
|
31
|
+
display: block;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host(.inline-block) span {
|
|
35
|
+
display: inline-block;
|
|
16
36
|
}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
import { Component, Host, h, Prop } from '@stencil/core';
|
|
2
2
|
export class PtcSpan {
|
|
3
3
|
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Span Style
|
|
6
|
+
*/
|
|
4
7
|
this.spanStyle = 'tag-style';
|
|
8
|
+
this.display = 'inline';
|
|
5
9
|
}
|
|
6
10
|
render() {
|
|
7
11
|
const classMap = this.getCssClassMap();
|
|
8
12
|
return (h(Host, { class: classMap },
|
|
9
|
-
h("
|
|
13
|
+
this.styles && h("style", null, this.styles),
|
|
14
|
+
h("span", { part: "part-ptc-span" },
|
|
10
15
|
h("slot", null))));
|
|
11
16
|
}
|
|
12
17
|
getCssClassMap() {
|
|
13
18
|
return {
|
|
14
19
|
[this.spanStyle]: true,
|
|
20
|
+
[this.display]: true,
|
|
15
21
|
};
|
|
16
22
|
}
|
|
17
23
|
static get is() { return "ptc-span"; }
|
|
24
|
+
static get encapsulation() { return "shadow"; }
|
|
18
25
|
static get originalStyleUrls() { return {
|
|
19
26
|
"$": ["ptc-span.scss"]
|
|
20
27
|
}; }
|
|
@@ -34,11 +41,46 @@ export class PtcSpan {
|
|
|
34
41
|
"optional": false,
|
|
35
42
|
"docs": {
|
|
36
43
|
"tags": [],
|
|
37
|
-
"text": ""
|
|
44
|
+
"text": "Span Style"
|
|
38
45
|
},
|
|
39
46
|
"attribute": "span-style",
|
|
40
47
|
"reflect": false,
|
|
41
48
|
"defaultValue": "'tag-style'"
|
|
49
|
+
},
|
|
50
|
+
"display": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "'block' | 'inline-block' | 'inline'",
|
|
55
|
+
"resolved": "\"block\" | \"inline\" | \"inline-block\"",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": ""
|
|
63
|
+
},
|
|
64
|
+
"attribute": "display",
|
|
65
|
+
"reflect": false,
|
|
66
|
+
"defaultValue": "'inline'"
|
|
67
|
+
},
|
|
68
|
+
"styles": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"mutable": false,
|
|
71
|
+
"complexType": {
|
|
72
|
+
"original": "string",
|
|
73
|
+
"resolved": "string",
|
|
74
|
+
"references": {}
|
|
75
|
+
},
|
|
76
|
+
"required": false,
|
|
77
|
+
"optional": true,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": "Injected Styles"
|
|
81
|
+
},
|
|
82
|
+
"attribute": "styles",
|
|
83
|
+
"reflect": false
|
|
42
84
|
}
|
|
43
85
|
}; }
|
|
44
86
|
}
|
|
@@ -13614,7 +13614,7 @@ const PtcButton$1 = class extends HTMLElement {
|
|
|
13614
13614
|
static get style() { return ptcButtonCss; }
|
|
13615
13615
|
};
|
|
13616
13616
|
|
|
13617
|
-
const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:1px 1px 14px 0 rgba(101, 101, 101, 0.35);border:1px solid #c9c9c9;border-radius:10px;position:relative}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:#74c34d;z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:1px 1px 35px 0 rgba(101, 101, 101, 0.65)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-primary-green)}: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 #c9c9c9}: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:1;color:#40434a;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-medium);text-transform:uppercase;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:15px}:host(.simple-card) .card-body h3{color:#40434a;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:1.86;text-transform:uppercase;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-06);border-bottom:2px solid var(--color-secondary-turtlegreen);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:5px;transition:margin-left var(--ptc-transition-medium) var(--ptc-standard-ease)}";
|
|
13617
|
+
const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:1px 1px 14px 0 rgba(101, 101, 101, 0.35);border:1px solid #c9c9c9;border-radius:10px;position:relative}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:#74c34d;z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:1px 1px 35px 0 rgba(101, 101, 101, 0.65)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-primary-green)}: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 #c9c9c9}: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:1;color:#40434a;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-medium);text-transform:uppercase;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:15px}:host(.simple-card) .card-body h3{color:#40434a;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:1.86;text-transform:uppercase;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-06);border-bottom:2px solid var(--color-secondary-turtlegreen);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:5px;transition:margin-left var(--ptc-transition-medium) var(--ptc-standard-ease)}: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-medium)}: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-06));font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:#40434a;clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-medium);padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-06)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-primary-uigrey);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-standard-ease);margin-bottom:var(--ptc-element-spacing-03)}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-standard-ease), opacity var(--ptc-transition-medium) var(--ptc-standard-ease)}: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-standard-ease);transform-origin:top center}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-secondary-turtlegreen)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:54px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.hightlight-card) .card-border{box-shadow:0px 3px 6px rgba(0, 0, 0, 0.16);width:100%;border-radius:var(--ptc-border-radius-medium);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:var(--ptc-layout-spacing-05);opacity:1}: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-standard-ease);transition-delay:var(--ptc-delay-medium)}: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-06);background-color:var(--color-white)}:host(.hightlight-card) .card-body h3{font-size:30px;line-height:1.27;font-weight:var(--ptc-font-weight-bold);color:var(--color-primary-uigrey);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-standard-ease), opacity var(--ptc-transition-fast) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}";
|
|
13618
13618
|
|
|
13619
13619
|
const PtcCard$1 = class extends HTMLElement {
|
|
13620
13620
|
constructor() {
|
|
@@ -13654,8 +13654,12 @@ const PtcCard$1 = class extends HTMLElement {
|
|
|
13654
13654
|
render() {
|
|
13655
13655
|
const Tag = !!this.cardHref ? 'a' : 'div';
|
|
13656
13656
|
const classMap = this.getCssClassMap();
|
|
13657
|
-
return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.
|
|
13658
|
-
|
|
13657
|
+
return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.getMediaSlot ? h("slot", { name: this.getMediaSlot() }) : null)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h("slot", { name: "slot-before-heading" }), !!this.heading
|
|
13658
|
+
? [
|
|
13659
|
+
h("h3", { class: "ptc-h3", part: "card-heading" }, this.heading),
|
|
13660
|
+
h("slot", { name: "slot-after-heading" }),
|
|
13661
|
+
]
|
|
13662
|
+
: null, h("slot", { name: "slot-description" }), !!this.cardDate ? h("ptc-date", { "date-string": `${this.cardDate}`, "date-styles": "::part(part-ptc-date){color:#40434a;font-size:var(--ptc-font-size-medium);margin-top:var(--ptc-element-spacing-04);display:inline-block;}" }) : null)))));
|
|
13659
13663
|
}
|
|
13660
13664
|
getCssClassMap() {
|
|
13661
13665
|
return {
|
|
@@ -13663,6 +13667,20 @@ const PtcCard$1 = class extends HTMLElement {
|
|
|
13663
13667
|
['link-wrapper']: !!this.cardType ? true : false,
|
|
13664
13668
|
};
|
|
13665
13669
|
}
|
|
13670
|
+
getMediaSlot() {
|
|
13671
|
+
if (this.hasLottie) {
|
|
13672
|
+
return 'slot-lottie';
|
|
13673
|
+
}
|
|
13674
|
+
else if (this.hasVideo) {
|
|
13675
|
+
return 'slot-video';
|
|
13676
|
+
}
|
|
13677
|
+
else if (this.hasImage) {
|
|
13678
|
+
return 'slot-image';
|
|
13679
|
+
}
|
|
13680
|
+
else {
|
|
13681
|
+
return null;
|
|
13682
|
+
}
|
|
13683
|
+
}
|
|
13666
13684
|
static get style() { return ptcCardCss; }
|
|
13667
13685
|
};
|
|
13668
13686
|
|
|
@@ -13672,6 +13690,7 @@ const PtcDate$1 = class extends HTMLElement {
|
|
|
13672
13690
|
constructor() {
|
|
13673
13691
|
super();
|
|
13674
13692
|
this.__registerHost();
|
|
13693
|
+
attachShadow(this);
|
|
13675
13694
|
/**
|
|
13676
13695
|
* Year
|
|
13677
13696
|
*/
|
|
@@ -13693,8 +13712,17 @@ const PtcDate$1 = class extends HTMLElement {
|
|
|
13693
13712
|
this.country = "en-US";
|
|
13694
13713
|
}
|
|
13695
13714
|
render() {
|
|
13696
|
-
const
|
|
13697
|
-
return (h(Host, null, h("
|
|
13715
|
+
// const newDate = new Date(this.year, this.month, this.day);
|
|
13716
|
+
return (h(Host, null, this.dateStyles && h("style", null, this.dateStyles), h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, { year: 'numeric', month: 'short', day: 'numeric' }))));
|
|
13717
|
+
}
|
|
13718
|
+
getDate() {
|
|
13719
|
+
if (this.dateString) {
|
|
13720
|
+
let newDate = new Date(this.dateString.replace(/-/g, '\/'));
|
|
13721
|
+
return newDate;
|
|
13722
|
+
}
|
|
13723
|
+
else {
|
|
13724
|
+
return new Date(this.year, this.month, this.day);
|
|
13725
|
+
}
|
|
13698
13726
|
}
|
|
13699
13727
|
static get style() { return ptcDateCss; }
|
|
13700
13728
|
};
|
|
@@ -13772,16 +13800,35 @@ let ResponsiveBgVariables = {
|
|
|
13772
13800
|
interval: 250
|
|
13773
13801
|
};
|
|
13774
13802
|
|
|
13775
|
-
const ptcImgCss = ".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%}@media (max-width: 767px){.hidden-xs{display:none !important}}@media (min-width:
|
|
13803
|
+
const ptcImgCss = ".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-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)}@media (max-width: 767px){.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 (min-width: 1200px){.hidden-lg{display:none !important}}";
|
|
13776
13804
|
|
|
13777
13805
|
const PtcImg$1 = class extends HTMLElement {
|
|
13778
13806
|
constructor() {
|
|
13779
13807
|
super();
|
|
13780
13808
|
this.__registerHost();
|
|
13809
|
+
/**
|
|
13810
|
+
* Image size for smallest screen
|
|
13811
|
+
* <=767px
|
|
13812
|
+
*/
|
|
13781
13813
|
this.sizeXs = '510x340';
|
|
13814
|
+
/**
|
|
13815
|
+
* Image size for small screen
|
|
13816
|
+
* >=768px and <=991px
|
|
13817
|
+
*/
|
|
13782
13818
|
this.sizeSm = '1240x496';
|
|
13819
|
+
/**
|
|
13820
|
+
* Image size for medium screen
|
|
13821
|
+
* >=992px and <=1199px
|
|
13822
|
+
*/
|
|
13783
13823
|
this.sizeMd = '1366x500';
|
|
13824
|
+
/**
|
|
13825
|
+
* Image solution for large screen
|
|
13826
|
+
* >=1200px
|
|
13827
|
+
*/
|
|
13784
13828
|
this.sizeLg = '1920x1080';
|
|
13829
|
+
/**
|
|
13830
|
+
* Image type
|
|
13831
|
+
*/
|
|
13785
13832
|
this.imageType = 'smart-bg';
|
|
13786
13833
|
}
|
|
13787
13834
|
WindowResize() {
|
|
@@ -13818,6 +13865,7 @@ const PtcImg$1 = class extends HTMLElement {
|
|
|
13818
13865
|
return {
|
|
13819
13866
|
[this.imageType]: true,
|
|
13820
13867
|
'ptc-img': true,
|
|
13868
|
+
[this.borderRadius]: true,
|
|
13821
13869
|
};
|
|
13822
13870
|
}
|
|
13823
13871
|
getCurrentBreakPoints() {
|
|
@@ -14052,12 +14100,13 @@ const PtcOverlay$1 = class extends HTMLElement {
|
|
|
14052
14100
|
static get style() { return ptcOverlayCss; }
|
|
14053
14101
|
};
|
|
14054
14102
|
|
|
14055
|
-
const ptcParaCss = "
|
|
14103
|
+
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}";
|
|
14056
14104
|
|
|
14057
14105
|
const PtcPara$1 = class extends HTMLElement {
|
|
14058
14106
|
constructor() {
|
|
14059
14107
|
super();
|
|
14060
14108
|
this.__registerHost();
|
|
14109
|
+
attachShadow(this);
|
|
14061
14110
|
/**
|
|
14062
14111
|
* Paragraph font size
|
|
14063
14112
|
**/
|
|
@@ -14073,13 +14122,14 @@ const PtcPara$1 = class extends HTMLElement {
|
|
|
14073
14122
|
}
|
|
14074
14123
|
render() {
|
|
14075
14124
|
const classMap = this.getCssClassMap();
|
|
14076
|
-
return (h("p", { class: classMap }, h("slot", null)));
|
|
14125
|
+
return (h("p", { class: classMap, part: "part-para" }, h("slot", null)));
|
|
14077
14126
|
}
|
|
14078
14127
|
getCssClassMap() {
|
|
14079
14128
|
return {
|
|
14080
14129
|
[this.fontSize]: true,
|
|
14081
14130
|
[this.fontWeight]: true,
|
|
14082
14131
|
[this.paraStyle]: true,
|
|
14132
|
+
[this.paraMargin]: true,
|
|
14083
14133
|
};
|
|
14084
14134
|
}
|
|
14085
14135
|
static get style() { return ptcParaCss; }
|
|
@@ -14146,21 +14196,27 @@ const PtcSpacer$1 = class extends HTMLElement {
|
|
|
14146
14196
|
static get style() { return ptcSpacerCss; }
|
|
14147
14197
|
};
|
|
14148
14198
|
|
|
14149
|
-
const ptcSpanCss = "
|
|
14199
|
+
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:#40434a}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}";
|
|
14150
14200
|
|
|
14151
14201
|
const PtcSpan$1 = class extends HTMLElement {
|
|
14152
14202
|
constructor() {
|
|
14153
14203
|
super();
|
|
14154
14204
|
this.__registerHost();
|
|
14205
|
+
attachShadow(this);
|
|
14206
|
+
/**
|
|
14207
|
+
* Span Style
|
|
14208
|
+
*/
|
|
14155
14209
|
this.spanStyle = 'tag-style';
|
|
14210
|
+
this.display = 'inline';
|
|
14156
14211
|
}
|
|
14157
14212
|
render() {
|
|
14158
14213
|
const classMap = this.getCssClassMap();
|
|
14159
|
-
return (h(Host, { class: classMap }, h("span", { part: "ptc-span" }, h("slot", null))));
|
|
14214
|
+
return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("span", { part: "part-ptc-span" }, h("slot", null))));
|
|
14160
14215
|
}
|
|
14161
14216
|
getCssClassMap() {
|
|
14162
14217
|
return {
|
|
14163
14218
|
[this.spanStyle]: true,
|
|
14219
|
+
[this.display]: true,
|
|
14164
14220
|
};
|
|
14165
14221
|
}
|
|
14166
14222
|
static get style() { return ptcSpanCss; }
|
|
@@ -14215,21 +14271,21 @@ const ListItem = /*@__PURE__*/proxyCustomElement(ListItem$1, [4,"list-item",{"li
|
|
|
14215
14271
|
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]}]);
|
|
14216
14272
|
const MyComponent = /*@__PURE__*/proxyCustomElement(MyComponent$1, [1,"my-component",{"first":[1],"middle":[1],"last":[1]}]);
|
|
14217
14273
|
const PtcButton = /*@__PURE__*/proxyCustomElement(PtcButton$1, [4,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"]}]);
|
|
14218
|
-
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],"styles":[1]}]);
|
|
14219
|
-
const PtcDate = /*@__PURE__*/proxyCustomElement(PtcDate$1, [
|
|
14274
|
+
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],"cardDate":[1,"card-date"],"styles":[1]}]);
|
|
14275
|
+
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"]}]);
|
|
14220
14276
|
const PtcFooter = /*@__PURE__*/proxyCustomElement(PtcFooter$1, [1,"ptc-footer"]);
|
|
14221
14277
|
const PtcImage = /*@__PURE__*/proxyCustomElement(PtcImage$1, [1,"ptc-image",{"src":[1],"alt":[1],"oldSrc":[32]}]);
|
|
14222
|
-
const PtcImg = /*@__PURE__*/proxyCustomElement(PtcImg$1, [0,"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"]},[[9,"resize","WindowResize"]]]);
|
|
14278
|
+
const PtcImg = /*@__PURE__*/proxyCustomElement(PtcImg$1, [0,"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"]},[[9,"resize","WindowResize"]]]);
|
|
14223
14279
|
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"]}]);
|
|
14224
14280
|
const PtcList = /*@__PURE__*/proxyCustomElement(PtcList$1, [0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]);
|
|
14225
14281
|
const PtcLottie = /*@__PURE__*/proxyCustomElement(PtcLottie$1, [1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]);
|
|
14226
14282
|
const PtcNav = /*@__PURE__*/proxyCustomElement(PtcNav$1, [1,"ptc-nav"]);
|
|
14227
14283
|
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"]]]);
|
|
14228
14284
|
const PtcOverlay = /*@__PURE__*/proxyCustomElement(PtcOverlay$1, [4,"ptc-overlay"]);
|
|
14229
|
-
const PtcPara = /*@__PURE__*/proxyCustomElement(PtcPara$1, [
|
|
14285
|
+
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"]}]);
|
|
14230
14286
|
const PtcPicture = /*@__PURE__*/proxyCustomElement(PtcPicture$1, [4,"ptc-picture",{"lazy":[1]}]);
|
|
14231
14287
|
const PtcSpacer = /*@__PURE__*/proxyCustomElement(PtcSpacer$1, [1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]);
|
|
14232
|
-
const PtcSpan = /*@__PURE__*/proxyCustomElement(PtcSpan$1, [
|
|
14288
|
+
const PtcSpan = /*@__PURE__*/proxyCustomElement(PtcSpan$1, [1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]);
|
|
14233
14289
|
const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [1,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]);
|
|
14234
14290
|
const defineCustomElements = (opts) => {
|
|
14235
14291
|
if (typeof customElements !== 'undefined') {
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["ptc-
|
|
13
|
+
return bootstrapLazy([["ptc-card",[[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],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-link",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]]],["ptc-lottie",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["list-item",[[4,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["my-component",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-button",[[4,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"]}]]],["ptc-footer",[[1,"ptc-footer"]]],["ptc-image",[[1,"ptc-image",{"src":[1],"alt":[1],"oldSrc":[32]}]]],["ptc-img",[[0,"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"]},[[9,"resize","WindowResize"]]]]],["ptc-list",[[0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-nav",[[1,"ptc-nav"]]],["ptc-nav-item",[[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"]]]]],["ptc-overlay",[[4,"ptc-overlay"]]],["ptc-para",[[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraMargin":[1,"para-margin"]}]]],["ptc-picture",[[4,"ptc-picture",{"lazy":[1]}]]],["ptc-spacer",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-title",[[1,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]]],["icon-asset",[[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]]],["lottie-player",[[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],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["ptc-date",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateStyles":[1,"date-styles"]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|