@everymatrix/player-elevate-card 1.31.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.
Files changed (115) hide show
  1. package/dist/cjs/general-styling-wrapper_5.cjs.entry.js +3162 -0
  2. package/dist/cjs/index-234565f1.js +1645 -0
  3. package/dist/cjs/index.cjs.js +2 -0
  4. package/dist/cjs/loader.cjs.js +21 -0
  5. package/dist/cjs/player-elevate-card.cjs.js +19 -0
  6. package/dist/collection/collection-manifest.json +22 -0
  7. package/dist/collection/components/player-elevate-card/player-elevate-card-items.js +43 -0
  8. package/dist/collection/components/player-elevate-card/player-elevate-card.css +65 -0
  9. package/dist/collection/components/player-elevate-card/player-elevate-card.js +282 -0
  10. package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.css +189 -0
  11. package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +208 -0
  12. package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.css +68 -0
  13. package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.js +287 -0
  14. package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.css +70 -0
  15. package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +323 -0
  16. package/dist/collection/components/static/button-default.svg +42 -0
  17. package/dist/collection/components/static/button-disabled.svg +4 -0
  18. package/dist/collection/components/static/button-hover.svg +4 -0
  19. package/dist/collection/components/static/button-level.svg +27 -0
  20. package/dist/collection/components/static/button-pressed.svg +18 -0
  21. package/dist/collection/components/static/button-redeem.svg +36 -0
  22. package/dist/collection/components/static/card-ground-over.png +0 -0
  23. package/dist/collection/components/static/card-ground-over.svg +903 -0
  24. package/dist/collection/components/static/card-ground.png +0 -0
  25. package/dist/collection/components/static/card-ground.svg +34 -0
  26. package/dist/collection/components/static/info.svg +4 -0
  27. package/dist/collection/components/static/level-badge.png +0 -0
  28. package/dist/collection/components/static/level-percent.svg +80 -0
  29. package/dist/collection/components/static/tips-info.svg +21 -0
  30. package/dist/collection/components/static/user.svg +3 -0
  31. package/dist/collection/index.js +1 -0
  32. package/dist/collection/models/player-elevate.js +1 -0
  33. package/dist/collection/utils/locale.utils.js +144 -0
  34. package/dist/collection/utils/utils.js +47 -0
  35. package/dist/components/general-styling-wrapper.js +6 -0
  36. package/dist/components/general-styling-wrapper2.js +103 -0
  37. package/dist/components/index.d.ts +26 -0
  38. package/dist/components/index.js +1 -0
  39. package/dist/components/player-elevate-card-data.d.ts +11 -0
  40. package/dist/components/player-elevate-card-data.js +6 -0
  41. package/dist/components/player-elevate-card-data2.js +624 -0
  42. package/dist/components/player-elevate-card-items.js +2250 -0
  43. package/dist/components/player-elevate-card.d.ts +11 -0
  44. package/dist/components/player-elevate-card.js +118 -0
  45. package/dist/components/player-elevate-loyaltycard.d.ts +11 -0
  46. package/dist/components/player-elevate-loyaltycard.js +124 -0
  47. package/dist/components/player-elevate-pointcard.d.ts +11 -0
  48. package/dist/components/player-elevate-pointcard.js +127 -0
  49. package/dist/components/static/button-default.svg +42 -0
  50. package/dist/components/static/button-disabled.svg +4 -0
  51. package/dist/components/static/button-hover.svg +4 -0
  52. package/dist/components/static/button-level.svg +27 -0
  53. package/dist/components/static/button-pressed.svg +18 -0
  54. package/dist/components/static/button-redeem.svg +36 -0
  55. package/dist/components/static/card-ground-over.png +0 -0
  56. package/dist/components/static/card-ground-over.svg +903 -0
  57. package/dist/components/static/card-ground.png +0 -0
  58. package/dist/components/static/card-ground.svg +34 -0
  59. package/dist/components/static/info.svg +4 -0
  60. package/dist/components/static/level-badge.png +0 -0
  61. package/dist/components/static/level-percent.svg +80 -0
  62. package/dist/components/static/tips-info.svg +21 -0
  63. package/dist/components/static/user.svg +3 -0
  64. package/dist/esm/general-styling-wrapper_5.entry.js +3154 -0
  65. package/dist/esm/index-747197fd.js +1616 -0
  66. package/dist/esm/index.js +1 -0
  67. package/dist/esm/loader.js +17 -0
  68. package/dist/esm/player-elevate-card.js +17 -0
  69. package/dist/esm/polyfills/core-js.js +11 -0
  70. package/dist/esm/polyfills/css-shim.js +1 -0
  71. package/dist/esm/polyfills/dom.js +79 -0
  72. package/dist/esm/polyfills/es5-html-element.js +1 -0
  73. package/dist/esm/polyfills/index.js +34 -0
  74. package/dist/esm/polyfills/system.js +6 -0
  75. package/dist/index.cjs.js +1 -0
  76. package/dist/index.js +1 -0
  77. package/dist/player-elevate-card/index.esm.js +0 -0
  78. package/dist/player-elevate-card/p-56620f7c.entry.js +1 -0
  79. package/dist/player-elevate-card/p-afe7b72e.js +1 -0
  80. package/dist/player-elevate-card/player-elevate-card.esm.js +1 -0
  81. package/dist/static/button-default.svg +42 -0
  82. package/dist/static/button-disabled.svg +4 -0
  83. package/dist/static/button-hover.svg +4 -0
  84. package/dist/static/button-level.svg +27 -0
  85. package/dist/static/button-pressed.svg +18 -0
  86. package/dist/static/button-redeem.svg +36 -0
  87. package/dist/static/card-ground-over.png +0 -0
  88. package/dist/static/card-ground-over.svg +903 -0
  89. package/dist/static/card-ground.png +0 -0
  90. package/dist/static/card-ground.svg +34 -0
  91. package/dist/static/info.svg +4 -0
  92. package/dist/static/level-badge.png +0 -0
  93. package/dist/static/level-percent.svg +80 -0
  94. package/dist/static/tips-info.svg +21 -0
  95. package/dist/static/user.svg +3 -0
  96. package/dist/stencil.config.js +32 -0
  97. package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/player-elevate-card/.stencil/packages/player-elevate-card/stencil.config.d.ts +2 -0
  98. package/dist/types/components/player-elevate-card/player-elevate-card-items.d.ts +19 -0
  99. package/dist/types/components/player-elevate-card/player-elevate-card.d.ts +53 -0
  100. package/dist/types/components/player-elevate-card-data/player-elevate-card-data.d.ts +22 -0
  101. package/dist/types/components/player-elevate-loyaltycard/player-elevate-loyaltycard.d.ts +53 -0
  102. package/dist/types/components/player-elevate-pointcard/player-elevate-pointcard.d.ts +66 -0
  103. package/dist/types/components.d.ts +335 -0
  104. package/dist/types/index.d.ts +1 -0
  105. package/dist/types/models/player-elevate.d.ts +40 -0
  106. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  107. package/dist/types/utils/locale.utils.d.ts +15 -0
  108. package/dist/types/utils/utils.d.ts +1 -0
  109. package/loader/cdn.js +3 -0
  110. package/loader/index.cjs.js +3 -0
  111. package/loader/index.d.ts +12 -0
  112. package/loader/index.es2017.js +3 -0
  113. package/loader/index.js +4 -0
  114. package/loader/package.json +10 -0
  115. package/package.json +24 -0
