@ptcwebops/ptcw-design 0.0.4 → 0.0.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.
Files changed (145) hide show
  1. package/dist/cjs/icon-asset.cjs.entry.js +64 -0
  2. package/dist/cjs/{index-825cf1b6.js → index-ac192914.js} +268 -6
  3. package/dist/cjs/list-item.cjs.entry.js +27 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/lottie-player.cjs.entry.js +13476 -0
  6. package/dist/cjs/my-component.cjs.entry.js +26 -0
  7. package/dist/cjs/ptc-button.cjs.entry.js +48 -0
  8. package/dist/cjs/ptc-card.cjs.entry.js +52 -3
  9. package/dist/cjs/ptc-date.cjs.entry.js +39 -0
  10. package/dist/cjs/ptc-footer.cjs.entry.js +19 -0
  11. package/dist/cjs/ptc-image.cjs.entry.js +2 -6
  12. package/dist/cjs/ptc-img.cjs.entry.js +84 -0
  13. package/dist/cjs/ptc-link.cjs.entry.js +15 -5
  14. package/dist/cjs/ptc-list.cjs.entry.js +11 -3
  15. package/dist/cjs/ptc-lottie.cjs.entry.js +23 -0
  16. package/dist/cjs/ptc-nav-item.cjs.entry.js +94 -0
  17. package/dist/cjs/ptc-nav.cjs.entry.js +19 -0
  18. package/dist/cjs/ptc-overlay.cjs.entry.js +19 -0
  19. package/dist/cjs/ptc-para.cjs.entry.js +39 -0
  20. package/dist/cjs/ptc-picture.cjs.entry.js +26 -0
  21. package/dist/cjs/ptc-spacer.cjs.entry.js +46 -0
  22. package/dist/cjs/ptc-span.cjs.entry.js +26 -0
  23. package/dist/cjs/ptc-title.cjs.entry.js +49 -0
  24. package/dist/cjs/ptcw-design.cjs.js +2 -2
  25. package/dist/collection/assets/responsive-background-image.min.js +1 -0
  26. package/dist/collection/collection-manifest.json +20 -1
  27. package/dist/collection/components/icon-asset/assets/footer-social.svg +0 -0
  28. package/dist/collection/components/icon-asset/assets/ptc-sprite.svg +73 -0
  29. package/dist/collection/components/icon-asset/icon-asset.css +6 -2
  30. package/dist/collection/components/icon-asset/icon-asset.js +25 -16
  31. package/dist/collection/components/list-item/list-item.css +3 -0
  32. package/dist/collection/components/list-item/list-item.js +63 -0
  33. package/dist/collection/components/ptc-button/ptc-button.css +35 -136
  34. package/dist/collection/components/ptc-button/ptc-button.js +45 -47
  35. package/dist/collection/components/ptc-card/ptc-card.css +87 -0
  36. package/dist/collection/components/ptc-card/ptc-card.js +233 -7
  37. package/dist/collection/components/ptc-date/ptc-date.css +3 -0
  38. package/dist/collection/components/ptc-date/ptc-date.js +110 -0
  39. package/dist/collection/components/ptc-footer/ptc-footer.css +40 -0
  40. package/dist/collection/components/ptc-footer/ptc-footer.js +25 -0
  41. package/dist/collection/components/ptc-image/ptc-image.css +3 -2
  42. package/dist/collection/components/ptc-image/ptc-image.js +0 -4
  43. package/dist/collection/components/ptc-img/ptc-img.css +48 -0
  44. package/dist/collection/components/ptc-img/ptc-img.js +192 -0
  45. package/dist/collection/components/ptc-link/ptc-link.css +133 -13
  46. package/dist/collection/components/ptc-link/ptc-link.js +47 -16
  47. package/dist/collection/components/ptc-list/ptc-list.css +23 -2
  48. package/dist/collection/components/ptc-list/ptc-list.js +53 -5
  49. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -0
  50. package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -0
  51. package/dist/collection/components/ptc-nav/ptc-nav.css +29 -0
  52. package/dist/collection/components/ptc-nav/ptc-nav.js +21 -0
  53. package/dist/collection/components/ptc-nav-item/ptc-nav-item.css +81 -0
  54. package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -0
  55. package/dist/collection/components/ptc-overlay/ptc-overlay.css +3 -0
  56. package/dist/collection/components/ptc-overlay/ptc-overlay.js +14 -0
  57. package/dist/collection/components/ptc-para/ptc-para.css +53 -0
  58. package/dist/collection/components/ptc-para/ptc-para.js +92 -0
  59. package/dist/collection/components/ptc-picture/ptc-picture.css +3 -0
  60. package/dist/collection/components/ptc-picture/ptc-picture.js +44 -0
  61. package/dist/collection/components/ptc-spacer/ptc-spacer.css +307 -0
  62. package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -0
  63. package/dist/collection/components/ptc-span/ptc-span.css +16 -0
  64. package/dist/collection/components/ptc-span/ptc-span.js +44 -0
  65. package/dist/collection/utils/interfaces.js +6 -1
  66. package/dist/custom-elements/index.d.ts +72 -0
  67. package/dist/custom-elements/index.js +13997 -40
  68. package/dist/esm/icon-asset.entry.js +60 -0
  69. package/dist/esm/{index-4bbf8fa5.js → index-5b1c792c.js} +268 -7
  70. package/dist/esm/list-item.entry.js +23 -0
  71. package/dist/esm/loader.js +2 -2
  72. package/dist/esm/lottie-player.entry.js +13472 -0
  73. package/dist/esm/my-component.entry.js +22 -0
  74. package/dist/esm/ptc-button.entry.js +44 -0
  75. package/dist/esm/ptc-card.entry.js +52 -3
  76. package/dist/esm/ptc-date.entry.js +35 -0
  77. package/dist/esm/ptc-footer.entry.js +15 -0
  78. package/dist/esm/ptc-image.entry.js +2 -6
  79. package/dist/esm/ptc-img.entry.js +80 -0
  80. package/dist/esm/ptc-link.entry.js +15 -5
  81. package/dist/esm/ptc-list.entry.js +11 -3
  82. package/dist/esm/ptc-lottie.entry.js +19 -0
  83. package/dist/esm/ptc-nav-item.entry.js +90 -0
  84. package/dist/esm/ptc-nav.entry.js +15 -0
  85. package/dist/esm/ptc-overlay.entry.js +15 -0
  86. package/dist/esm/ptc-para.entry.js +35 -0
  87. package/dist/esm/ptc-picture.entry.js +22 -0
  88. package/dist/esm/ptc-spacer.entry.js +42 -0
  89. package/dist/esm/ptc-span.entry.js +22 -0
  90. package/dist/esm/ptc-title.entry.js +45 -0
  91. package/dist/esm/ptcw-design.js +2 -2
  92. package/dist/node_modules/@teamhive/lottie-player/dist/collection/components/lottie-player/lottie-player.css +187 -0
  93. package/dist/ptcw-design/assets/footer-social.svg +0 -0
  94. package/dist/ptcw-design/assets/ptc-sprite.svg +73 -0
  95. package/dist/ptcw-design/p-01dc360c.entry.js +1 -0
  96. package/dist/ptcw-design/p-07624831.entry.js +1 -0
  97. package/dist/ptcw-design/p-0a44a2f7.entry.js +1 -0
  98. package/dist/ptcw-design/p-15a428d4.entry.js +1 -0
  99. package/dist/ptcw-design/p-1a26bade.entry.js +1 -0
  100. package/dist/ptcw-design/p-1b4fd3da.entry.js +1 -0
  101. package/dist/ptcw-design/p-29d02e2b.entry.js +1 -0
  102. package/dist/ptcw-design/p-2d357f92.entry.js +1 -0
  103. package/dist/ptcw-design/p-31f4bd0c.entry.js +1 -0
  104. package/dist/ptcw-design/p-3af43980.entry.js +1 -0
  105. package/dist/ptcw-design/p-4f366fc3.js +1 -0
  106. package/dist/ptcw-design/p-662ae9b6.entry.js +1 -0
  107. package/dist/ptcw-design/p-77f87fa3.entry.js +1 -0
  108. package/dist/ptcw-design/p-85131a2a.entry.js +1 -0
  109. package/dist/ptcw-design/p-8b6c805c.entry.js +1 -0
  110. package/dist/ptcw-design/p-9f96864d.entry.js +1 -0
  111. package/dist/ptcw-design/p-ac0ad25e.entry.js +1 -0
  112. package/dist/ptcw-design/p-b0b2e82c.entry.js +1 -0
  113. package/dist/ptcw-design/{p-9aef6d0e.entry.js → p-c169281f.entry.js} +1 -1
  114. package/dist/ptcw-design/p-ce8b8a72.entry.js +1 -0
  115. package/dist/ptcw-design/p-df01ac95.entry.js +1 -0
  116. package/dist/ptcw-design/p-fe6a3ba5.entry.js +1 -0
  117. package/dist/ptcw-design/ptcw-design.css +2 -2
  118. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  119. package/dist/types/components/icon-asset/icon-asset.d.ts +6 -5
  120. package/dist/types/components/list-item/list-item.d.ts +6 -0
  121. package/dist/types/components/ptc-button/ptc-button.d.ts +9 -7
  122. package/dist/types/components/ptc-card/ptc-card.d.ts +42 -2
  123. package/dist/types/components/ptc-date/ptc-date.d.ts +22 -0
  124. package/dist/types/components/ptc-footer/ptc-footer.d.ts +3 -0
  125. package/dist/types/components/ptc-img/ptc-img.d.ts +14 -0
  126. package/dist/types/components/ptc-link/ptc-link.d.ts +7 -3
  127. package/dist/types/components/ptc-list/ptc-list.d.ts +3 -0
  128. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -0
  129. package/dist/types/components/ptc-nav/ptc-nav.d.ts +3 -0
  130. package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +53 -0
  131. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -0
  132. package/dist/types/components/ptc-para/ptc-para.d.ts +16 -0
  133. package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -0
  134. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -0
  135. package/dist/types/components/ptc-span/ptc-span.d.ts +5 -0
  136. package/dist/types/components.d.ts +450 -38
  137. package/dist/types/utils/interfaces.d.ts +7 -1
  138. package/package.json +2 -1
  139. package/dist/cjs/icon-asset_4.cjs.entry.js +0 -165
  140. package/dist/esm/icon-asset_4.entry.js +0 -158
  141. package/dist/ptcw-design/p-0492a377.entry.js +0 -1
  142. package/dist/ptcw-design/p-bd9fac27.entry.js +0 -1
  143. package/dist/ptcw-design/p-d855d70c.js +0 -1
  144. package/dist/ptcw-design/p-e33cba65.entry.js +0 -1
  145. package/dist/ptcw-design/p-e899eb48.entry.js +0 -1
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ac192914.js');
6
+
7
+ const iconAssetCss = "/*!\n * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */.svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}icon-asset{vertical-align:middle}svg.small{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.large{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.white{fill:var(--color-white)}svg.black{fill:var(--color-black)}svg.ptc-green{fill:var(--color-primary-green)}";
8
+
9
+ const IconAsset = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ /**
13
+ * Icon Size
14
+ */
15
+ this.size = 'small';
16
+ /**
17
+ * Icon Type
18
+ */
19
+ this.type = 'regular';
20
+ /**
21
+ * Icon Spin Animation (not valid for ptc type)
22
+ */
23
+ this.spin = '';
24
+ /**
25
+ * Icon Pulse Animation (not valid for ptc type)
26
+ */
27
+ this.pulse = '';
28
+ /**
29
+ * Icon Color
30
+ */
31
+ this.color = 'black';
32
+ this.regularSprite = index.getAssetPath('./assets/regular.svg');
33
+ this.solidSprite = index.getAssetPath('./assets/solid.svg');
34
+ this.brandSprite = index.getAssetPath('./assets/brands.svg');
35
+ this.ptcSprite = index.getAssetPath('./assets/ptc-sprite.svg');
36
+ }
37
+ render() {
38
+ const classMap = this.getCssClassMap();
39
+ if (this.type == 'brands') {
40
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
41
+ }
42
+ else if (this.type == 'solid') {
43
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
44
+ }
45
+ else if (this.type == 'ptc') {
46
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
+ }
48
+ else {
49
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
50
+ }
51
+ }
52
+ getCssClassMap() {
53
+ return {
54
+ [this.size]: true,
55
+ [this.spin]: true,
56
+ [this.pulse]: true,
57
+ [this.color]: true,
58
+ };
59
+ }
60
+ static get assetsDirs() { return ["assets"]; }
61
+ };
62
+ IconAsset.style = iconAssetCss;
63
+
64
+ exports.icon_asset = IconAsset;
@@ -51,7 +51,42 @@ const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
51
51
  return false;
