@everymatrix/lottery-hakuna-ticket-history-item 0.1.0 → 0.1.1
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/{index-99904d3f.js → index-62dddc9a.js} +3 -2
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{lottery-button_5.cjs.entry.js → lottery-button_6.cjs.entry.js} +177 -2
- package/dist/cjs/lottery-hakuna-ticket-history-item-ba3ec0d0.js +203 -0
- package/dist/cjs/lottery-hakuna-ticket-history-item.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item.css +11 -9
- package/dist/collection/components/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item.js +56 -11
- package/dist/esm/{index-09b72148.js → index-45df3d8d.js} +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{lottery-button_5.entry.js → lottery-button_6.entry.js} +178 -4
- package/dist/esm/lottery-hakuna-ticket-history-item-5bc91571.js +198 -0
- package/dist/esm/lottery-hakuna-ticket-history-item.js +3 -3
- package/dist/lottery-hakuna-ticket-history-item/{index-09b72148.js → index-45df3d8d.js} +2 -2
- package/dist/lottery-hakuna-ticket-history-item/index.esm.js +1 -1
- package/dist/lottery-hakuna-ticket-history-item/lottery-button_6.entry.js +1 -0
- package/dist/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item-5bc91571.js +1 -0
- package/dist/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item.esm.js +1 -1
- package/dist/types/components/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item.d.ts +13 -2
- package/dist/types/components.d.ts +26 -10
- package/package.json +1 -1
- package/dist/cjs/lottery-hakuna-ticket-history-item-6b877fa8.js +0 -195
- package/dist/esm/lottery-hakuna-ticket-history-item-785a2e3d.js +0 -190
- package/dist/lottery-hakuna-ticket-history-item/lottery-button_5.entry.js +0 -1
- package/dist/lottery-hakuna-ticket-history-item/lottery-hakuna-ticket-history-item-785a2e3d.js +0 -1
|
@@ -71,10 +71,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
71
71
|
}
|
|
72
72
|
switch(bundleId) {
|
|
73
73
|
|
|
74
|
-
case 'lottery-
|
|
74
|
+
case 'lottery-button_6.cjs':
|
|
75
75
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
76
76
|
/* webpackMode: "lazy" */
|
|
77
|
-
'./lottery-
|
|
77
|
+
'./lottery-button_6.cjs.entry.js')); }).then(processMod, consoleError);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
@@ -1301,6 +1301,7 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
1301
1301
|
// src/runtime/nonce.ts
|
|
1302
1302
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1303
1303
|
|
|
1304
|
+
exports.Host = Host;
|
|
1304
1305
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1305
1306
|
exports.createEvent = createEvent;
|
|
1306
1307
|
exports.getElement = getElement;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const lotteryHakunaTicketHistoryItem = require('./lottery-hakuna-ticket-history-item-
|
|
6
|
-
require('./index-
|
|
5
|
+
const lotteryHakunaTicketHistoryItem = require('./lottery-hakuna-ticket-history-item-ba3ec0d0.js');
|
|
6
|
+
require('./index-62dddc9a.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-62dddc9a.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["lottery-
|
|
11
|
+
return index.bootstrapLazy([["lottery-button_6.cjs",[[1,"lottery-hakuna-ticket-history-item",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"historyItemName":[1,"history-item-name"],"historyItemImageSrc":[1,"history-item-image-src"],"ticketId":[8,"ticket-id"],"totalAmount":[1,"total-amount"],"date":[1],"time":[1],"selectedNumbers":[1,"selected-numbers"],"showSkeleton":[4,"show-skeleton"],"selectedNumbersCount":[2,"selected-numbers-count"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-selection-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"splitToken":[513,"split-token"],"selectionGroupId":[513,"selection-group-id"],"selectionGroupLabel":[513,"selection-group-label"],"type":[513],"selectedBulletTexts":[513,"selected-bullet-texts"],"maxSelectedCount":[514,"max-selected-count"],"maxDisplayBulletsCount":[514,"max-display-bullets-count"],"bulletTexts":[513,"bullet-texts"],"maxIntegerBulletText":[514,"max-integer-bullet-text"],"minIntegerBulletText":[514,"min-integer-bullet-text"],"bulletTextType":[513,"bullet-text-type"],"hasBorder":[516,"has-border"],"hasBackground":[516,"has-background"],"dialogTitle":[513,"dialog-title"],"dialogInputPlaceholder":[513,"dialog-input-placeholder"],"dialogConfig":[32],"inputInfo":[32]},[[0,"lotteryBulletClick","lotteryBulletClickHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}],[1,"lottery-button",{"variant":[513],"size":[513],"color":[513],"disabled":[516],"loading":[516],"text":[513],"mbSource":[513,"mb-source"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"ripples":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-selection",{"value":[520],"text":[513],"idx":[514],"type":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasBorder":[516,"has-border"],"hasBackground":[516,"has-background"],"deleteIconSvg":[513,"delete-icon-svg"],"deleteIconWidth":[513,"delete-icon-width"],"deleteIconHeight":[513,"delete-icon-height"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-dialog",{"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"visible":[516],"dialogTitle":[1,"dialog-title"],"width":[1],"closable":[4],"mask":[4],"maskClosable":[4,"mask-closable"],"animationDuration":[2,"animation-duration"],"fullscreen":[4],"showFooter":[4,"show-footer"],"showCancelBtn":[4,"show-cancel-btn"],"language":[513],"translationUrl":[520,"translation-url"],"dialogClass":[1,"dialog-class"],"dialogStyle":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const lotteryHakunaTicketHistoryItem = require('./lottery-hakuna-ticket-history-item-
|
|
5
|
+
const index = require('./index-62dddc9a.js');
|
|
6
|
+
const lotteryHakunaTicketHistoryItem = require('./lottery-hakuna-ticket-history-item-ba3ec0d0.js');
|
|
7
7
|
|
|
8
8
|
const DEFAULT_LANGUAGE$2 = 'en';
|
|
9
9
|
const SUPPORTED_LANGUAGES$2 = ['ro', 'en', 'fr', 'ar', 'hr', 'zh'];
|
|
@@ -895,8 +895,183 @@ const LotteryTippingDialog = class {
|
|
|
895
895
|
};
|
|
896
896
|
LotteryTippingDialog.style = LotteryTippingDialogStyle0;
|
|
897
897
|
|
|
898
|
+
const uiSkeletonCss = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";
|
|
899
|
+
const UiSkeletonStyle0 = uiSkeletonCss;
|
|
900
|
+
|
|
901
|
+
const UiSkeleton = class {
|
|
902
|
+
constructor(hostRef) {
|
|
903
|
+
index.registerInstance(this, hostRef);
|
|
904
|
+
this.stylingValue = {
|
|
905
|
+
width: this.handleStylingProps(this.width),
|
|
906
|
+
height: this.handleStylingProps(this.height),
|
|
907
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
908
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
909
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
910
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
911
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
912
|
+
size: this.handleStylingProps(this.size),
|
|
913
|
+
};
|
|
914
|
+
this.structure = undefined;
|
|
915
|
+
this.width = 'unset';
|
|
916
|
+
this.height = 'unset';
|
|
917
|
+
this.borderRadius = 'unset';
|
|
918
|
+
this.marginBottom = 'unset';
|
|
919
|
+
this.marginTop = 'unset';
|
|
920
|
+
this.marginLeft = 'unset';
|
|
921
|
+
this.marginRight = 'unset';
|
|
922
|
+
this.animation = true;
|
|
923
|
+
this.rows = 0;
|
|
924
|
+
this.size = '100%';
|
|
925
|
+
}
|
|
926
|
+
handleStructureChange(newValue, oldValue) {
|
|
927
|
+
if (oldValue !== newValue) {
|
|
928
|
+
this.handleStructure(newValue);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
handleStylingProps(value) {
|
|
932
|
+
switch (typeof value) {
|
|
933
|
+
case 'number':
|
|
934
|
+
return value === 0 ? 0 : `${value}px`;
|
|
935
|
+
case 'undefined':
|
|
936
|
+
return 'unset';
|
|
937
|
+
case 'string':
|
|
938
|
+
if (['auto', 'unset', 'none', 'inherit', 'initial'].includes(value) ||
|
|
939
|
+
value.endsWith('px') ||
|
|
940
|
+
value.endsWith('%')) {
|
|
941
|
+
return value;
|
|
942
|
+
}
|
|
943
|
+
else {
|
|
944
|
+
return 'unset';
|
|
945
|
+
}
|
|
946
|
+
default:
|
|
947
|
+
return 'unset';
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
handleStructure(structure) {
|
|
951
|
+
switch (structure) {
|
|
952
|
+
case 'logo':
|
|
953
|
+
return this.renderLogo();
|
|
954
|
+
case 'image':
|
|
955
|
+
return this.renderImage();
|
|
956
|
+
case 'title':
|
|
957
|
+
return this.renderTitle();
|
|
958
|
+
case 'text':
|
|
959
|
+
return this.renderText();
|
|
960
|
+
case 'rectangle':
|
|
961
|
+
return this.renderRectangle();
|
|
962
|
+
case 'circle':
|
|
963
|
+
return this.renderCircle();
|
|
964
|
+
default:
|
|
965
|
+
return null;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
renderLogo() {
|
|
969
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'SkeletonLogo ' + (this.animation ? 'Skeleton' : '') })));
|
|
970
|
+
}
|
|
971
|
+
renderImage() {
|
|
972
|
+
return index.h("div", { class: 'SkeletonImage ' + (this.animation ? 'Skeleton' : '') });
|
|
973
|
+
}
|
|
974
|
+
renderTitle() {
|
|
975
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'SkeletonTitle ' + (this.animation ? 'Skeleton' : '') })));
|
|
976
|
+
}
|
|
977
|
+
renderText() {
|
|
978
|
+
return (index.h("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((_, index$1) => (index.h("div", { key: index$1, class: 'SkeletonText ' + (this.animation ? 'Skeleton' : '') })))));
|
|
979
|
+
}
|
|
980
|
+
renderRectangle() {
|
|
981
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'SkeletonRectangle ' + (this.animation ? 'Skeleton' : '') })));
|
|
982
|
+
}
|
|
983
|
+
renderCircle() {
|
|
984
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: 'SkeletonCircle ' + (this.animation ? 'Skeleton' : '') })));
|
|
985
|
+
}
|
|
986
|
+
render() {
|
|
987
|
+
let styleBlock = '';
|
|
988
|
+
switch (this.structure) {
|
|
989
|
+
case 'logo':
|
|
990
|
+
styleBlock = `
|
|
991
|
+
:host {
|
|
992
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
993
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
994
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
995
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
996
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
997
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
998
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
999
|
+
}
|
|
1000
|
+
`;
|
|
1001
|
+
break;
|
|
1002
|
+
case 'image':
|
|
1003
|
+
styleBlock = `
|
|
1004
|
+
:host {
|
|
1005
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
1006
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
1007
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
1008
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
1009
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
1010
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
1011
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
1012
|
+
}
|
|
1013
|
+
`;
|
|
1014
|
+
break;
|
|
1015
|
+
case 'title':
|
|
1016
|
+
styleBlock = `
|
|
1017
|
+
:host {
|
|
1018
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
1019
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
1020
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
1021
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
1022
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
1023
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
1024
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
1025
|
+
}
|
|
1026
|
+
`;
|
|
1027
|
+
break;
|
|
1028
|
+
case 'text':
|
|
1029
|
+
styleBlock = `
|
|
1030
|
+
:host {
|
|
1031
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
1032
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
1033
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
1034
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
1035
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
1036
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
1037
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
1038
|
+
}
|
|
1039
|
+
`;
|
|
1040
|
+
break;
|
|
1041
|
+
case 'rectangle':
|
|
1042
|
+
styleBlock = `
|
|
1043
|
+
:host {
|
|
1044
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
1045
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
1046
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
1047
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
1048
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
1049
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
1050
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
1051
|
+
}
|
|
1052
|
+
`;
|
|
1053
|
+
break;
|
|
1054
|
+
case 'circle':
|
|
1055
|
+
styleBlock = `
|
|
1056
|
+
:host {
|
|
1057
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
1058
|
+
}
|
|
1059
|
+
`;
|
|
1060
|
+
break;
|
|
1061
|
+
default:
|
|
1062
|
+
styleBlock = '';
|
|
1063
|
+
}
|
|
1064
|
+
return (index.h(index.Host, { key: 'c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8' }, index.h("style", { key: '9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19' }, styleBlock), this.handleStructure(this.structure)));
|
|
1065
|
+
}
|
|
1066
|
+
static get watchers() { return {
|
|
1067
|
+
"structure": ["handleStructureChange"]
|
|
1068
|
+
}; }
|
|
1069
|
+
};
|
|
1070
|
+
UiSkeleton.style = UiSkeletonStyle0;
|
|
1071
|
+
|
|
898
1072
|
exports.lottery_hakuna_ticket_history_item = lotteryHakunaTicketHistoryItem.LotteryHakunaTicketHistoryItem;
|
|
899
1073
|
exports.lottery_button = LotteryButton;
|
|
900
1074
|
exports.lottery_selection = LotterySelection;
|
|
901
1075
|
exports.lottery_selection_group = LotterySelectionGroup;
|
|
902
1076
|
exports.lottery_tipping_dialog = LotteryTippingDialog;
|
|
1077
|
+
exports.ui_skeleton = UiSkeleton;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-62dddc9a.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @name setClientStyling
|
|
7
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
8
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
9
|
+
* @param {string} clientStyling The style content
|
|
10
|
+
*/
|
|
11
|
+
function setClientStyling(stylingContainer, clientStyling) {
|
|
12
|
+
if (stylingContainer) {
|
|
13
|
+
const sheet = document.createElement('style');
|
|
14
|
+
sheet.innerHTML = clientStyling;
|
|
15
|
+
stylingContainer.appendChild(sheet);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @name setClientStylingURL
|
|
21
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
|
|
22
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
23
|
+
* @param {string} clientStylingUrl The URL of the style content
|
|
24
|
+
*/
|
|
25
|
+
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
26
|
+
if (!stylingContainer || !clientStylingUrl) return;
|
|
27
|
+
|
|
28
|
+
const url = new URL(clientStylingUrl);
|
|
29
|
+
|
|
30
|
+
fetch(url.href)
|
|
31
|
+
.then((res) => res.text())
|
|
32
|
+
.then((data) => {
|
|
33
|
+
const cssFile = document.createElement('style');
|
|
34
|
+
cssFile.innerHTML = data;
|
|
35
|
+
if (stylingContainer) {
|
|
36
|
+
stylingContainer.appendChild(cssFile);
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
.catch((err) => {
|
|
40
|
+
console.error('There was an error while trying to load client styling from URL', err);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @name setStreamLibrary
|
|
46
|
+
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
47
|
+
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
48
|
+
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
49
|
+
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
50
|
+
*/
|
|
51
|
+
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
52
|
+
if (window.emMessageBus) {
|
|
53
|
+
const sheet = document.createElement('style');
|
|
54
|
+
|
|
55
|
+
window.emMessageBus.subscribe(domain, (data) => {
|
|
56
|
+
sheet.innerHTML = data;
|
|
57
|
+
if (stylingContainer) {
|
|
58
|
+
stylingContainer.appendChild(sheet);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
65
|
+
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
66
|
+
const TRANSLATIONS = {
|
|
67
|
+
en: {
|
|
68
|
+
total: 'Total:',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
const translate = (key, customLang, replacements) => {
|
|
72
|
+
const lang = customLang;
|
|
73
|
+
let translation = TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
74
|
+
if (replacements) {
|
|
75
|
+
Object.keys(replacements).forEach((placeholder) => {
|
|
76
|
+
translation = translation.replace(`{${placeholder}}`, replacements[placeholder]);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
return translation;
|
|
80
|
+
};
|
|
81
|
+
const getTranslations = (data) => {
|
|
82
|
+
Object.keys(data).forEach((item) => {
|
|
83
|
+
for (let key in data[item]) {
|
|
84
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
const resolveTranslationUrl = async (translationUrl) => {
|
|
89
|
+
if (translationUrl) {
|
|
90
|
+
try {
|
|
91
|
+
const response = await fetch(translationUrl);
|
|
92
|
+
if (!response.ok) {
|
|
93
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
94
|
+
}
|
|
95
|
+
const translations = await response.json();
|
|
96
|
+
getTranslations(translations);
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
console.error('Failed to fetch or parse translations from URL:', error);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const lotteryHakunaTicketHistoryItemCss = ".lottery-hakuna-ticket-history-item__container{display:flex;padding:var(--lottery-hakuna-ticket-history-item-container-padding, 20px);flex-direction:column;justify-content:center;gap:var(--lottery-hakuna-ticket-history-item-container-gap, 16px);border-radius:var(--lottery-hakuna-ticket-history-item-container-border-radius, 12px);border:1px solid transparent;min-width:var(--lottery-hakuna-ticket-history-item-container-min-width, 200px);background-origin:border-box;background-clip:padding-box, border-box;background-image:linear-gradient(var(--emw-hakuna-bg-secondary, #120505), var(--emw-hakuna-bg-secondary, #120505)), linear-gradient(to top left, var(--emw-hakuna-color-primary, #c52217) var(--lottery-hakuna-ticket-history-item-border-gradient-start-stop, 22%), var(--emw-hakuna-bg-primary, #2c2525) var(--lottery-hakuna-ticket-history-item-border-gradient-end-stop, 68%))}.lottery-hakuna-ticket-history-item__top{display:flex;justify-content:space-between;align-items:center}.lottery-hakuna-ticket-history-item__country-wrapper{display:flex;align-items:center;gap:10px}.lottery-hakuna-ticket-history-item__country-flag{width:var(--lottery-hakuna-ticket-history-item-country-flag-width, 30px);object-fit:cover;aspect-ratio:var(--lottery-hakuna-ticket-history-item-country-flag-aspect-ratio, 3/2)}.lottery-hakuna-ticket-history-item__country-name{color:var(--lottery-hakuna-ticket-history-item-country-name-color, #fff);font-size:var(--lottery-hakuna-ticket-history-item-country-name-font-size, 14px);font-style:normal;font-weight:var(--lottery-hakuna-ticket-history-item-country-name-font-weight, 700);line-height:var(--lottery-hakuna-ticket-history-item-country-name-line-height, normal)}.lottery-hakuna-ticket-history-item__details{display:flex;gap:var(--lottery-hakuna-ticket-history-item-details-gap, 13px);color:var(--emw-hakuna-text-secondary, #b4a5a5);font-size:var(--lottery-hakuna-ticket-history-item-details-font-size, 10px);font-style:normal;font-weight:var(--lottery-hakuna-ticket-history-item-details-font-weight, 700);line-height:var(--lottery-hakuna-ticket-history-item-details-line-height, normal)}.lottery-hakuna-ticket-history-item__meta{display:flex;gap:var(--lottery-hakuna-ticket-history-item-meta-gap, 10px)}.lottery-hakuna-ticket-history-item__meta-value{color:var(--lottery-hakuna-ticket-history-item-meta-value-color, inherit)}.lottery-hakuna-ticket-history-item__bottom{display:flex;justify-content:space-between;align-items:center;align-self:stretch}.lottery-hakuna-ticket-history-item__numbers-wrapper{flex:1;display:flex;align-items:flex-start;gap:var(--lottery-hakuna-ticket-history-item-numbers-wrapper-gap, 8px);box-shadow:var(--lottery-hakuna-ticket-history-item-numbers-wrapper-box-shadow, 0 1px 2px 0 rgba(0, 0, 0, 0.25))}.lottery-hakuna-ticket-history-item__date-wrapper{color:var(--lottery-hakuna-ticket-history-item-date-wrapper-color, #fffefe);text-align:var(--lottery-hakuna-ticket-history-item-date-wrapper-text-align, right);font-size:var(--lottery-hakuna-ticket-history-item-date-wrapper-font-size, 8px);font-style:normal;font-weight:var(--lottery-hakuna-ticket-history-item-date-wrapper-font-weight, 400);line-height:var(--lottery-hakuna-ticket-history-item-date-wrapper-line-height, 125%);min-width:var(--lottery-hakuna-ticket-history-item-date-wrapper-min-width, 70px);max-width:var(--lottery-hakuna-ticket-history-item-date-wrapper-max-width, 100px)}lottery-selection-group{width:100%}ui-skeleton{--emw-skeleton-primary-color:#414141;--emw-skeleton-secondary-color:#2f2929}";
|
|
105
|
+
const LotteryHakunaTicketHistoryItemStyle0 = lotteryHakunaTicketHistoryItemCss;
|
|
106
|
+
|
|
107
|
+
const LotteryHakunaTicketHistoryItem = class {
|
|
108
|
+
constructor(hostRef) {
|
|
109
|
+
index.registerInstance(this, hostRef);
|
|
110
|
+
this.selectionGroupStyle = `
|
|
111
|
+
:host{
|
|
112
|
+
--lottery-selection-width: 24px;
|
|
113
|
+
--lottery-selection-height: 24px;
|
|
114
|
+
--lottery-selection-padding: 10px;
|
|
115
|
+
--lottery-selection-border-radius: 6px;
|
|
116
|
+
--lottery-selection-border-width: 1px;
|
|
117
|
+
--lottery-selection-border-color: var(--emw-hakuna-color-primary, #c52217);
|
|
118
|
+
|
|
119
|
+
--lottery-selection-color: var(--emw-hakuna-text-primary, #ffffff);
|
|
120
|
+
--lottery-selection-font-size: 14px;
|
|
121
|
+
--lottery-selection-font-weight: 500;
|
|
122
|
+
|
|
123
|
+
--lottery-selection-hover-background: transparent;
|
|
124
|
+
--lottery-selection-hover-border-color: var(--emw-hakuna-color-primary, #c52217);
|
|
125
|
+
--lottery-selection-hover-color: var(--emw-hakuna-text-primary, #ffffff);
|
|
126
|
+
|
|
127
|
+
.lottery-selection__button{
|
|
128
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
|
|
129
|
+
line-height: normal;
|
|
130
|
+
}
|
|
131
|
+
.lottery-selection__button:hover{
|
|
132
|
+
cursor: default;
|
|
133
|
+
}
|
|
134
|
+
--lottery-selection-group-item-gap:6px;
|
|
135
|
+
}
|
|
136
|
+
`;
|
|
137
|
+
this.renderSkeleton = () => {
|
|
138
|
+
return (index.h("div", { class: "lottery-hakuna-ticket-history-item__container" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__top" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__country-wrapper" }, index.h("ui-skeleton", { structure: "image", width: "30px", height: "20px" }), index.h("ui-skeleton", { structure: "title", width: "86px", height: "17px", marginBottom: 0 })), index.h("div", { class: "lottery-hakuna-ticket-history-item__details" }, index.h("ui-skeleton", { structure: "text", width: "60%", height: "20px" }))), index.h("div", { class: "lottery-hakuna-ticket-history-item__bottom" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__numbers-wrapper" }, new Array(this.selectedNumbersCount).fill(index.h("ui-skeleton", { borderRadius: "8px", structure: "rectangle", width: "24px", height: "24px" }))), index.h("div", { class: "lottery-hakuna-ticket-history-item__date-wrapper" }, index.h("ui-skeleton", { structure: "text", width: "180px", height: "14px" })))));
|
|
139
|
+
};
|
|
140
|
+
this.renderMain = () => {
|
|
141
|
+
return (index.h("div", { class: "lottery-hakuna-ticket-history-item__container" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__top" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__country-wrapper" }, this.historyItemImageSrc && (index.h("img", { src: this.historyItemImageSrc, alt: this.historyItemName, class: "lottery-hakuna-ticket-history-item__country-flag" })), index.h("span", { class: "lottery-hakuna-ticket-history-item__country-name" }, this.historyItemName)), index.h("div", { class: "lottery-hakuna-ticket-history-item__details" }, index.h("span", { class: "lottery-hakuna-ticket-history-item__meta" }, translate('total', this.language), index.h("span", { class: "lottery-hakuna-ticket-history-item__meta-value" }, this.totalAmount)))), index.h("div", { class: "lottery-hakuna-ticket-history-item__bottom" }, index.h("div", { class: "lottery-hakuna-ticket-history-item__numbers-wrapper" }, this.selectedNumbers && (index.h("lottery-selection-group", { type: "preview", bulletTexts: this.selectedNumbers, clientStyling: this.selectionGroupStyle + (this.clientStyling || ''), clientStylingUrl: this.clientStylingUrl, mbSource: this.mbSource, hasBorder: true, hasBackground: false, selectionGroupId: this.ticketId ? this.ticketId.toString() : undefined }))), index.h("div", { class: "lottery-hakuna-ticket-history-item__date-wrapper" }, this.date && index.h("div", null, this.date), this.time && index.h("div", null, this.time)))));
|
|
142
|
+
};
|
|
143
|
+
this.mbSource = undefined;
|
|
144
|
+
this.clientStyling = undefined;
|
|
145
|
+
this.clientStylingUrl = undefined;
|
|
146
|
+
this.language = 'en';
|
|
147
|
+
this.translationUrl = '';
|
|
148
|
+
this.historyItemName = undefined;
|
|
149
|
+
this.historyItemImageSrc = undefined;
|
|
150
|
+
this.ticketId = undefined;
|
|
151
|
+
this.totalAmount = undefined;
|
|
152
|
+
this.date = undefined;
|
|
153
|
+
this.time = undefined;
|
|
154
|
+
this.selectedNumbers = undefined;
|
|
155
|
+
this.showSkeleton = false;
|
|
156
|
+
this.selectedNumbersCount = 6;
|
|
157
|
+
}
|
|
158
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
159
|
+
if (newValue != oldValue) {
|
|
160
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
164
|
+
if (newValue != oldValue) {
|
|
165
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
169
|
+
if (newValue != oldValue) {
|
|
170
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
async componentWillLoad() {
|
|
174
|
+
resolveTranslationUrl(this.translationUrl);
|
|
175
|
+
}
|
|
176
|
+
componentDidLoad() {
|
|
177
|
+
if (this.stylingContainer) {
|
|
178
|
+
if (this.mbSource)
|
|
179
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
180
|
+
if (this.clientStyling)
|
|
181
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
182
|
+
if (this.clientStylingUrl)
|
|
183
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
disconnectedCallback() {
|
|
187
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
188
|
+
}
|
|
189
|
+
render() {
|
|
190
|
+
return (index.h("div", { key: 'd22e301e9824aa3539e0c11ed52a1bddc5e1fb9c', ref: (el) => (this.stylingContainer = el), class: "lottery-hakuna-ticket-history-item__container-wrapper" }, this.showSkeleton ? this.renderSkeleton() : this.renderMain()));
|
|
191
|
+
}
|
|
192
|
+
static get watchers() { return {
|
|
193
|
+
"clientStyling": ["handleClientStylingChange"],
|
|
194
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"],
|
|
195
|
+
"mbSource": ["handleMbSourceChange"]
|
|
196
|
+
}; }
|
|
197
|
+
};
|
|
198
|
+
LotteryHakunaTicketHistoryItem.style = LotteryHakunaTicketHistoryItemStyle0;
|
|
199
|
+
|
|
200
|
+
exports.LotteryHakunaTicketHistoryItem = LotteryHakunaTicketHistoryItem;
|
|
201
|
+
exports.setClientStyling = setClientStyling;
|
|
202
|
+
exports.setClientStylingURL = setClientStylingURL;
|
|
203
|
+
exports.setStreamStyling = setStreamStyling;
|
|
@@ -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-62dddc9a.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["lottery-
|
|
22
|
+
return index.bootstrapLazy([["lottery-button_6.cjs",[[1,"lottery-hakuna-ticket-history-item",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"historyItemName":[1,"history-item-name"],"historyItemImageSrc":[1,"history-item-image-src"],"ticketId":[8,"ticket-id"],"totalAmount":[1,"total-amount"],"date":[1],"time":[1],"selectedNumbers":[1,"selected-numbers"],"showSkeleton":[4,"show-skeleton"],"selectedNumbersCount":[2,"selected-numbers-count"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-selection-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"splitToken":[513,"split-token"],"selectionGroupId":[513,"selection-group-id"],"selectionGroupLabel":[513,"selection-group-label"],"type":[513],"selectedBulletTexts":[513,"selected-bullet-texts"],"maxSelectedCount":[514,"max-selected-count"],"maxDisplayBulletsCount":[514,"max-display-bullets-count"],"bulletTexts":[513,"bullet-texts"],"maxIntegerBulletText":[514,"max-integer-bullet-text"],"minIntegerBulletText":[514,"min-integer-bullet-text"],"bulletTextType":[513,"bullet-text-type"],"hasBorder":[516,"has-border"],"hasBackground":[516,"has-background"],"dialogTitle":[513,"dialog-title"],"dialogInputPlaceholder":[513,"dialog-input-placeholder"],"dialogConfig":[32],"inputInfo":[32]},[[0,"lotteryBulletClick","lotteryBulletClickHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}],[1,"lottery-button",{"variant":[513],"size":[513],"color":[513],"disabled":[516],"loading":[516],"text":[513],"mbSource":[513,"mb-source"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"ripples":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-selection",{"value":[520],"text":[513],"idx":[514],"type":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasBorder":[516,"has-border"],"hasBackground":[516,"has-background"],"deleteIconSvg":[513,"delete-icon-svg"],"deleteIconWidth":[513,"delete-icon-width"],"deleteIconHeight":[513,"delete-icon-height"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-dialog",{"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"visible":[516],"dialogTitle":[1,"dialog-title"],"width":[1],"closable":[4],"mask":[4],"maskClosable":[4,"mask-closable"],"animationDuration":[2,"animation-duration"],"fullscreen":[4],"showFooter":[4,"show-footer"],"showCancelBtn":[4,"show-cancel-btn"],"language":[513],"translationUrl":[520,"translation-url"],"dialogClass":[1,"dialog-class"],"dialogStyle":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.lottery-hakuna-ticket-history-item__container {
|
|
6
2
|
display: flex;
|
|
7
3
|
padding: var(--lottery-hakuna-ticket-history-item-container-padding, 20px);
|
|
@@ -10,10 +6,10 @@
|
|
|
10
6
|
gap: var(--lottery-hakuna-ticket-history-item-container-gap, 16px);
|
|
11
7
|
border-radius: var(--lottery-hakuna-ticket-history-item-container-border-radius, 12px);
|
|
12
8
|
border: 1px solid transparent;
|
|
13
|
-
|
|
9
|
+
min-width: var(--lottery-hakuna-ticket-history-item-container-min-width, 200px);
|
|
14
10
|
background-origin: border-box;
|
|
15
11
|
background-clip: padding-box, border-box;
|
|
16
|
-
background-image: linear-gradient(var(--
|
|
12
|
+
background-image: linear-gradient(var(--emw-hakuna-bg-secondary, #120505), var(--emw-hakuna-bg-secondary, #120505)), linear-gradient(to top left, var(--emw-hakuna-color-primary, #c52217) var(--lottery-hakuna-ticket-history-item-border-gradient-start-stop, 22%), var(--emw-hakuna-bg-primary, #2c2525) var(--lottery-hakuna-ticket-history-item-border-gradient-end-stop, 68%));
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
.lottery-hakuna-ticket-history-item__top {
|
|
@@ -45,7 +41,7 @@
|
|
|
45
41
|
.lottery-hakuna-ticket-history-item__details {
|
|
46
42
|
display: flex;
|
|
47
43
|
gap: var(--lottery-hakuna-ticket-history-item-details-gap, 13px);
|
|
48
|
-
color: var(--
|
|
44
|
+
color: var(--emw-hakuna-text-secondary, #b4a5a5);
|
|
49
45
|
font-size: var(--lottery-hakuna-ticket-history-item-details-font-size, 10px);
|
|
50
46
|
font-style: normal;
|
|
51
47
|
font-weight: var(--lottery-hakuna-ticket-history-item-details-font-weight, 700);
|
|
@@ -72,7 +68,7 @@
|
|
|
72
68
|
flex: 1;
|
|
73
69
|
display: flex;
|
|
74
70
|
align-items: flex-start;
|
|
75
|
-
gap: var(--lottery-hakuna-ticket-history-item-numbers-wrapper-gap,
|
|
71
|
+
gap: var(--lottery-hakuna-ticket-history-item-numbers-wrapper-gap, 8px);
|
|
76
72
|
box-shadow: var(--lottery-hakuna-ticket-history-item-numbers-wrapper-box-shadow, 0 1px 2px 0 rgba(0, 0, 0, 0.25));
|
|
77
73
|
}
|
|
78
74
|
|
|
@@ -83,9 +79,15 @@
|
|
|
83
79
|
font-style: normal;
|
|
84
80
|
font-weight: var(--lottery-hakuna-ticket-history-item-date-wrapper-font-weight, 400);
|
|
85
81
|
line-height: var(--lottery-hakuna-ticket-history-item-date-wrapper-line-height, 125%);
|
|
86
|
-
|
|
82
|
+
min-width: var(--lottery-hakuna-ticket-history-item-date-wrapper-min-width, 70px);
|
|
83
|
+
max-width: var(--lottery-hakuna-ticket-history-item-date-wrapper-max-width, 100px);
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
lottery-selection-group {
|
|
90
87
|
width: 100%;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
ui-skeleton {
|
|
91
|
+
--emw-skeleton-primary-color: #414141;
|
|
92
|
+
--emw-skeleton-secondary-color: #2f2929;
|
|
91
93
|
}
|