Binary file
@@ -0,0 +1,34 @@
1
+ <svg width="100%" height="100%" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_bd_164_4223)">
3
+ <rect x="0" width="100%" height="100%" rx="20" fill="#F5F1E4" fill-opacity="0.25" shape-rendering="crispEdges"/>
4
+ <rect x="0" y="1" width="100%" height="" rx="19" stroke="url(#paint0_linear_164_4223)" stroke-opacity="0.6" stroke-width="2px" shape-rendering="crispEdges"/>
5
+ <rect x="0" y="1" width="100%" height="100%" rx="19" stroke="url(#paint1_linear_164_4223)" stroke-width="2px" shape-rendering="crispEdges"/>
6
+ <rect x="0" y="1" width="100%" height="100%" rx="19" stroke="url(#paint2_linear_164_4223)" stroke-width="2px" shape-rendering="crispEdges"/>
7
+ </g>
8
+ <defs>
9
+ <filter id="filter0_bd_164_4223" x="0" y="0" width="100%" height="100%" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
10
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
11
+ <feGaussianBlur in="BackgroundImageFix" stdDeviation="20"/>
12
+ <feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_164_4223"/>
13
+ <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"/>
14
+ <feOffset dy="4"/>
15
+ <feGaussianBlur stdDeviation="2"/>
16
+ <feComposite in2="hardAlpha" operator="out"/>
17
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
18
+ <feBlend mode="normal" in2="effect1_backgroundBlur_164_4223" result="effect2_dropShadow_164_4223"/>
19
+ <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_164_4223" result="shape"/>
20
+ </filter>
21
+ <linearGradient id="paint0_linear_164_4223" x1="443.76" y1="83.9511" x2="318.014" y2="90.9637" gradientUnits="userSpaceOnUse">
22
+ <stop stop-color="white"/>
23
+ <stop offset="1" stop-color="#EFEFEF" stop-opacity="0"/>
24
+ </linearGradient>
25
+ <linearGradient id="paint1_linear_164_4223" x1="0" y1="0" x2="106.285" y2="95.535" gradientUnits="userSpaceOnUse">
26
+ <stop stop-color="white" stop-opacity="0.5"/>
27
+ <stop offset="1" stop-color="white" stop-opacity="0"/>
28
+ </linearGradient>
29
+ <linearGradient id="paint2_linear_164_4223" x1="373" y1="210" x2="243.388" y2="153.851" gradientUnits="userSpaceOnUse">
30
+ <stop stop-color="white" stop-opacity="0.5"/>
31
+ <stop offset="1" stop-color="white" stop-opacity="0"/>
32
+ </linearGradient>
33
+ </defs>
34
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="6" cy="6" r="5.5" stroke="#EEEEEE"/>
3
+ <path d="M4.12276 9C4.08866 9 4.05797 8.98928 4.03069 8.96783C4.01023 8.95174 4 8.92761 4 8.89544V8.2681C4 8.24129 4.01023 8.21984 4.03069 8.20375C4.05797 8.18231 4.08866 8.17158 4.12276 8.17158H5.51407V5.69437H4.30691C4.2728 5.69437 4.24211 5.68633 4.21483 5.67024C4.19437 5.64879 4.18414 5.62198 4.18414 5.58981V4.96247C4.18414 4.93566 4.19437 4.91421 4.21483 4.89812C4.24211 4.87668 4.2728 4.86595 4.30691 4.86595H6.49616C6.53026 4.86595 6.55754 4.87668 6.57801 4.89812C6.60529 4.91421 6.61893 4.93566 6.61893 4.96247V8.17158H7.87724C7.91134 8.17158 7.93862 8.18231 7.95908 8.20375C7.98636 8.21984 8 8.24129 8 8.2681V8.89544C8 8.96515 7.95908 9 7.87724 9H4.12276ZM5.92327 4.23056C5.70503 4.23056 5.52089 4.17158 5.37084 4.05362C5.2208 3.93566 5.14578 3.79357 5.14578 3.62735C5.14578 3.4504 5.2208 3.30295 5.37084 3.18499C5.52089 3.06166 5.70503 3 5.92327 3C6.14834 3 6.33589 3.06166 6.48593 3.18499C6.6428 3.30295 6.72123 3.4504 6.72123 3.62735C6.72123 3.79357 6.6428 3.93566 6.48593 4.05362C6.33589 4.17158 6.14834 4.23056 5.92327 4.23056Z" fill="#EEEEEE"/>
4
+ </svg>
Binary file
@@ -0,0 +1,80 @@
1
+ <svg width="100%" height="28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect y="12" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
3
+ <rect y="12" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
4
+ <g filter="url(#filter_current_level)">
5
+ <circle id="circle_current_level" cx="74.5" cy="14.5" r="6.5" fill="white"/>
6
+ </g>
7
+ <g filter="url(#filter_heart_ball)">
8
+ <g filter="url(#filter_ball)">
9
+ <circle cx="169" cy="14" r="10" id="lock" fill="url(#paint0_linear_ball)"/>
10
+ </g>
11
+ <g filter="url(#filter_heart)">
12
+ <svg x="0" y="4" id="lock_box">
13
+ <path d="M10.217 6.42442c-0.713,-0.574,-1.304,-1.083,-1.928,-1.622c-0.348,-0.299,-0.707,-0.611,-1.101,-0.943l-0.013,-0.01c0,0,-0.023,-0.017,-0.04,-0.027l-0.167,-0.095l-0.15,0.12c0,0,-0.015,0.012,-0.024,0.02c-0.391,0.33,-0.749,0.64,-1.094,0.939c-0.622,0.539,-1.211,1.048,-1.924,1.624c-1.816,1.463,-3.598,3.263,-3.033,5.506c0.404,1.601,2.104,2.905,3.789,2.905c0.211,0,0.423,-0.02,0.626,-0.061c0.286,-0.058,0.572,-0.145,0.864,-0.265c-0.079,0.962,-0.413,1.864,-0.881,2.369l-0.423,0.459h0.633c0.633,0,1.018,-0.007,1.356,-0.013c0.248,-0.004,0.462,-0.008,0.72,-0.008c0.335,0,0.709,0.006,1.215,0.021l0.686,0.02l-0.474,-0.483c-0.504,-0.514,-0.847,-1.403,-0.923,-2.385c0.311,0.132,0.616,0.227,0.916,0.287c0.204,0.039,0.411,0.059,0.623,0.059c1.687,0,3.386,-1.304,3.789,-2.909c0.56,-2.243,-1.224,-4.041,-3.042,-5.504v-0.004z" fill="#933CBF"/>
14
+ <path d="M9.727,6.98459c-1.004,-0.83,-1.741,-1.515,-2.723,-2.365c-0.002,0,-0.004,-0.004,-0.007,-0.006c-0.002,0,-0.004,0.004,-0.006,0.006c-0.98,0.85,-1.715,1.537,-2.721,2.367c-1.455,1.202,-3.126,2.821,-2.638,4.81c0.37,1.511,2.091,2.751,3.665,2.43c0.389,-0.08,0.75,-0.224,1.094,-0.402c0,0.116,-0.004,0.233,-0.012,0.353c-0.064,0.991,-0.398,1.892,-0.86,2.401c1.481,0,1.481,-0.043,2.961,0c-0.481,-0.503,-0.834,-1.382,-0.9,-2.401c-0.008,-0.127,-0.012,-0.253,-0.012,-0.378c0.357,0.19,0.733,0.342,1.14,0.425c1.574,0.319,3.292,-0.922,3.661,-2.433c0.486,-1.992,-1.189,-3.609,-2.644,
15
+ -4.809l0.002,0.002z" fill="url(#paint1_linear_lock)"/>
16
+ <path d="M9.255,7.551c-0.844,-0.716,-1.462,-1.309,-2.286,-2.045c-0.002,0,-0.004,-0.004,-0.006,-0.006c0,0,-0.004,0.004,-0.006,0.006c-0.824,0.736,-1.44,1.329,-2.284,2.047c-0.919,0.782,-1.94,1.769,-2.214,2.943c-0.115,0.021,-0.914,0.044,-0.914,0.044l0.887,0.083c-0.039,0.206,-0.055,0.418,-0.041,0.638c0.087,-1.371,1.25,-2.507,2.282,-3.384c0.844,-0.718,1.462,-1.313,2.284,-2.047c0.002,-0.002,0.004,-0.004,0.006,-0.006c0.002,0,0.004,0.004,0.006,0.004c0.824,0.734,1.442,1.329,2.286,2.045c1.034,0.879,2.198,2.013,2.286,3.386c0.093,-1.517,-1.173,-2.761,-2.286,-3.708z" fill="#9040C9"/>
17
+ </svg>
18
+ </g>
19
+ </g>
20
+ <g filter="url(#filter_lock)">
21
+ <svg x="100%" y="9" id="heart_box">
22
+ <path d="M7,6c-0.19,-0.002,-0.377,0.052,-0.534,0.154c-0.158,0.103,-0.278,0.25,-0.346,0.42c-0.069,0.171,-0.081,0.357,-0.035,0.535c0.046,0.177,0.147,0.337,0.29,0.457v0.834c0,0.159,0.066,0.312,0.183,0.424c0.117,0.113,0.276,0.176,0.442,0.176c0.166,0,0.325,-0.063,0.442,-0.176c0.117,-0.112,0.183,-0.265,0.183,-0.424v-0.834c0.143,-0.12,0.244,-0.28,0.29,-0.457c0.046,-0.178,0.034,-0.364,-0.035,-0.535c-0.068,-0.17,-0.188,-0.317,-0.346,-0.42c-0.157,-0.102,-0.344,-0.156,-0.534,-0.154zm3.125,-2.4v-1.2c0,-0.796,-0.329,-1.559,-0.915,-2.121c-0.586,-0.563,-1.381,-0.879,-2.21,-0.879c-0.829,0,-1.624,0.316,-2.21,0.879c-0.586,0.562,-0.915,1.325,-0.915,2.121v1.2c-0.497,0,-0.974,0.19,-1.326,0.527c-0.351,0.338,-0.549,0.796,-0.549,1.273v4.2c0,0.477,0.198,0.935,0.549,1.273c0.352,0.337,0.829,0.527,1.326,0.527h6.25c0.497,0,0.974,-0.19,1.326,-0.527c0.351,-0.338,0.549,-0.796,0.549,-1.273v-4.2c0,-0.477,-0.198,-0.935,-0.549,-1.273c-0.352,-0.337,-0.829,-0.527,-1.326,-0.527zm-5,-1.2c0,-0.477,0.198,-0.935,0.549,-1.273c0.352,-0.337,0.829,-0.527,1.326,-0.527c0.497,0,0.974,0.19,1.326,0.527c0.351,0.338,0.549,0.796,0.549,1.273v1.2h-3.75v-1.2zm5.625,7.2c0,0.159,-0.066,0.312,-0.183,0.424c-0.117,0.113,-0.276,0.176,-0.442,0.176h-6.25c-0.166,0,-0.325,-0.063,-0.442,-0.176c-0.117,-0.112,-0.183,-0.265,-0.183,-0.424v-4.2c0,-0.159,0.066,-0.312,0.183,-0.424c0.117,-0.113,0.276,-0.176,0.442,-0.176h6.25c0.166,0,0.325,0.063,0.442,0.176c0.117,0.112,0.183,0.265,0.183,0.424v4.2z" fill="white"/>
23
+ </svg>
24
+ </g>
25
+ <defs>
26
+ <filter id="filter_current_level" x="64" y="4" width="21" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
27
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
28
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
29
+ <feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_305_23"/>
30
+ </filter>
31
+ <filter id="filter_heart_ball" x="155" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
32
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
33
+ <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"/>
34
+ <feOffset/>
35
+ <feGaussianBlur stdDeviation="2"/>
36
+ <feComposite in2="hardAlpha" operator="out"/>
37
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
38
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
39
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
40
+ </filter>
41
+ <filter id="filter_ball" x="159" y="4" width="20" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
42
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
43
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
44
+ <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"/>
45
+ <feOffset dy="1"/>
46
+ <feGaussianBlur stdDeviation="1"/>
47
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
48
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
49
+ <feBlend mode="normal" in2="shape" result="effect1_innerShadow_305_23"/>
50
+ </filter>
51
+ <filter id="filter_heart" x="161.636" y="5.72727" width="14.7271" height="15.6364" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
52
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
53
+ <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"/>
54
+ <feOffset/>
55
+ <feGaussianBlur stdDeviation="0.5"/>
56
+ <feComposite in2="hardAlpha" operator="out"/>
57
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
58
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
59
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
60
+ </filter>
61
+ <filter id="filter_lock" x="50" y="7" width="12" height="14" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
62
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
63
+ <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"/>
64
+ <feOffset/>
65
+ <feGaussianBlur stdDeviation="0.5"/>
66
+ <feComposite in2="hardAlpha" operator="out"/>
67
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
68
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
69
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
70
+ </filter>
71
+ <linearGradient id="paint0_linear_ball" x1="163" y1="6" x2="174.2" y2="22.6" gradientUnits="userSpaceOnUse">
72
+ <stop stop-color="#946AD7"/>
73
+ <stop offset="1" stop-color="#EFABEB"/>
74
+ </linearGradient>
75
+ <linearGradient id="paint1_linear_lock" x1="100%" y1="18.4056" x2="169.002" y2="10.2845" gradientUnits="userSpaceOnUse">
76
+ <stop stop-color="#814FD6"/>
77
+ <stop offset="1" stop-color="#D679D8"/>
78
+ </linearGradient>
79
+ </defs>
80
+ </svg>
@@ -0,0 +1,21 @@
1
+ <svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_d_242_4231)">
3
+ <rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
4
+ <path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
5
+ <path d="M51 56H37L43.2474 63.1399C43.6458 63.5952 44.3542 63.5952 44.7526 63.1399L51 56Z" fill="#464646"/>
6
+ <circle cx="44" cy="38" r="7" fill="white"/>
7
+ <path d="M43.9405 34C44.5456 34 45.0362 34.4906 45.0362 35.0957C45.0362 35.7009 44.5456 36.1915 43.9405 36.1915C43.3353 36.1915 42.8447 35.7009 42.8447 35.0957C42.8447 34.4906 43.3353 34 43.9405 34Z" fill="#464646"/>
8
+ <path d="M45.8801 41.3737C45.8801 41.7617 45.5626 42.0791 45.1746 42.0791H44.3233H43.551H42.7055C42.3175 42.0791 42 41.7617 42 41.3737V41.3575C42 40.9695 42.3175 40.6521 42.7055 40.6521H42.8455V37.8714H42.3528C42.1588 37.8714 42 37.7127 42 37.5187V37.4936C42 37.2996 42.1588 37.1409 42.3528 37.1409H43.551H44.031H44.3233C44.7113 37.1409 45.0287 37.4583 45.0287 37.8463V40.6521H45.1746C45.5626 40.6521 45.8801 40.9696 45.8801 41.3576V41.3737Z" fill="#464646"/>
9
+ </g>
10
+ <defs>
11
+ <filter id="filter0_d_242_4231" x="0" y="0" width="126" height="91.4814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
+ <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"/>
14
+ <feOffset dy="4"/>
15
+ <feGaussianBlur stdDeviation="12"/>
16
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
17
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_242_4231"/>
18
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_242_4231" result="shape"/>
19
+ </filter>
20
+ </defs>
21
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
2
+ <path fill="#6c6c6c" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4
3
+ 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>
@@ -0,0 +1,32 @@
1
+ import { sass } from '@stencil/sass';
2
+ import { inlineSvg } from 'stencil-inline-svg';
3
+ const local = process.argv && process.argv[2] && process.argv[2].indexOf('--dev') > -1;
4
+ export const config = {
5
+ namespace: 'player-elevate-card',
6
+ taskQueue: 'async',
7
+ plugins: [sass(), inlineSvg()],
8
+ sourceMap: local,
9
+ outputTargets: [
10
+ {
11
+ type: 'dist',
12
+ esmLoaderPath: '../loader',
13
+ },
14
+ {
15
+ type: 'dist-custom-elements',
16
+ copy: [
17
+ {
18
+ src: '**/*.{jpg,png,svg}',
19
+ dest: 'dist/components/static',
20
+ warn: true,
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ type: 'docs-readme',
26
+ },
27
+ {
28
+ type: 'www',
29
+ serviceWorker: null, // disable service workers
30
+ },
31
+ ],
32
+ };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,19 @@
1
+ import { FunctionalComponent } from '../../stencil-public-runtime';
2
+ export declare const PlayerLoyaltyProcess: () => any;
3
+ interface PlayerPointsProps {
4
+ loyaltyPoints?: number;
5
+ spendablePoints?: number;
6
+ pointExpireString?: string;
7
+ language?: string;
8
+ }
9
+ export declare const PlayerPoints: FunctionalComponent<PlayerPointsProps>;
10
+ interface PlayerRedeemButtonProps {
11
+ language?: string;
12
+ onRedeemClick: any;
13
+ }
14
+ export declare const PlayerElevateCardRedeem: FunctionalComponent<PlayerRedeemButtonProps>;
15
+ export declare const PlayerNameDiv: (props: any) => any;
16
+ export declare const PlayerElevateLoyaltyLevel: (props: any) => any;
17
+ export declare const PlayerAvatar: (props: any) => any;
18
+ export declare const TextSpan: (props: any) => any;
19
+ export {};
@@ -0,0 +1,53 @@
1
+ import { ElevateWalletTotalInfo, PlayerElevateLevel } from '../../models/player-elevate';
2
+ export declare class PlayerElevateCard {
3
+ /**
4
+ * The NWA endpoint
5
+ */
6
+ endpoint: string;
7
+ /**
8
+ * The style that widget shows,available value: Dark, Light
9
+ * Default: Dark
10
+ */
11
+ theme: string;
12
+ /**
13
+ * The NWA session for the logged-in user
14
+ */
15
+ session: string;
16
+ /**
17
+ * Widget, player avatar url
18
+ */
19
+ playerAvatarUrl: string;
20
+ /**
21
+ * Widget Language to show
22
+ */
23
+ language: string;
24
+ /**
25
+ * Player name
26
+ */
27
+ playerName: string;
28
+ /**
29
+ * datePattern
30
+ */
31
+ dateFormat: string;
32
+ /**
33
+ * Client custom styling via inline styles
34
+ */
35
+ clientStyling: string;
36
+ /**
37
+ * Client custom styling via url
38
+ */
39
+ clientStylingUrl: string;
40
+ /**
41
+ * Translation via url
42
+ */
43
+ translationUrl: string;
44
+ pointExpireString: string;
45
+ playerLevelFlag: number;
46
+ playerElevateLevel: PlayerElevateLevel;
47
+ elevateWalletTotal: ElevateWalletTotalInfo;
48
+ protected paramProxy: any;
49
+ playerElevateLeveLoadedHandler(event: CustomEvent): void;
50
+ onRedeemClick(): void;
51
+ componentWillLoad(): void;
52
+ render(): any;
53
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { ElevateWalletTotalInfo, PlayerElevateLevel } from '../../models/player-elevate';
3
+ import '@everymatrix/general-styling-wrapper';
4
+ export declare class PlayerElevateCardData {
5
+ params: any;
6
+ playerElevateLevel: PlayerElevateLevel;
7
+ pointExpireString: string;
8
+ playerElevateLeveLoaded: EventEmitter;
9
+ handleWindowResizs(): void;
10
+ elevateCardRef: HTMLElement;
11
+ loyaltyProgressEle: HTMLElement;
12
+ private levels;
13
+ onRedeemClick(): void;
14
+ loadLevels(): Promise<unknown>;
15
+ calcuatePointsToBeExpired(walletTotalInfo: ElevateWalletTotalInfo): string;
16
+ loadPlayerLevelInfo(): Promise<PlayerElevateLevel>;
17
+ setLoyaltyProgress(percent: number): void;
18
+ initLevelProgressbar(): void;
19
+ componentWillRender(): void;
20
+ componentDidRender(): void;
21
+ componentWillLoad(): void;
22
+ }
@@ -0,0 +1,53 @@
1
+ import { ElevateWalletTotalInfo, PlayerElevateLevel } from '../../models/player-elevate';
2
+ export declare class PlayerElevateLoyaltycard {
3
+ /**
4
+ * The NWA endpoint
5
+ */
6
+ endpoint: string;
7
+ /**
8
+ * The style that widget shows,available value: Dark, Light
9
+ * Default: Dark
10
+ */
11
+ theme: string;
12
+ /**
13
+ * The NWA session for the logged-in user
14
+ */
15
+ session: string;
16
+ /**
17
+ * Widget, player avatar url
18
+ */
19
+ playerAvatarUrl: string;
20
+ /**
21
+ * Widget Language to show
22
+ */
23
+ language: string;
24
+ /**
25
+ * The first name
26
+ */
27
+ playerName: string;
28
+ /**
29
+ * datePattern
30
+ */
31
+ dateFormat: string;
32
+ /**
33
+ * Client custom styling via inline styles
34
+ */
35
+ clientStyling: string;
36
+ /**
37
+ * Client custom styling via url
38
+ */
39
+ clientStylingUrl: string;
40
+ /**
41
+ * Translation via url
42
+ */
43
+ translationUrl: string;
44
+ pointExpireString: string;
45
+ playerElevateLevel: PlayerElevateLevel;
46
+ elevateWalletTotal: ElevateWalletTotalInfo;
47
+ protected paramsProxy: any;
48
+ playerElevateLeveLoadedHandler(event: CustomEvent): void;
49
+ onRedeemClick(): void;
50
+ componentWillLoad(): void;
51
+ getNextLevelTips(): string;
52
+ render(): any;
53
+ }
@@ -0,0 +1,66 @@
1
+ import { ElevateWalletTotalInfo, PlayerElevateLevel } from '../../models/player-elevate';
2
+ export declare class PlayerElevatePointcard {
3
+ /**
4
+ * The NWA endpoint
5
+ */
6
+ endpoint: string;
7
+ /**
8
+ * The style that widget shows,available value: Dark, Light
9
+ * Default: Dark
10
+ */
11
+ theme: string;
12
+ /**
13
+ * The NWA session for the logged-in user
14
+ */
15
+ session: string;
16
+ /**
17
+ * Widget, player avatar url
18
+ */
19
+ playerAvatarUrl: string;
20
+ /**
21
+ * Widget Language to show
22
+ */
23
+ language: string;
24
+ /**
25
+ * The first name
26
+ */
27
+ playerName: string;
28
+ /**
29
+ *The title displayed in card, default: translation of 'spendablePoints'
30
+ */
31
+ cardTitle: string;
32
+ /**
33
+ * Check if the card used in points details widget, default: 'earningRule'
34
+ * value: 'details'/'earningRule'
35
+ * It effected the button in card
36
+ * 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
37
+ * 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
38
+ */
39
+ buttonType: string;
40
+ /**
41
+ * datePattern
42
+ */
43
+ dateFormat: string;
44
+ /**
45
+ * Client custom styling via inline styles
46
+ */
47
+ clientStyling: string;
48
+ /**
49
+ * Client custom styling via url
50
+ */
51
+ clientStylingUrl: string;
52
+ /**
53
+ * Translation via url
54
+ */
55
+ translationUrl: string;
56
+ pointExpireString: string;
57
+ playerElevateLevel: PlayerElevateLevel;
58
+ elevateWalletTotal: ElevateWalletTotalInfo;
59
+ elevateSPTotal: ElevateWalletTotalInfo;
60
+ protected paramProxy: any;
61
+ private isPointDetailCard;
62
+ playerElevateLeveLoadedHandler(event: CustomEvent): void;
63
+ onDetailsClick(): void;
64
+ componentWillLoad(): void;
65
+ render(): any;
66
+ }