52
52
  })()
53
53
  ;
54
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
55
+ if (listeners) {
56
+ listeners.map(([flags, name, method]) => {
57
+ const target = getHostListenerTarget(elm, flags) ;
58
+ const handler = hostListenerProxy(hostRef, method);
59
+ const opts = hostListenerOpts(flags);
60
+ plt.ael(target, name, handler, opts);
61
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
62
+ });
63
+ }
64
+ };
65
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
66
+ try {
67
+ {
68
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
69
+ // instance is ready, let's call it's member method for this event
70
+ hostRef.$lazyInstance$[methodName](ev);
71
+ }
72
+ else {
73
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
74
+ }
75
+ }
76
+ }
77
+ catch (e) {
78
+ consoleError(e);
79
+ }
80
+ };
81
+ const getHostListenerTarget = (elm, flags) => {
82
+ if (flags & 8 /* TargetWindow */)
83
+ return win;
84
+ return elm;
85
+ };
86
+ // prettier-ignore
87
+ const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
54
88
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
89
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
55
90
  const createTime = (fnName, tagName = '') => {
56
91
  {
57
92
  return () => {
@@ -163,6 +198,7 @@ const isComplexType = (o) => {
163
198
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
164
199
  const h = (nodeName, vnodeData, ...children) => {
165
200
  let child = null;
201
+ let key = null;
166
202
  let slotName = null;
167
203
  let simple = false;
168
204
  let lastSimple = false;
@@ -191,6 +227,10 @@ const h = (nodeName, vnodeData, ...children) => {
191
227
  };
192
228
  walk(children);
193
229
  if (vnodeData) {
230
+ // normalize class / classname attributes
231
+ if (vnodeData.key) {
232
+ key = vnodeData.key;
233
+ }
194
234
  if (vnodeData.name) {
195
235
  slotName = vnodeData.name;
196
236
  }
@@ -215,6 +255,9 @@ const h = (nodeName, vnodeData, ...children) => {
215
255
  if (vNodeChildren.length > 0) {
216
256
  vnode.$children$ = vNodeChildren;
217
257
  }
258
+ {
259
+ vnode.$key$ = key;
260
+ }
218
261
  {
219
262
  vnode.$name$ = slotName;
220
263
  }
@@ -231,6 +274,9 @@ const newVNode = (tag, text) => {
231
274
  {
232
275
  vnode.$attrs$ = null;
233
276
  }
277
+ {
278
+ vnode.$key$ = null;
279
+ }
234
280
  {
235
281
  vnode.$name$ = null;
236
282
  }
@@ -279,7 +325,7 @@ const convertToPrivate = (node) => {
279
325
  const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
280
326
  if (oldValue !== newValue) {
281
327
  let isProp = isMemberInElement(elm, memberName);
282
- memberName.toLowerCase();
328
+ let ln = memberName.toLowerCase();
283
329
  if (memberName === 'class') {
284
330
  const classList = elm.classList;
285
331
  const oldClasses = parseClassList(oldValue);
@@ -287,6 +333,76 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
287
333
  classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
288
334
  classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
289
335
  }
336
+ else if (memberName === 'style') {
337
+ // update style attribute, css properties and values
338
+ {
339
+ for (const prop in oldValue) {
340
+ if (!newValue || newValue[prop] == null) {
341
+ if (prop.includes('-')) {
342
+ elm.style.removeProperty(prop);
343
+ }
344
+ else {
345
+ elm.style[prop] = '';
346
+ }
347
+ }
348
+ }
349
+ }
350
+ for (const prop in newValue) {
351
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
352
+ if (prop.includes('-')) {
353
+ elm.style.setProperty(prop, newValue[prop]);
354
+ }
355
+ else {
356
+ elm.style[prop] = newValue[prop];
357
+ }
358
+ }
359
+ }
360
+ }
361
+ else if (memberName === 'key')
362
+ ;
363
+ else if (memberName === 'ref') {
364
+ // minifier will clean this up
365
+ if (newValue) {
366
+ newValue(elm);
367
+ }
368
+ }
369
+ else if ((!isProp ) && memberName[0] === 'o' && memberName[1] === 'n') {
370
+ // Event Handlers
371
+ // so if the member name starts with "on" and the 3rd characters is
372
+ // a capital letter, and it's not already a member on the element,
373
+ // then we're assuming it's an event listener
374
+ if (memberName[2] === '-') {
375
+ // on- prefixed events
376
+ // allows to be explicit about the dom event to listen without any magic
377
+ // under the hood:
378
+ // <my-cmp on-click> // listens for "click"
379
+ // <my-cmp on-Click> // listens for "Click"
380
+ // <my-cmp on-ionChange> // listens for "ionChange"
381
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
382
+ memberName = memberName.slice(3);
383
+ }
384
+ else if (isMemberInElement(win, ln)) {
385
+ // standard event
386
+ // the JSX attribute could have been "onMouseOver" and the
387
+ // member name "onmouseover" is on the window's prototype
388
+ // so let's add the listener "mouseover", which is all lowercased
389
+ memberName = ln.slice(2);
390
+ }
391
+ else {
392
+ // custom event
393
+ // the JSX attribute could have been "onMyCustomEvent"
394
+ // so let's trim off the "on" prefix and lowercase the first character
395
+ // and add the listener "myCustomEvent"
396
+ // except for the first character, we keep the event name case
397
+ memberName = ln[2] + memberName.slice(3);
398
+ }
399
+ if (oldValue) {
400
+ plt.rel(elm, memberName, oldValue, false);
401
+ }
402
+ if (newValue) {
403
+ plt.ael(elm, memberName, newValue, false);
404
+ }
405
+ }
290
406
  else {
291
407
  // Set property if it exists and it's not a SVG
292
408
  const isComplex = isComplexType(newValue);
@@ -309,16 +425,36 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
309
425
  }
310
426
  catch (e) { }
311
427
  }
428
+ /**
429
+ * Need to manually update attribute if:
430
+ * - memberName is not an attribute
431
+ * - if we are rendering the host element in order to reflect attribute
432
+ * - if it's a SVG, since properties might not work in <svg>
433
+ * - if the newValue is null/undefined or 'false'.
434
+ */
435
+ let xlink = false;
436
+ {
437
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
438
+ memberName = ln;
439
+ xlink = true;
440
+ }
441
+ }
312
442
  if (newValue == null || newValue === false) {
313
443
  if (newValue !== false || elm.getAttribute(memberName) === '') {
314
- {
444
+ if (xlink) {
445
+ elm.removeAttributeNS(XLINK_NS, memberName);
446
+ }
447
+ else {
315
448
  elm.removeAttribute(memberName);
316
449
  }
317
450
  }
318
451
  }
319
452
  else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
320
453
  newValue = newValue === true ? '' : newValue;
321
- {
454
+ if (xlink) {
455
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
456
+ }
457
+ else {
322
458
  elm.setAttribute(memberName, newValue);
323
459
  }
324
460
  }
@@ -482,6 +618,7 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
482
618
  for (; startIdx <= endIdx; ++startIdx) {
483
619
  if ((vnode = vnodes[startIdx])) {
484
620
  elm = vnode.$elm$;
621
+ callNodeRefs(vnode);
485
622
  {
486
623
  // we're removing this element
487
624
  // so it's possible we need to show slot fallback content now
@@ -504,6 +641,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
504
641
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
505
642
  let oldStartIdx = 0;
506
643
  let newStartIdx = 0;
644
+ let idxInOld = 0;
645
+ let i = 0;
507
646
  let oldEndIdx = oldCh.length - 1;
508
647
  let oldStartVnode = oldCh[0];
509
648
  let oldEndVnode = oldCh[oldEndIdx];
@@ -511,6 +650,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
511
650
  let newStartVnode = newCh[0];
512
651
  let newEndVnode = newCh[newEndIdx];
513
652
  let node;
653
+ let elmToMove;
514
654
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
515
655
  if (oldStartVnode == null) {
516
656
  // Vnode might have been moved left
@@ -556,7 +696,29 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
556
696
  newStartVnode = newCh[++newStartIdx];
557
697
  }
558
698
  else {
699
+ // createKeyToOldIdx
700
+ idxInOld = -1;
559
701
  {
702
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
703
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
704
+ idxInOld = i;
705
+ break;
706
+ }
707
+ }
708
+ }
709
+ if (idxInOld >= 0) {
710
+ elmToMove = oldCh[idxInOld];
711
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
712
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
713
+ }
714
+ else {
715
+ patch(elmToMove, newStartVnode);
716
+ oldCh[idxInOld] = undefined;
717
+ node = elmToMove.$elm$;
718
+ }
719
+ newStartVnode = newCh[++newStartIdx];
720
+ }
721
+ else {
560
722
  // new element
561
723
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
562
724
  newStartVnode = newCh[++newStartIdx];
@@ -582,7 +744,9 @@ const isSameVnode = (vnode1, vnode2) => {
582
744
  if (vnode1.$tag$ === 'slot') {
583
745
  return vnode1.$name$ === vnode2.$name$;
584
746
  }
585
- return true;
747
+ {
748
+ return vnode1.$key$ === vnode2.$key$;
749
+ }
586
750
  }
587
751
  return false;
588
752
  };
@@ -780,6 +944,12 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
780
944
  }
781
945
  return slotNameAttr === '';
782
946
  };
947
+ const callNodeRefs = (vNode) => {
948
+ {
949
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
950
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
951
+ }
952
+ };
783
953
  const renderVdom = (hostRef, renderFnResults) => {
784
954
  const hostElm = hostRef.$hostElement$;
785
955
  const cmpMeta = hostRef.$cmpMeta$;
@@ -881,6 +1051,19 @@ const renderVdom = (hostRef, renderFnResults) => {
881
1051
  }
882
1052
  };
883
1053
  const getElement = (ref) => (getHostRef(ref).$hostElement$ );
1054
+ const createEvent = (ref, name, flags) => {
1055
+ const elm = getElement(ref);
1056
+ return {
1057
+ emit: (detail) => {
1058
+ return emitEvent(elm, name, {
1059
+ bubbles: !!(flags & 4 /* Bubbles */),
1060
+ composed: !!(flags & 2 /* Composed */),
1061
+ cancelable: !!(flags & 1 /* Cancellable */),
1062
+ detail,
1063
+ });
1064
+ },
1065
+ };
1066
+ };
884
1067
  const emitEvent = (elm, name, opts) => {
885
1068
  const ev = plt.ce(name, opts);
886
1069
  elm.dispatchEvent(ev);
@@ -910,12 +1093,23 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
910
1093
  const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
911
1094
  const instance = hostRef.$lazyInstance$ ;
912
1095
  let promise;
913
- if (isInitialLoad) ;
1096
+ if (isInitialLoad) {
1097
+ {
1098
+ hostRef.$flags$ |= 256 /* isListenReady */;
1099
+ if (hostRef.$queuedListeners$) {
1100
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1101
+ hostRef.$queuedListeners$ = null;
1102
+ }
1103
+ }
1104
+ }
914
1105
  else {
915
1106
  {
916
1107
  promise = safeCall(instance, 'componentWillUpdate');
917
1108
  }
918
1109
  }
1110
+ {
1111
+ promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1112
+ }
919
1113
  endSchedule();
920
1114
  return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
921
1115
  };
@@ -1005,6 +1199,9 @@ const postUpdateComponent = (hostRef) => {
1005
1199
  else {
1006
1200
  endPostUpdate();
1007
1201
  }
1202
+ {
1203
+ hostRef.$onInstanceResolve$(elm);
1204
+ }
1008
1205
  // load events fire from bottom to top
1009
1206
  // the deepest elements load first then bubbles up
1010
1207
  {
@@ -1052,6 +1249,10 @@ const parsePropertyValue = (propValue, propType) => {
1052
1249
  // but we'll cheat here and say that the string "false" is the boolean false
1053
1250
  return propValue === 'false' ? false : propValue === '' || !!propValue;
1054
1251
  }
1252
+ if (propType & 2 /* Number */) {
1253
+ // force it to be a number
1254
+ return parseFloat(propValue);
1255
+ }
1055
1256
  if (propType & 1 /* String */) {
1056
1257
  // could have been passed as a number or boolean
1057
1258
  // but we still want it as a string
@@ -1068,6 +1269,7 @@ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propNam
1068
1269
  const setValue = (ref, propName, newVal, cmpMeta) => {
1069
1270
  // check our new property value against our internal value
1070
1271
  const hostRef = getHostRef(ref);
1272
+ const elm = hostRef.$hostElement$ ;
1071
1273
  const oldVal = hostRef.$instanceValues$.get(propName);
1072
1274
  const flags = hostRef.$flags$;
1073
1275
  const instance = hostRef.$lazyInstance$ ;
@@ -1077,6 +1279,22 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1077
1279
  // set our new value!
1078
1280
  hostRef.$instanceValues$.set(propName, newVal);
1079
1281
  if (instance) {
1282
+ // get an array of method names of watch functions to call
1283
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1284
+ const watchMethods = cmpMeta.$watchers$[propName];
1285
+ if (watchMethods) {
1286
+ // this instance is watching for when this property changed
1287
+ watchMethods.map(watchMethodName => {
1288
+ try {
1289
+ // fire off each of the watch methods that are watching this property
1290
+ instance[watchMethodName](newVal, oldVal, propName);
1291
+ }
1292
+ catch (e) {
1293
+ consoleError(e, elm);
1294
+ }
1295
+ });
1296
+ }
1297
+ }
1080
1298
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1081
1299
  // looks like this value actually changed, so we've got work to do!
1082
1300
  // but only if we've already rendered, otherwise just chill out
@@ -1089,6 +1307,9 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1089
1307
  };
1090
1308
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1091
1309
  if (cmpMeta.$members$) {
1310
+ if (Cstr.watchers) {
1311
+ cmpMeta.$watchers$ = Cstr.watchers;
1312
+ }
1092
1313
  // It's better to have a const than two Object.entries()
1093
1314
  const members = Object.entries(cmpMeta.$members$);
1094
1315
  const prototype = Cstr.prototype;
@@ -1108,6 +1329,15 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1108
1329
  enumerable: true,
1109
1330
  });
1110
1331
  }
1332
+ else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1333
+ // proxyComponent - method
1334
+ Object.defineProperty(prototype, memberName, {
1335
+ value(...args) {
1336
+ const ref = getHostRef(this);
1337
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1338
+ },
1339
+ });
1340
+ }
1111
1341
  });
1112
1342
  if ((flags & 1 /* isElementConstructor */)) {
1113
1343
  const attrNameToPropName = new Map();
@@ -1150,6 +1380,12 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1150
1380
  endLoad();
1151
1381
  }
1152
1382
  if (!Cstr.isProxied) {
1383
+ // we'eve never proxied this Constructor before
1384
+ // let's add the getters/setters to its prototype before
1385
+ // the first time we create an instance of the implementation
1386
+ {
1387
+ cmpMeta.$watchers$ = Cstr.watchers;
1388
+ }
1153
1389
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1154
1390
  Cstr.isProxied = true;
1155
1391
  }
@@ -1173,6 +1409,9 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1173
1409
  {
1174
1410
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1175
1411
  }
1412
+ {
1413
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1414
+ }
1176
1415
  endNewInstance();
1177
1416
  }
1178
1417
  if (Cstr.style) {
@@ -1249,6 +1488,12 @@ const connectedCallback = (elm) => {
1249
1488
  initializeComponent(elm, hostRef, cmpMeta);
1250
1489
  }
1251
1490
  }
1491
+ else {
1492
+ // not the first time this has connected
1493
+ // reattach any event listeners to the host
1494
+ // since they would have been removed when disconnected
1495
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1496
+ }
1252
1497
  endConnected();
1253
1498
  }
1254
1499
  };
@@ -1265,7 +1510,13 @@ const setContentReference = (elm) => {
1265
1510
  };
1266
1511
  const disconnectedCallback = (elm) => {
1267
1512
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1268
- getHostRef(elm);
1513
+ const hostRef = getHostRef(elm);
1514
+ {
1515
+ if (hostRef.$rmListeners$) {
1516
+ hostRef.$rmListeners$.map(rmListener => rmListener());
1517
+ hostRef.$rmListeners$ = undefined;
1518
+ }
1519
+ }
1269
1520
  }
1270
1521
  };
1271
1522
  const bootstrapLazy = (lazyBundles, options = {}) => {
@@ -1291,9 +1542,15 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1291
1542
  {
1292
1543
  cmpMeta.$members$ = compactMeta[2];
1293
1544
  }
1545
+ {
1546
+ cmpMeta.$listeners$ = compactMeta[3];
1547
+ }
1294
1548
  {
1295
1549
  cmpMeta.$attrsToReflect$ = [];
1296
1550
  }
1551
+ {
1552
+ cmpMeta.$watchers$ = {};
1553
+ }
1297
1554
  const tagName = cmpMeta.$tagName$;
1298
1555
  const HostElement = class extends HTMLElement {
1299
1556
  // StencilLazyHost
@@ -1372,11 +1629,15 @@ const registerHost = (elm, cmpMeta) => {
1372
1629
  $cmpMeta$: cmpMeta,
1373
1630
  $instanceValues$: new Map(),
1374
1631
  };
1632
+ {
1633
+ hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
1634
+ }
1375
1635
  {
1376
1636
  hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
1377
1637
  elm['s-p'] = [];
1378
1638
  elm['s-rc'] = [];
1379
1639
  }
1640
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1380
1641
  return hostRefs.set(elm, hostRef);
1381
1642
  };
1382
1643
  const isMemberInElement = (elm, memberName) => memberName in elm;
@@ -1447,6 +1708,7 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1447
1708
 
1448
1709
  exports.Host = Host;
1449
1710
  exports.bootstrapLazy = bootstrapLazy;
1711
+ exports.createEvent = createEvent;
1450
1712
  exports.getAssetPath = getAssetPath;
1451
1713
  exports.getElement = getElement;
1452
1714
  exports.h = h;
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ac192914.js');
6
+
7
+ const listItemCss = ":host{display:block}";
8
+
9
+ const ListItem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.listType = 'para-list';
13
+ this.linkHref = undefined;
14
+ }
15
+ render() {
16
+ const classMap = this.getCssClassMap();
17
+ return (index.h(index.Host, { class: classMap }, index.h("li", null, this.linkHref ? (index.h("a", Object.assign({}, (this.linkHref ? { href: this.linkHref } : {})), index.h("slot", null))) : (index.h("slot", null)))));
18
+ }
19
+ getCssClassMap() {
20
+ return {
21
+ [this.listType]: true,
22
+ };
23
+ }
24
+ };
25
+ ListItem.style = listItemCss;
26
+
27
+ exports.list_item = ListItem;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-825cf1b6.js');
5
+ const index = require('./index-ac192914.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["icon-asset_4.cjs",[[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}],[1,"my-component",{"first":[1],"middle":[1],"last":[1]}],[4,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"shape":[1],"size":[1],"icon":[1]}],[1,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]]],["ptc-card.cjs",[[1,"ptc-card",{"first":[1]}]]],["ptc-image.cjs",[[1,"ptc-image",{"src":[1],"alt":[1],"oldSrc":[32]}]]],["ptc-link.cjs",[[1,"ptc-link",{"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"textTransform":[1,"text-transform"],"fontSize":[1,"font-size"]}]]],["ptc-list.cjs",[[1,"ptc-list"]]]], options);
17
+ return index.bootstrapLazy([["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"headingArrow":[4,"heading-arrow"],"target":[1],"rel":[1],"heading":[1],"headingPosition":[1,"heading-position"],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"]}]]],["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-button.cjs",[[4,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"]}]]],["ptc-date.cjs",[[0,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[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"]},[[9,"resize","WindowResize"]]]]],["ptc-list.cjs",[[4,"ptc-list",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["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-para.cjs",[[4,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"]}]]],["ptc-picture.cjs",[[4,"ptc-picture",{"lazy":[1]}]]],["ptc-spacer.cjs",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span.cjs",[[4,"ptc-span",{"spanStyle":[1,"span-style"]}]]],["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]}]]],["icon-asset.cjs",[[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]]]], options);
18
18
  });
19
19
  };
20
20