@ptcwebops/ptcw-design 2.7.4 → 2.7.6
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/fl-tab-content_3.cjs.entry.js +6 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +57 -0
- package/dist/cjs/ptc-featured-list.cjs.entry.js +7 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +249 -0
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +63 -0
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +88 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +65 -7
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +18 -0
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +9 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +11 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -10
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +6 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +118 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +134 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +222 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +98 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +68 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +140 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +5705 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +123 -0
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +12 -0
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +99 -0
- package/dist/custom-elements/index.d.ts +36 -0
- package/dist/custom-elements/index.js +391 -8
- package/dist/esm/fl-tab-content_3.entry.js +6 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +2 -2
- package/dist/esm/ptc-brightcov-video.entry.js +53 -0
- package/dist/esm/ptc-featured-list.entry.js +7 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +242 -0
- package/dist/esm/ptc-filter-level-theater.entry.js +59 -0
- package/dist/esm/ptc-theater-video-modal.entry.js +84 -0
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-17a5ae95.entry.js +1 -0
- package/dist/ptcw-design/p-553505a6.entry.js +1 -0
- package/dist/ptcw-design/p-565dd14e.entry.js +1 -0
- package/dist/ptcw-design/p-6449b769.entry.js +1 -0
- package/dist/ptcw-design/p-739ab9b5.entry.js +1 -0
- package/dist/ptcw-design/p-cf70a004.entry.js +1 -0
- package/dist/ptcw-design/p-fb88e7a6.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-brightcov-video/ptc-brightcov-video.d.ts +6 -0
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +2 -0
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +24 -0
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +14 -0
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +11 -0
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +15 -0
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +12 -0
- package/dist/types/components.d.ts +107 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/ptc-social-share.cjs.entry.js +0 -80
- package/dist/esm/ptc-social-share.entry.js +0 -76
- package/dist/ptcw-design/p-12acb46f.entry.js +0 -1
- package/dist/ptcw-design/p-515f4332.entry.js +0 -1
- package/dist/ptcw-design/p-ac63caae.entry.js +0 -1
- package/dist/ptcw-design/p-f1ea577b.entry.js +0 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
|
+
export class PtcTheaterVideo {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.cardTitle = undefined;
|
|
5
|
+
this.cardDescription = undefined;
|
|
6
|
+
this.thumbImg = undefined;
|
|
7
|
+
this.cardNumber = undefined;
|
|
8
|
+
this.videoId = undefined;
|
|
9
|
+
this.vtagName = undefined;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, { "video-id": this.videoId, "vtag-name": this.vtagName }, h("div", { class: "img-wrap", onClick: () => this.showCardDetails() }, h("img", { src: this.thumbImg, alt: "" }), h("span", { class: 'card-number' }, this.cardNumber + 1), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "54", height: "56", viewBox: "0 0 54 56", fill: "none" }, h("g", { filter: "url(#filter0_d_214_969)" }, h("path", { d: "M42 20L12 36V4L42 20Z", fill: "white" })), h("defs", null, h("filter", { id: "filter0_d_214_969", x: "0", y: "0", width: "54", height: "56", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "s-rGB" }, h("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }), h("feColorMatrix", { 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" }), h("feOffset", { dy: "8" }), h("feGaussianBlur", { stdDeviation: "6" }), h("feComposite", { in2: "hardAlpha", operator: "out" }), h("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" }), h("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_214_969" }), h("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_214_969", result: "shape" }))))), h("h4", { class: 'vcard-title' }, this.cardTitle), h("div", { class: "hidden description" }, h("slot", null))));
|
|
13
|
+
}
|
|
14
|
+
showCardDetails() {
|
|
15
|
+
// Emit a custom event to signal that the card was clicked
|
|
16
|
+
const cardClickEvent = new CustomEvent('cardClicked', {
|
|
17
|
+
detail: this.cardTitle,
|
|
18
|
+
});
|
|
19
|
+
this.ele.dispatchEvent(cardClickEvent);
|
|
20
|
+
}
|
|
21
|
+
static get is() { return "ptc-theater-video"; }
|
|
22
|
+
static get encapsulation() { return "scoped"; }
|
|
23
|
+
static get originalStyleUrls() {
|
|
24
|
+
return {
|
|
25
|
+
"$": ["ptc-theater-video.scss"]
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
static get styleUrls() {
|
|
29
|
+
return {
|
|
30
|
+
"$": ["ptc-theater-video.css"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static get properties() {
|
|
34
|
+
return {
|
|
35
|
+
"cardTitle": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": ""
|
|
48
|
+
},
|
|
49
|
+
"attribute": "card-title",
|
|
50
|
+
"reflect": false
|
|
51
|
+
},
|
|
52
|
+
"cardDescription": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": ""
|
|
65
|
+
},
|
|
66
|
+
"attribute": "card-description",
|
|
67
|
+
"reflect": false
|
|
68
|
+
},
|
|
69
|
+
"thumbImg": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": ""
|
|
82
|
+
},
|
|
83
|
+
"attribute": "thumb-img",
|
|
84
|
+
"reflect": false
|
|
85
|
+
},
|
|
86
|
+
"cardNumber": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "number",
|
|
91
|
+
"resolved": "number",
|
|
92
|
+
"references": {}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": false,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": ""
|
|
99
|
+
},
|
|
100
|
+
"attribute": "card-number",
|
|
101
|
+
"reflect": false
|
|
102
|
+
},
|
|
103
|
+
"videoId": {
|
|
104
|
+
"type": "number",
|
|
105
|
+
"mutable": false,
|
|
106
|
+
"complexType": {
|
|
107
|
+
"original": "number",
|
|
108
|
+
"resolved": "number",
|
|
109
|
+
"references": {}
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"optional": false,
|
|
113
|
+
"docs": {
|
|
114
|
+
"tags": [],
|
|
115
|
+
"text": ""
|
|
116
|
+
},
|
|
117
|
+
"attribute": "video-id",
|
|
118
|
+
"reflect": false
|
|
119
|
+
},
|
|
120
|
+
"vtagName": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string",
|
|
125
|
+
"resolved": "string",
|
|
126
|
+
"references": {}
|
|
127
|
+
},
|
|
128
|
+
"required": false,
|
|
129
|
+
"optional": false,
|
|
130
|
+
"docs": {
|
|
131
|
+
"tags": [],
|
|
132
|
+
"text": ""
|
|
133
|
+
},
|
|
134
|
+
"attribute": "vtag-name",
|
|
135
|
+
"reflect": false
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
static get elementRef() { return "ele"; }
|
|
140
|
+
}
|