@everymatrix/player-elevate-points-history 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.
- package/dist/assets/back.svg +3 -0
- package/dist/assets/menu.svg +5 -0
- package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +1115 -0
- package/dist/cjs/index-974f5239.js +1686 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/player-elevate-card-items-67656c5f.js +2477 -0
- package/dist/cjs/player-elevate-card.cjs.entry.js +77 -0
- package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +84 -0
- package/dist/cjs/player-elevate-points-history.cjs.js +19 -0
- package/dist/collection/collection-manifest.json +40 -0
- package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.css +174 -0
- package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +395 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/renders/renderTabs.js +11 -0
- package/dist/collection/renders/renderTopBar.js +12 -0
- package/dist/collection/renders/renderWallets.js +44 -0
- package/dist/collection/static/back.svg +3 -0
- package/dist/collection/static/menu.svg +5 -0
- package/dist/collection/utils/business.js +17 -0
- package/dist/collection/utils/fetch.js +17 -0
- package/dist/collection/utils/translation.js +35 -0
- package/dist/collection/utils/types.js +6 -0
- package/dist/collection/utils/util.js +16 -0
- package/dist/components/bonus-pagination-limits.js +6 -0
- package/dist/components/bonus-pagination-limits2.js +111 -0
- package/dist/components/bonus-pagination-nav.js +6 -0
- package/dist/components/bonus-pagination-nav2.js +219 -0
- package/dist/components/general-styling-wrapper.js +6 -0
- package/dist/components/general-styling-wrapper2.js +104 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/components/player-elevate-card-data.js +6 -0
- package/dist/components/player-elevate-card-data2.js +625 -0
- package/dist/components/player-elevate-card-items.js +2250 -0
- package/dist/components/player-elevate-card.js +119 -0
- package/dist/components/player-elevate-loyaltycard.js +125 -0
- package/dist/components/player-elevate-pointcard.js +6 -0
- package/dist/components/player-elevate-pointcard2.js +125 -0
- package/dist/components/player-elevate-points-history.d.ts +11 -0
- package/dist/components/player-elevate-points-history.js +363 -0
- package/dist/esm/bonus-pagination-limits_6.entry.js +1106 -0
- package/dist/esm/index-18159ab2.js +1657 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/player-elevate-card-items-96ed621b.js +2464 -0
- package/dist/esm/player-elevate-card.entry.js +73 -0
- package/dist/esm/player-elevate-loyaltycard.entry.js +80 -0
- package/dist/esm/player-elevate-points-history.js +17 -0
- 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/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/player-elevate-points-history/index.esm.js +0 -0
- package/dist/player-elevate-points-history/p-3073cebd.js +1 -0
- package/dist/player-elevate-points-history/p-50a08f34.entry.js +1 -0
- package/dist/player-elevate-points-history/p-a937ac54.js +1 -0
- package/dist/player-elevate-points-history/p-b0fd409d.entry.js +1 -0
- package/dist/player-elevate-points-history/p-e44be562.entry.js +1 -0
- package/dist/player-elevate-points-history/player-elevate-points-history.esm.js +1 -0
- package/dist/static/button-default.svg +42 -0
- package/dist/static/button-disabled.svg +4 -0
- package/dist/static/button-hover.svg +4 -0
- package/dist/static/button-level.svg +27 -0
- package/dist/static/button-pressed.svg +18 -0
- package/dist/static/button-redeem.svg +36 -0
- package/dist/static/card-ground-over.png +0 -0
- package/dist/static/card-ground-over.svg +903 -0
- package/dist/static/card-ground.png +0 -0
- package/dist/static/card-ground.svg +34 -0
- package/dist/static/info.svg +4 -0
- package/dist/static/level-badge.png +0 -0
- package/dist/static/level-percent.svg +80 -0
- package/dist/static/tips-info.svg +21 -0
- package/dist/static/user.svg +3 -0
- package/dist/stencil.config.js +31 -0
- package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/player-elevate-points-history/.stencil/packages/player-elevate-points-history/stencil.config.d.ts +2 -0
- package/dist/types/components/player-elevate-points-history/player-elevate-points-history.d.ts +66 -0
- package/dist/types/components.d.ts +126 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/renders/renderTabs.d.ts +3 -0
- package/dist/types/renders/renderTopBar.d.ts +3 -0
- package/dist/types/renders/renderWallets.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/business.d.ts +2 -0
- package/dist/types/utils/fetch.d.ts +2 -0
- package/dist/types/utils/translation.d.ts +35 -0
- package/dist/types/utils/types.d.ts +41 -0
- package/dist/types/utils/util.d.ts +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +31 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-974f5239.js');
|
|
6
|
+
const playerElevateCardItems = require('./player-elevate-card-items-67656c5f.js');
|
|
7
|
+
|
|
8
|
+
const playerElevateCardCss = "@container (max-width: 270px) {\n .Card .Inner {\n flex-direction: column;\n }\n .Card .Inner .Content {\n padding: 9px;\n }\n\n .Inner .Row .ExpirationPoints {\n order: 1;\n }\n}\n.Card .PlayerImg {\n order: 0;\n}\n.Card .ExpirationPoints {\n order: 3;\n}\n.Card .LevelInfo {\n order: 2;\n}\n.Card .Inner .Row .PlayerImg {\n flex-direction: column;\n}\n.Card .Inner .Row .PointsInfo {\n width: 100%;\n text-align: center;\n display: flex;\n flex-direction: column;\n max-height: 50%;\n}\n.Card .Inner .PlayerAvatar .Badge {\n background-size: contain;\n background-repeat: no-repeat;\n position: absolute;\n right: 5px;\n bottom: -5px;\n width: 40%;\n height: 40%;\n overflow: visible;\n}\n.Card .Inner .Row .ExpirationPoints {\n text-align: left;\n color: var(--emfe-w-color-red, red);\n}\n.Card .Inner .Row .Points {\n text-wrap: nowrap;\n}\n.Card .Inner .LevelInfo .ElevateLevel {\n flex-direction: column;\n}\n.Card .Inner .LevelInfo .ElevateLevel .LevelName {\n width: calc(100% - 20px);\n text-align: left;\n font-size: 13px;\n padding-left: 20px;\n margin: 10px 0;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpirationDate {\n text-align: center;\n font-size: smaller;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpireTime {\n margin-left: 5px;\n}";
|
|
9
|
+
|
|
10
|
+
const PlayerElevateCard = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* The style that widget shows,available value: Dark, Light
|
|
15
|
+
* Default: Dark
|
|
16
|
+
*/
|
|
17
|
+
this.theme = 'Dark';
|
|
18
|
+
/**
|
|
19
|
+
* Widget Language to show
|
|
20
|
+
*/
|
|
21
|
+
this.language = 'en';
|
|
22
|
+
/**
|
|
23
|
+
* datePattern
|
|
24
|
+
*/
|
|
25
|
+
this.dateFormat = 'yyyy-MM-dd';
|
|
26
|
+
/**
|
|
27
|
+
* Client custom styling via inline styles
|
|
28
|
+
*/
|
|
29
|
+
this.clientStyling = '';
|
|
30
|
+
/**
|
|
31
|
+
* Client custom styling via url
|
|
32
|
+
*/
|
|
33
|
+
this.clientStylingUrl = '';
|
|
34
|
+
/**
|
|
35
|
+
* Translation via url
|
|
36
|
+
*/
|
|
37
|
+
this.translationUrl = '';
|
|
38
|
+
this.playerLevelFlag = 0;
|
|
39
|
+
}
|
|
40
|
+
playerElevateLeveLoadedHandler(event) {
|
|
41
|
+
if (!event.detail) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (event.detail['elevateLevelWalletTotal']) {
|
|
45
|
+
this.elevateWalletTotal = event.detail['elevateLevelWalletTotal'];
|
|
46
|
+
}
|
|
47
|
+
if (event.detail['elevateLevel']) {
|
|
48
|
+
this.playerElevateLevel = event.detail['elevateLevel'];
|
|
49
|
+
}
|
|
50
|
+
if (event.detail['pointExpireString']) {
|
|
51
|
+
this.pointExpireString = event.detail.xpExpireString;
|
|
52
|
+
}
|
|
53
|
+
if (event.detail.calculatedLevelFlag) {
|
|
54
|
+
this.playerLevelFlag = event.detail.calculatedLevelFlag;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
onRedeemClick() {
|
|
58
|
+
window.postMessage({ type: 'BEERedeemClicked' }, window.location.href);
|
|
59
|
+
}
|
|
60
|
+
componentWillLoad() {
|
|
61
|
+
this.paramProxy = {
|
|
62
|
+
endpoint: this.endpoint,
|
|
63
|
+
session: this.session,
|
|
64
|
+
language: this.language,
|
|
65
|
+
calculateLevelFlag: true,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
|
|
70
|
+
const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
|
|
71
|
+
return (index.h("div", { class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { class: "Card Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: playerElevateCardItems.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { params: this.paramProxy }), index.h("div", { class: "OuterCover Inner", style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, this.playerElevateLevel && (index.h(index.Fragment, null, index.h("div", { class: 'Content Row' }, index.h("div", { class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { playerAvatarUrl: this.playerAvatarUrl, loyaltyIconUrl: this.playerElevateLevel.presentation.asset }), index.h(playerElevateCardItems.PlayerPoints, { loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language })), this.pointExpireString && (index.h("div", { class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), index.h("div", { class: `LevelInfo Level${this.playerLevelFlag} ${this.playerElevateLevel.presentation.displayName}` }, index.h(playerElevateCardItems.PlayerNameDiv, { playerName: this.playerName }), index.h(playerElevateCardItems.PlayerElevateLoyaltyLevel, { hideInfo: true, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), index.h(playerElevateCardItems.PlayerLoyaltyProcess, null), index.h(playerElevateCardItems.PlayerElevateCardRedeem, { onRedeemClick: this.onRedeemClick, language: this.language })))))))));
|
|
72
|
+
}
|
|
73
|
+
static get assetsDirs() { return ["../static"]; }
|
|
74
|
+
};
|
|
75
|
+
PlayerElevateCard.style = playerElevateCardCss;
|
|
76
|
+
|
|
77
|
+
exports.player_elevate_card = PlayerElevateCard;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-974f5239.js');
|
|
6
|
+
const playerElevateCardItems = require('./player-elevate-card-items-67656c5f.js');
|
|
7
|
+
|
|
8
|
+
const playerElevateLoyaltycardCss = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo{width:100%}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emfe-w-color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emfe-w-elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emfe-w-elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emfe-w-color-black, #000);opacity:0.8;font-weight:bold}";
|
|
9
|
+
|
|
10
|
+
const PlayerElevateLoyaltycard = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* The style that widget shows,available value: Dark, Light
|
|
15
|
+
* Default: Dark
|
|
16
|
+
*/
|
|
17
|
+
this.theme = 'Dark';
|
|
18
|
+
/**
|
|
19
|
+
* Widget Language to show
|
|
20
|
+
*/
|
|
21
|
+
this.language = 'en';
|
|
22
|
+
/**
|
|
23
|
+
* datePattern
|
|
24
|
+
*/
|
|
25
|
+
this.dateFormat = 'yyyy-MM-dd';
|
|
26
|
+
/**
|
|
27
|
+
* Client custom styling via inline styles
|
|
28
|
+
*/
|
|
29
|
+
this.clientStyling = '';
|
|
30
|
+
/**
|
|
31
|
+
* Client custom styling via url
|
|
32
|
+
*/
|
|
33
|
+
this.clientStylingUrl = '';
|
|
34
|
+
/**
|
|
35
|
+
* Translation via url
|
|
36
|
+
*/
|
|
37
|
+
this.translationUrl = '';
|
|
38
|
+
}
|
|
39
|
+
playerElevateLeveLoadedHandler(event) {
|
|
40
|
+
if (!event.detail) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (event.detail['elevateLevelWalletTotal']) {
|
|
44
|
+
this.elevateWalletTotal = event.detail['elevateLevelWalletTotal'];
|
|
45
|
+
}
|
|
46
|
+
if (event.detail['elevateLevel']) {
|
|
47
|
+
this.playerElevateLevel = event.detail['elevateLevel'];
|
|
48
|
+
}
|
|
49
|
+
if (event.detail['pointExpireString']) {
|
|
50
|
+
this.pointExpireString = event.detail.xpExpireString;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
onRedeemClick() {
|
|
54
|
+
window.postMessage({ type: 'BEERedeemClicked' }, window.location.href);
|
|
55
|
+
}
|
|
56
|
+
componentWillLoad() {
|
|
57
|
+
this.paramsProxy = {
|
|
58
|
+
endpoint: this.endpoint,
|
|
59
|
+
session: this.session,
|
|
60
|
+
language: this.language,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
getNextLevelTips() {
|
|
64
|
+
var _a;
|
|
65
|
+
//need xx to reach Diamond
|
|
66
|
+
let nextLevel = (_a = this.playerElevateLevel) === null || _a === void 0 ? void 0 : _a.nextLevel;
|
|
67
|
+
if (this.playerElevateLevel && nextLevel) {
|
|
68
|
+
const pointsToReach = (nextLevel.entryPoints - this.playerElevateLevel.loyaltyPoints).toFixed(2);
|
|
69
|
+
return playerElevateCardItems.translateWithParams('tipsForNextLevel', {
|
|
70
|
+
pointsToReach,
|
|
71
|
+
levelName: nextLevel.name,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return '';
|
|
75
|
+
}
|
|
76
|
+
render() {
|
|
77
|
+
const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
|
|
78
|
+
const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
|
|
79
|
+
return (index.h("div", { class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { class: "LoyaltyCard Outer", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: playerElevateCardItems.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { params: this.paramsProxy }), index.h("div", { class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, null, index.h("div", { class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h(playerElevateCardItems.PlayerElevateLoyaltyLevel, { hideInfo: true, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), index.h(playerElevateCardItems.PlayerPoints, { loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), this.pointExpireString && (index.h("div", { class: 'PointsInfo ExpirationPoints' }, this.pointExpireString, " ")), index.h(playerElevateCardItems.PlayerLoyaltyProcess, null), index.h("div", { class: "NextLevelTip" }, this.getNextLevelTips())))))))));
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
PlayerElevateLoyaltycard.style = playerElevateLoyaltycardCss;
|
|
83
|
+
|
|
84
|
+
exports.player_elevate_loyaltycard = PlayerElevateLoyaltycard;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-974f5239.js');
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v2.15.2 | 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('player-elevate-points-history.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([["bonus-pagination-limits_6.cjs",[[1,"player-elevate-points-history",{"playerAvatarUrl":[513,"player-avatar-url"],"session":[513],"endpoint":[513],"limit":[1538],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"pageLimitOptions":[1537,"page-limit-options"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"locale":[32],"type":[32],"pageSetting":[32],"pointsWallets":[32]},[[0,"reloadPageByType","reloadPageByTypeHandler"]]],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]]],[0,"bonus-pagination-limits",{"language":[513],"translationUrl":[513,"translation-url"],"pageLimitOptions":[513,"page-limit-options"],"limit":[1538],"pageLimits":[32]}],[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"]]],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]],["player-elevate-card.cjs",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]]]]],["player-elevate-loyaltycard.cjs",[[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]]]]]], options);
|
|
19
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/player-elevate-points-history/player-elevate-points-history.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "2.15.2",
|
|
8
|
+
"typescriptVersion": "4.5.4"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/bonus-pagination-limits",
|
|
13
|
+
"tags": [
|
|
14
|
+
"bonus-pagination-limits"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "@everymatrix/bonus-pagination-nav",
|
|
19
|
+
"tags": [
|
|
20
|
+
"bonus-pagination-nav"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "@everymatrix/general-styling-wrapper",
|
|
25
|
+
"tags": [
|
|
26
|
+
"general-styling-wrapper"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "@everymatrix/player-elevate-card",
|
|
31
|
+
"tags": [
|
|
32
|
+
"player-elevate-card",
|
|
33
|
+
"player-elevate-card-data",
|
|
34
|
+
"player-elevate-loyaltycard",
|
|
35
|
+
"player-elevate-pointcard"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"bundles": []
|
|
40
|
+
}
|
package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.css
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
main {
|
|
6
|
+
max-width: 420px;
|
|
7
|
+
}
|
|
8
|
+
main player-elevate-pointcard {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 220px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.PlayerElevatePointsDetaisContainer {
|
|
14
|
+
background: #FFFFFF;
|
|
15
|
+
padding: 20px 10px 0;
|
|
16
|
+
margin-top: -100px;
|
|
17
|
+
position: relative;
|
|
18
|
+
min-height: 360px;
|
|
19
|
+
}
|
|
20
|
+
.PlayerElevatePointsDetaisContainer .ReloadMsg {
|
|
21
|
+
padding: 20px;
|
|
22
|
+
}
|
|
23
|
+
.PlayerElevatePointsDetaisContainer .ReloadMsg a.Reload {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.TitleContainer {
|
|
28
|
+
font-size: 20px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
line-height: 25px;
|
|
31
|
+
letter-spacing: 0em;
|
|
32
|
+
text-align: left;
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.TopBarContainer {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: space-between;
|
|
41
|
+
}
|
|
42
|
+
.TopBarContainer .TitleContainer {
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
.TopBarContainer .Title {
|
|
46
|
+
background: #303030;
|
|
47
|
+
padding: 5px 16px;
|
|
48
|
+
color: #FFFFFF;
|
|
49
|
+
box-shadow: 0px 4px 13px 0px #00000040;
|
|
50
|
+
border-radius: 8px;
|
|
51
|
+
width: fit-content;
|
|
52
|
+
margin-left: 7px;
|
|
53
|
+
text-overflow: ellipsis;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.PaginationContainer {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.MonthStat {
|
|
64
|
+
margin-top: 25px;
|
|
65
|
+
display: none;
|
|
66
|
+
font-size: 16px;
|
|
67
|
+
font-weight: 500;
|
|
68
|
+
line-height: 19px;
|
|
69
|
+
letter-spacing: 0px;
|
|
70
|
+
text-align: left;
|
|
71
|
+
color: #242424;
|
|
72
|
+
}
|
|
73
|
+
.MonthStat .Amount {
|
|
74
|
+
color: #53B65A;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.BackImageContainer {
|
|
78
|
+
width: 35px;
|
|
79
|
+
height: 35px;
|
|
80
|
+
flex: 0 0 35px;
|
|
81
|
+
border-radius: 6px;
|
|
82
|
+
text-align: center;
|
|
83
|
+
line-height: 35px;
|
|
84
|
+
box-shadow: 0px 4px 40px 0px #8A959E33;
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.Records {
|
|
89
|
+
margin-top: 16px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.MenuImage, .BackImage {
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.Row {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: space-between;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
.Row:nth-child(n+2) {
|
|
103
|
+
margin-top: 3px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.Tabs.Row {
|
|
107
|
+
justify-content: space-around;
|
|
108
|
+
margin-top: 20px;
|
|
109
|
+
}
|
|
110
|
+
.Tabs.Row .TabText {
|
|
111
|
+
font-size: 16px;
|
|
112
|
+
margin: 10px 15px;
|
|
113
|
+
color: #9C9C9C;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
.Tabs.Row .TabText.active {
|
|
117
|
+
color: #242424;
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
}
|
|
120
|
+
.Tabs.Row .TabBorderBottom {
|
|
121
|
+
height: 5px;
|
|
122
|
+
border-radius: 4px;
|
|
123
|
+
background: transparent;
|
|
124
|
+
}
|
|
125
|
+
.Tabs.Row .TabBorderBottom.active {
|
|
126
|
+
background: #242424;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.RecordContainer {
|
|
130
|
+
margin: 5px 0;
|
|
131
|
+
padding: 10px;
|
|
132
|
+
box-shadow: 0px 0px 8px 0px #0000001A;
|
|
133
|
+
border-radius: 5px;
|
|
134
|
+
}
|
|
135
|
+
.RecordContainer .Title {
|
|
136
|
+
color: #242424;
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
font-weight: 600;
|
|
139
|
+
line-height: 19px;
|
|
140
|
+
letter-spacing: 0px;
|
|
141
|
+
text-align: left;
|
|
142
|
+
}
|
|
143
|
+
.RecordContainer .Amount {
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
font-weight: 600;
|
|
146
|
+
line-height: 19px;
|
|
147
|
+
letter-spacing: 0px;
|
|
148
|
+
text-align: left;
|
|
149
|
+
}
|
|
150
|
+
.RecordContainer .Amount.Positive {
|
|
151
|
+
color: #53B65A;
|
|
152
|
+
}
|
|
153
|
+
.RecordContainer .Amount.Negative {
|
|
154
|
+
color: #B41E2D;
|
|
155
|
+
}
|
|
156
|
+
.RecordContainer .DateTime {
|
|
157
|
+
color: #9C9C9C;
|
|
158
|
+
font-size: 16px;
|
|
159
|
+
font-weight: 400;
|
|
160
|
+
line-height: 19px;
|
|
161
|
+
letter-spacing: 0px;
|
|
162
|
+
text-align: left;
|
|
163
|
+
}
|
|
164
|
+
.RecordContainer .Tag {
|
|
165
|
+
font-size: 12px;
|
|
166
|
+
font-weight: 500;
|
|
167
|
+
line-height: 14px;
|
|
168
|
+
letter-spacing: 0em;
|
|
169
|
+
text-align: center;
|
|
170
|
+
color: #767171;
|
|
171
|
+
padding: 8px 30px;
|
|
172
|
+
border-radius: 8px;
|
|
173
|
+
box-shadow: 0px 2px 4px 0px #00000040;
|
|
174
|
+
}
|