@everymatrix/player-elevate-card 1.54.11 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/general-styling-wrapper_5.cjs.entry.js +32 -78
- package/dist/cjs/{index-e1db0305.js → index-fcb2d8d9.js} +138 -246
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/player-elevate-card.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/player-elevate-card/player-elevate-card.js +7 -39
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +5 -2
- package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.js +7 -39
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +10 -51
- package/dist/esm/general-styling-wrapper_5.entry.js +32 -78
- package/dist/esm/{index-29ae3408.js → index-94328d47.js} +138 -246
- package/dist/esm/loader.js +2 -2
- package/dist/esm/player-elevate-card.js +3 -3
- package/dist/player-elevate-card/p-08c2b497.entry.js +1 -0
- package/dist/player-elevate-card/p-8dfd18ff.js +2 -0
- package/dist/player-elevate-card/player-elevate-card.esm.js +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/player-elevate-card/p-17e5148c.js +0 -2
- package/dist/player-elevate-card/p-fbac732f.entry.js +0 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-fcb2d8d9.js');
|
|
6
6
|
|
|
7
7
|
const mergeTranslations = (url, target) => {
|
|
8
8
|
return new Promise((resolve) => {
|
|
@@ -26,18 +26,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
|
|
|
26
26
|
const GeneralStylingWrapper = class {
|
|
27
27
|
constructor(hostRef) {
|
|
28
28
|
index.registerInstance(this, hostRef);
|
|
29
|
-
/**
|
|
30
|
-
* Client custom styling via inline styles
|
|
31
|
-
*/
|
|
32
|
-
this.clientStyling = '';
|
|
33
|
-
/**
|
|
34
|
-
* Client custom styling via url
|
|
35
|
-
*/
|
|
36
|
-
this.clientStylingUrl = '';
|
|
37
|
-
/**
|
|
38
|
-
* Translation via url
|
|
39
|
-
*/
|
|
40
|
-
this.translationUrl = '';
|
|
41
29
|
this.stylingAppends = false;
|
|
42
30
|
this.setClientStyling = () => {
|
|
43
31
|
let sheet = document.createElement('style');
|
|
@@ -59,6 +47,10 @@ const GeneralStylingWrapper = class {
|
|
|
59
47
|
console.log('error ', err);
|
|
60
48
|
});
|
|
61
49
|
};
|
|
50
|
+
this.clientStyling = '';
|
|
51
|
+
this.clientStylingUrl = '';
|
|
52
|
+
this.translationUrl = '';
|
|
53
|
+
this.targetTranslations = undefined;
|
|
62
54
|
}
|
|
63
55
|
componentDidRender() {
|
|
64
56
|
// start custom styling area
|
|
@@ -2489,32 +2481,20 @@ const PlayerElevateCardStyle0 = playerElevateCardCss;
|
|
|
2489
2481
|
const PlayerElevateCard = class {
|
|
2490
2482
|
constructor(hostRef) {
|
|
2491
2483
|
index.registerInstance(this, hostRef);
|
|
2492
|
-
|
|
2493
|
-
* The style that widget shows,available value: Dark, Light
|
|
2494
|
-
* Default: Dark
|
|
2495
|
-
*/
|
|
2484
|
+
this.endpoint = undefined;
|
|
2496
2485
|
this.theme = 'Dark';
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
*/
|
|
2486
|
+
this.session = undefined;
|
|
2487
|
+
this.playerAvatarUrl = undefined;
|
|
2500
2488
|
this.language = 'en';
|
|
2501
|
-
|
|
2502
|
-
* datePattern
|
|
2503
|
-
*/
|
|
2489
|
+
this.playerName = undefined;
|
|
2504
2490
|
this.dateFormat = 'yyyy-MM-dd';
|
|
2505
|
-
/**
|
|
2506
|
-
* Client custom styling via inline styles
|
|
2507
|
-
*/
|
|
2508
2491
|
this.clientStyling = '';
|
|
2509
|
-
/**
|
|
2510
|
-
* Client custom styling via url
|
|
2511
|
-
*/
|
|
2512
2492
|
this.clientStylingUrl = '';
|
|
2513
|
-
/**
|
|
2514
|
-
* Translation via url
|
|
2515
|
-
*/
|
|
2516
2493
|
this.translationUrl = '';
|
|
2494
|
+
this.pointExpireString = undefined;
|
|
2517
2495
|
this.playerLevelFlag = 0;
|
|
2496
|
+
this.playerElevateLevel = undefined;
|
|
2497
|
+
this.elevateWalletTotal = undefined;
|
|
2518
2498
|
}
|
|
2519
2499
|
onSessionOrEndpointChange() {
|
|
2520
2500
|
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
@@ -2851,6 +2831,9 @@ const PlayerElevateCardData = class {
|
|
|
2851
2831
|
constructor(hostRef) {
|
|
2852
2832
|
index.registerInstance(this, hostRef);
|
|
2853
2833
|
this.playerElevateLeveLoaded = index.createEvent(this, "playerElevateLeveLoaded", 7);
|
|
2834
|
+
this.params = undefined;
|
|
2835
|
+
this.playerElevateLevel = undefined;
|
|
2836
|
+
this.pointExpireString = undefined;
|
|
2854
2837
|
}
|
|
2855
2838
|
handleWindowResizs() {
|
|
2856
2839
|
this.initLevelProgressbar();
|
|
@@ -3018,31 +3001,19 @@ const PlayerElevateLoyaltycardStyle0 = playerElevateLoyaltycardCss;
|
|
|
3018
3001
|
const PlayerElevateLoyaltycard = class {
|
|
3019
3002
|
constructor(hostRef) {
|
|
3020
3003
|
index.registerInstance(this, hostRef);
|
|
3021
|
-
|
|
3022
|
-
* The style that widget shows,available value: Dark, Light
|
|
3023
|
-
* Default: Dark
|
|
3024
|
-
*/
|
|
3004
|
+
this.endpoint = undefined;
|
|
3025
3005
|
this.theme = 'Dark';
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
*/
|
|
3006
|
+
this.session = undefined;
|
|
3007
|
+
this.playerAvatarUrl = undefined;
|
|
3029
3008
|
this.language = 'en';
|
|
3030
|
-
|
|
3031
|
-
* datePattern
|
|
3032
|
-
*/
|
|
3009
|
+
this.playerName = undefined;
|
|
3033
3010
|
this.dateFormat = 'yyyy-MM-dd';
|
|
3034
|
-
/**
|
|
3035
|
-
* Client custom styling via inline styles
|
|
3036
|
-
*/
|
|
3037
3011
|
this.clientStyling = '';
|
|
3038
|
-
/**
|
|
3039
|
-
* Client custom styling via url
|
|
3040
|
-
*/
|
|
3041
3012
|
this.clientStylingUrl = '';
|
|
3042
|
-
/**
|
|
3043
|
-
* Translation via url
|
|
3044
|
-
*/
|
|
3045
3013
|
this.translationUrl = '';
|
|
3014
|
+
this.pointExpireString = undefined;
|
|
3015
|
+
this.playerElevateLevel = undefined;
|
|
3016
|
+
this.elevateWalletTotal = undefined;
|
|
3046
3017
|
}
|
|
3047
3018
|
onSessionOrEndpointChange() {
|
|
3048
3019
|
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
@@ -3108,40 +3079,23 @@ const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
|
|
|
3108
3079
|
const PlayerElevatePointcard = class {
|
|
3109
3080
|
constructor(hostRef) {
|
|
3110
3081
|
index.registerInstance(this, hostRef);
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
* Default: Dark
|
|
3114
|
-
*/
|
|
3082
|
+
this.isPointDetailCard = this.buttonType === 'earningRule';
|
|
3083
|
+
this.endpoint = undefined;
|
|
3115
3084
|
this.theme = 'Dark';
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
*/
|
|
3085
|
+
this.session = undefined;
|
|
3086
|
+
this.playerAvatarUrl = undefined;
|
|
3119
3087
|
this.language = 'en';
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
* value: 'details'/'earningRule'
|
|
3123
|
-
* It effected the button in card
|
|
3124
|
-
* 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
|
|
3125
|
-
* 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
|
|
3126
|
-
*/
|
|
3088
|
+
this.playerName = undefined;
|
|
3089
|
+
this.cardTitle = undefined;
|
|
3127
3090
|
this.buttonType = 'earningRule';
|
|
3128
|
-
/**
|
|
3129
|
-
* datePattern
|
|
3130
|
-
*/
|
|
3131
3091
|
this.dateFormat = 'yyyy-MM-dd';
|
|
3132
|
-
/**
|
|
3133
|
-
* Client custom styling via inline styles
|
|
3134
|
-
*/
|
|
3135
3092
|
this.clientStyling = '';
|
|
3136
|
-
/**
|
|
3137
|
-
* Client custom styling via url
|
|
3138
|
-
*/
|
|
3139
3093
|
this.clientStylingUrl = '';
|
|
3140
|
-
/**
|
|
3141
|
-
* Translation via url
|
|
3142
|
-
*/
|
|
3143
3094
|
this.translationUrl = '';
|
|
3144
|
-
this.
|
|
3095
|
+
this.pointExpireString = undefined;
|
|
3096
|
+
this.playerElevateLevel = undefined;
|
|
3097
|
+
this.elevateWalletTotal = undefined;
|
|
3098
|
+
this.elevateSPTotal = undefined;
|
|
3145
3099
|
}
|
|
3146
3100
|
onSessionOrEndpointChange() {
|
|
3147
3101
|
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|