@ptcwebops/ptcw-design 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/icon-asset_5.cjs.entry.js +207 -0
- package/dist/{ptcw-design/index-f7043a90.js → cjs/index-ac192914.js} +195 -1311
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/list-item.cjs.entry.js +27 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/lottie-player.cjs.entry.js +13476 -0
- package/dist/cjs/my-component.cjs.entry.js +26 -0
- package/dist/cjs/ptc-card.cjs.entry.js +75 -0
- package/dist/cjs/ptc-date.cjs.entry.js +48 -0
- package/dist/cjs/ptc-footer.cjs.entry.js +19 -0
- package/dist/cjs/ptc-image.cjs.entry.js +58 -0
- package/dist/cjs/ptc-img.cjs.entry.js +160 -0
- package/dist/cjs/ptc-link.cjs.entry.js +53 -0
- package/dist/cjs/ptc-list.cjs.entry.js +32 -0
- package/dist/cjs/ptc-lottie.cjs.entry.js +23 -0
- package/dist/cjs/ptc-nav-item.cjs.entry.js +94 -0
- package/dist/cjs/ptc-nav.cjs.entry.js +19 -0
- package/dist/cjs/ptc-overlay.cjs.entry.js +19 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +26 -0
- package/dist/cjs/ptc-spacer.cjs.entry.js +46 -0
- package/dist/cjs/ptc-span.cjs.entry.js +31 -0
- package/dist/cjs/ptc-title.cjs.entry.js +49 -0
- package/dist/cjs/ptcw-design.cjs.js +19 -0
- package/dist/collection/assets/svg-imgs/close.svg +11 -0
- package/dist/collection/collection-manifest.json +40 -0
- package/dist/collection/components/icon-asset/assets/brands.svg +1381 -0
- package/dist/collection/components/icon-asset/assets/footer-social.svg +0 -0
- package/dist/collection/components/icon-asset/assets/ptc-sprite.svg +144 -0
- package/dist/collection/components/icon-asset/assets/regular.svg +463 -0
- package/dist/collection/components/icon-asset/assets/solid.svg +3013 -0
- package/dist/collection/components/icon-asset/assets/svg-with-js.min.css +5 -0
- package/dist/collection/components/icon-asset/icon-asset.css +30 -0
- package/dist/collection/components/icon-asset/icon-asset.js +177 -0
- package/dist/collection/components/list-item/list-item.css +3 -0
- package/dist/collection/components/list-item/list-item.js +63 -0
- package/dist/collection/components/my-component/my-component.css +3 -0
- package/dist/collection/components/my-component/my-component.js +74 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +87 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +127 -0
- package/dist/collection/components/ptc-button/ptc-button.css +155 -0
- package/dist/collection/components/ptc-button/ptc-button.js +223 -0
- package/dist/collection/components/ptc-card/ptc-card.css +239 -0
- package/dist/collection/components/ptc-card/ptc-card.js +260 -0
- package/dist/collection/components/ptc-date/ptc-date.css +3 -0
- package/dist/collection/components/ptc-date/ptc-date.js +155 -0
- package/dist/collection/components/ptc-footer/ptc-footer.css +40 -0
- package/dist/collection/components/ptc-footer/ptc-footer.js +25 -0
- package/dist/collection/components/ptc-image/ptc-image.css +4 -0
- package/dist/collection/components/ptc-image/ptc-image.js +92 -0
- package/dist/collection/components/ptc-img/ptc-img.css +65 -0
- package/dist/collection/components/ptc-img/ptc-img.js +315 -0
- package/dist/collection/components/ptc-link/ptc-link.css +168 -0
- package/dist/collection/components/ptc-link/ptc-link.js +197 -0
- package/dist/collection/components/ptc-list/ptc-list.css +24 -0
- package/dist/collection/components/ptc-list/ptc-list.js +66 -0
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -0
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -0
- package/dist/collection/components/ptc-nav/ptc-nav.css +29 -0
- package/dist/collection/components/ptc-nav/ptc-nav.js +21 -0
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.css +81 -0
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +3 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +14 -0
- package/dist/collection/components/ptc-para/ptc-para.css +64 -0
- package/dist/collection/components/ptc-para/ptc-para.js +111 -0
- package/dist/collection/components/ptc-picture/ptc-picture.css +3 -0
- package/dist/collection/components/ptc-picture/ptc-picture.js +44 -0
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +307 -0
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -0
- package/dist/collection/components/ptc-span/ptc-span.css +36 -0
- package/dist/collection/components/ptc-span/ptc-span.js +86 -0
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +77 -0
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +34 -0
- package/dist/collection/components/ptc-title/ptc-title.css +64 -0
- package/dist/collection/components/ptc-title/ptc-title.js +105 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/interfaces.js +6 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/custom-elements/index.js +14452 -0
- package/dist/{ptcw-design/ptc-announcement.entry.js → esm/icon-asset_5.entry.js} +170 -2
- package/dist/esm/index-7a3883ee.js +1687 -0
- package/dist/esm/index.js +1 -0
- package/dist/{ptcw-design → esm}/list-item.entry.js +1 -1
- package/dist/esm/loader.js +17 -0
- package/dist/{ptcw-design → esm}/lottie-player.entry.js +31 -782
- package/dist/{ptcw-design → esm}/my-component.entry.js +1 -1
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/{ptcw-design → esm}/ptc-card.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-date.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-footer.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-image.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-img.entry.js +2 -16
- package/dist/{ptcw-design → esm}/ptc-link.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-list.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-lottie.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-nav-item.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-nav.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-overlay.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-picture.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-spacer.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-span.entry.js +1 -1
- package/dist/{ptcw-design → esm}/ptc-title.entry.js +1 -1
- package/dist/esm/ptcw-design.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/node_modules/@teamhive/lottie-player/dist/collection/components/lottie-player/lottie-player.css +187 -0
- package/dist/ptcw-design/index.esm.js +0 -1
- package/dist/ptcw-design/p-0c8df906.entry.js +1 -0
- package/dist/ptcw-design/p-186beb2c.entry.js +1 -0
- package/dist/ptcw-design/p-1df1006b.entry.js +1 -0
- package/dist/ptcw-design/p-2d5f8cff.entry.js +1 -0
- package/dist/ptcw-design/p-4586b0f5.entry.js +1 -0
- package/dist/ptcw-design/p-50923c9a.js +1 -0
- package/dist/ptcw-design/p-51a3e9e6.entry.js +1 -0
- package/dist/ptcw-design/p-56f6f900.entry.js +1 -0
- package/dist/ptcw-design/p-5f776886.entry.js +1 -0
- package/dist/ptcw-design/p-66ffa30c.entry.js +1 -0
- package/dist/ptcw-design/p-6b1a35e1.entry.js +1 -0
- package/dist/ptcw-design/p-796b8287.entry.js +1 -0
- package/dist/ptcw-design/p-90402319.entry.js +1 -0
- package/dist/ptcw-design/p-919311d2.entry.js +1 -0
- package/dist/ptcw-design/p-97a61538.entry.js +1 -0
- package/dist/ptcw-design/p-ac449734.entry.js +1 -0
- package/dist/ptcw-design/p-d6553853.entry.js +1 -0
- package/dist/ptcw-design/p-dddd4d6e.entry.js +1 -0
- package/dist/ptcw-design/p-ef250898.entry.js +1 -0
- package/dist/ptcw-design/p-f80152dc.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -1030
- package/dist/ptcw-design/ptcw-design.esm.js +1 -122
- package/package.json +2 -2
- package/dist/ptcw-design/app-globals-0f993ce5.js +0 -3
- package/dist/ptcw-design/css-shim-003e9264.js +0 -4
- package/dist/ptcw-design/dom-1b195079.js +0 -73
- package/dist/ptcw-design/icon-asset.entry.js +0 -60
- package/dist/ptcw-design/ptc-button.entry.js +0 -57
- package/dist/ptcw-design/ptc-para.entry.js +0 -36
- package/dist/ptcw-design/ptc-svg-btn.entry.js +0 -27
- package/dist/ptcw-design/shadow-css-c1ad5fdc.js +0 -383
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ac192914.js');
|
|
6
|
+
|
|
7
|
+
const ptcPictureCss = ":host{display:block}";
|
|
8
|
+
|
|
9
|
+
const PtcPicture = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.lazy = 'lazy';
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const classMap = this.getCssClassMap();
|
|
16
|
+
return (index.h(index.Host, { class: classMap }, index.h("picture", null, index.h("slot", null))));
|
|
17
|
+
}
|
|
18
|
+
getCssClassMap() {
|
|
19
|
+
return {
|
|
20
|
+
[this.lazy]: true,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
PtcPicture.style = ptcPictureCss;
|
|
25
|
+
|
|
26
|
+
exports.ptc_picture = PtcPicture;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ac192914.js');
|
|
6
|
+
|
|
7
|
+
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}}";
|
|
8
|
+
|
|
9
|
+
const PtcSpacer = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* Breakpoint
|
|
14
|
+
*/
|
|
15
|
+
this.breakpoint = '';
|
|
16
|
+
/**
|
|
17
|
+
* Spacing Size
|
|
18
|
+
*/
|
|
19
|
+
this.size = 'medium';
|
|
20
|
+
/**
|
|
21
|
+
* Direction
|
|
22
|
+
*/
|
|
23
|
+
this.direction = 'vertical';
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const classMap = this.getCssClassMap();
|
|
27
|
+
return (index.h(index.Host, { class: classMap }));
|
|
28
|
+
}
|
|
29
|
+
getCssClassMap() {
|
|
30
|
+
return {
|
|
31
|
+
[this.size]: true,
|
|
32
|
+
['ptc-spacer-horizontal']: this.direction === 'horizontal',
|
|
33
|
+
['ptc-spacer-vertical']: this.direction === 'vertical',
|
|
34
|
+
['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
|
|
35
|
+
['ptc-spacer-x-small']: this.breakpoint === 'x-small',
|
|
36
|
+
['ptc-spacer-small']: this.breakpoint === 'small',
|
|
37
|
+
['ptc-spacer-medium']: this.breakpoint === 'medium',
|
|
38
|
+
['ptc-spacer-large']: this.breakpoint === 'large',
|
|
39
|
+
['ptc-spacer-x-large']: this.breakpoint === 'x-large',
|
|
40
|
+
['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
PtcSpacer.style = ptcSpacerCss;
|
|
45
|
+
|
|
46
|
+
exports.ptc_spacer = PtcSpacer;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ac192914.js');
|
|
6
|
+
|
|
7
|
+
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}";
|
|
8
|
+
|
|
9
|
+
const PtcSpan = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* Span Style
|
|
14
|
+
*/
|
|
15
|
+
this.spanStyle = 'tag-style';
|
|
16
|
+
this.display = 'inline';
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const classMap = this.getCssClassMap();
|
|
20
|
+
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("span", { part: "part-ptc-span" }, index.h("slot", null))));
|
|
21
|
+
}
|
|
22
|
+
getCssClassMap() {
|
|
23
|
+
return {
|
|
24
|
+
[this.spanStyle]: true,
|
|
25
|
+
[this.display]: true,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
PtcSpan.style = ptcSpanCss;
|
|
30
|
+
|
|
31
|
+
exports.ptc_span = PtcSpan;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ac192914.js');
|
|
6
|
+
|
|
7
|
+
const ptcTitleCss = "div.center{text-align:center}div.center.dotted h1::before,div.center.dotted h2::before,div.center.dotted h3::before{left:50%;transform:translateX(-50%)}div.left{text-align:left}div.left.dotted h1::before,div.left.dotted h2::before,div.left.dotted h3::before{left:0%}div.right{text-align:right}div.right.dotted h1::before,div.right.dotted h2::before,div.right.dotted h3::before{right:0%}div.dotted h1::before,div.dotted h2::before,div.dotted h3::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}div.solid h1::before,div.solid h2::before,div.solid h3::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);opacity:0.9;left:0px}div.solid h1::after,div.solid h2::after,div.solid h3::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div h1,div h2,div h3{display:inline-block;position:relative}div h1{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div h2{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}";
|
|
8
|
+
|
|
9
|
+
const PtcTitle = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* Title Tag Type
|
|
14
|
+
*/
|
|
15
|
+
this.type = 'h2';
|
|
16
|
+
/**
|
|
17
|
+
* Text Align
|
|
18
|
+
*/
|
|
19
|
+
this.textAlign = 'left';
|
|
20
|
+
/**
|
|
21
|
+
* Upperline Style
|
|
22
|
+
*/
|
|
23
|
+
this.upperline = 'dotted';
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const classMap = this.getCssClassMap();
|
|
27
|
+
let TagType;
|
|
28
|
+
switch (this.type) {
|
|
29
|
+
case 'h1':
|
|
30
|
+
TagType = 'h1';
|
|
31
|
+
break;
|
|
32
|
+
case 'h3':
|
|
33
|
+
TagType = 'h3';
|
|
34
|
+
break;
|
|
35
|
+
default:
|
|
36
|
+
TagType = 'h2';
|
|
37
|
+
}
|
|
38
|
+
return (index.h(index.Host, null, index.h("div", { class: classMap }, index.h(TagType, null, index.h("slot", null)))));
|
|
39
|
+
}
|
|
40
|
+
getCssClassMap() {
|
|
41
|
+
return {
|
|
42
|
+
[this.textAlign]: true,
|
|
43
|
+
[this.upperline]: true,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
PtcTitle.style = ptcTitleCss;
|
|
48
|
+
|
|
49
|
+
exports.ptc_title = PtcTitle;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-ac192914.js');
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
const patchBrowser = () => {
|
|
9
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ptcw-design.cjs.js', document.baseURI).href));
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== '') {
|
|
12
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return index.promiseResolve(opts);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
patchBrowser().then(options => {
|
|
18
|
+
return index.bootstrapLazy([["ptc-card.cjs",[[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.cjs",[[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.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["list-item.cjs",[[4,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-footer.cjs",[[1,"ptc-footer"]]],["ptc-image.cjs",[[1,"ptc-image",{"src":[1],"alt":[1],"oldSrc":[32]}]]],["ptc-img.cjs",[[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"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]]]],["ptc-list.cjs",[[0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[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.cjs",[[4,"ptc-overlay"]]],["ptc-picture.cjs",[[4,"ptc-picture",{"lazy":[1]}]]],["ptc-spacer.cjs",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-title.cjs",[[1,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]]],["lottie-player.cjs",[[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.cjs",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateStyles":[1,"date-styles"]}]]],["icon-asset_5.cjs",[[1,"ptc-announcement",{"btnText":[513,"btn-text"],"visible":[1540],"btnLink":[513,"btn-link"],"tempContainer":[4,"temp-container"]}],[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraMargin":[1,"para-margin"]}],[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"target":[1],"rel":[1]}],[1,"ptc-svg-btn",{"svgName":[1,"svg-name"]}],[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]]]], options);
|
|
19
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
|
|
2
|
+
<g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
|
|
3
|
+
<path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
|
|
4
|
+
<path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>
|
|
5
|
+
<path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>
|
|
6
|
+
<path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>
|
|
7
|
+
<path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>
|
|
8
|
+
<path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>
|
|
9
|
+
<path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/icon-asset/icon-asset.js",
|
|
4
|
+
"./components/list-item/list-item.js",
|
|
5
|
+
"./components/my-component/my-component.js",
|
|
6
|
+
"./components/ptc-announcement/ptc-announcement.js",
|
|
7
|
+
"./components/ptc-button/ptc-button.js",
|
|
8
|
+
"./components/ptc-card/ptc-card.js",
|
|
9
|
+
"./components/ptc-date/ptc-date.js",
|
|
10
|
+
"./components/ptc-footer/ptc-footer.js",
|
|
11
|
+
"./components/ptc-image/ptc-image.js",
|
|
12
|
+
"./components/ptc-img/ptc-img.js",
|
|
13
|
+
"./components/ptc-link/ptc-link.js",
|
|
14
|
+
"./components/ptc-list/ptc-list.js",
|
|
15
|
+
"./components/ptc-lottie/ptc-lottie.js",
|
|
16
|
+
"./components/ptc-nav/ptc-nav.js",
|
|
17
|
+
"./components/ptc-nav-item/ptc-nav-item.js",
|
|
18
|
+
"./components/ptc-overlay/ptc-overlay.js",
|
|
19
|
+
"./components/ptc-para/ptc-para.js",
|
|
20
|
+
"./components/ptc-picture/ptc-picture.js",
|
|
21
|
+
"./components/ptc-spacer/ptc-spacer.js",
|
|
22
|
+
"./components/ptc-span/ptc-span.js",
|
|
23
|
+
"./components/ptc-svg-btn/ptc-svg-btn.js",
|
|
24
|
+
"./components/ptc-title/ptc-title.js"
|
|
25
|
+
],
|
|
26
|
+
"compiler": {
|
|
27
|
+
"name": "@stencil/core",
|
|
28
|
+
"version": "2.6.0",
|
|
29
|
+
"typescriptVersion": "4.2.3"
|
|
30
|
+
},
|
|
31
|
+
"collections": [
|
|
32
|
+
{
|
|
33
|
+
"name": "@teamhive/lottie-player",
|
|
34
|
+
"tags": [
|
|
35
|
+
"lottie-player"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"bundles": []
|
|
40
|
+
}
|