@everymatrix/lottery-tipping-entrance 1.86.27 → 1.86.29
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/{draw-selection_18.cjs.entry.js → draw-selection_19.cjs.entry.js} +361 -125
- package/dist/cjs/{index-440d090f.js → index-2a5f420f.js} +3 -2
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{lottery-tipping-entrance-59f7f53d.js → lottery-tipping-entrance-8eabb31c.js} +258 -258
- package/dist/cjs/lottery-tipping-entrance.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +9 -43
- package/dist/collection/utils/api.js +1 -1
- package/dist/esm/{draw-selection_18.entry.js → draw-selection_19.entry.js} +362 -127
- package/dist/esm/{index-a57b04e7.js → index-c22bb7d4.js} +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{lottery-tipping-entrance-9e7c2d9a.js → lottery-tipping-entrance-9d9230ea.js} +258 -258
- package/dist/esm/lottery-tipping-entrance.js +3 -3
- package/dist/lottery-tipping-entrance/draw-selection_19.entry.js +1 -0
- package/dist/lottery-tipping-entrance/{index-a57b04e7.js → index-c22bb7d4.js} +2 -2
- package/dist/lottery-tipping-entrance/index.esm.js +1 -1
- package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-9e7c2d9a.js → lottery-tipping-entrance-9d9230ea.js} +5 -5
- package/dist/lottery-tipping-entrance/lottery-tipping-entrance.esm.js +1 -1
- package/dist/types/components/lottery-tipping-entrance/lottery-tipping-entrance.d.ts +0 -5
- package/dist/types/components.d.ts +0 -10
- package/package.json +1 -1
- package/dist/lottery-tipping-entrance/draw-selection_18.entry.js +0 -1
|
@@ -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-2a5f420f.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(JSON.parse("[[\"draw-selection_18.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32],\"gameInfo\":[32],\"saleStatisticsInfo\":[32],\"handleClosePoolGamePage\":[64]},[[0,\"selectDraw\",\"handleSelectDraw\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"endpoint\":[\"onPropsChange\"],\"gameId\":[\"onPropsChange\"]}],[1,\"lottery-tipping-page\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-latest-result\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"hasDrawDates\":[32],\"lastestDate\":[32],\"drawList\":[32],\"curDrawItem\":[32],\"curDrawItemIdx\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32],\"curPrizes\":[32],\"curPrizeMap\":[32],\"curTurnOver\":[32],\"isLoading\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"vendorGameId\":[32]},[[0,\"changeDate\",\"handleChangeDate\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"],\"turnover\":[1]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"saleStatisticsInfo\":[32],\"currentStake\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-calendar\",{\"date\":[1],\"highLightDates\":[16],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"weeks\":[32],\"days\":[32],\"alterDate\":[32],\"curDate\":[32],\"recordInfo\":[32],\"showCalendar\":[32]},null,{\"date\":[\"handleDateChange\"]}],[1,\"lottery-tipping-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-button\",{\"variant\":[513],\"size\":[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-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1],\"formattedTurnover\":[1,\"formatted-turnover\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},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\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-bet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"sessionId\":[513,\"session-id\"],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"drawId\":[513,\"draw-id\"],\"totalPages\":[1538,\"total-pages\"],\"minTotalPages\":[514,\"min-total-pages\"],\"maxTotalPages\":[514,\"max-total-pages\"],\"mode\":[513],\"readPretty\":[516,\"read-pretty\"],\"defaultBulletConfigLineGroup\":[513,\"default-bullet-config-line-group\"],\"translationData\":[32],\"clientStylingUrlContent\":[32],\"bulletConfigLineGroup\":[32],\"currentPage\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"dialogConfig\":[32],\"ticketDataSource\":[32],\"resetBulletConfig\":[64],\"getData\":[64]},[[0,\"lotteryTippingBulletGroupToggle\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"translationUrl\":[\"handleNewTranslations\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"fetchMatchData\"],\"sessionId\":[\"fetchMatchData\"],\"drawId\":[\"fetchMatchData\"],\"defaultBulletConfigLineGroup\":[\"fetchMatchData\"],\"currentPage\":[\"handleCurrentPageChange\"]}],[1,\"lottery-tipping-bullet-group\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[513,\"position-idx\"],\"theme\":[513],\"mode\":[513],\"bulletConfigContent\":[513,\"bullet-config-content\"]},[[0,\"lotteryTippingBulletToggle\",\"lotteryTippingBulletSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-tooltip\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"position\":[1],\"delay\":[2],\"isVisible\":[32],\"_tooltipId\":[32]},[[1,\"mouseenter\",\"handleMouseEnterOrFocus\"],[0,\"focusin\",\"handleMouseEnterOrFocus\"],[1,\"mouseleave\",\"handleMouseLeaveOrBlur\"],[0,\"focusout\",\"handleMouseLeaveOrBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-bullet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[514,\"position-idx\"],\"theme\":[513],\"value\":[513],\"disabled\":[516],\"isSelected\":[516,\"is-selected\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"draw-selection_19.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32],\"gameInfo\":[32],\"saleStatisticsInfo\":[32],\"handleClosePoolGamePage\":[64]},[[0,\"selectDraw\",\"handleSelectDraw\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"endpoint\":[\"onPropsChange\"],\"gameId\":[\"onPropsChange\"]}],[1,\"lottery-tipping-page\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-latest-result\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"hasDrawDates\":[32],\"lastestDate\":[32],\"drawList\":[32],\"curDrawItem\":[32],\"curDrawItemIdx\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32],\"curPrizes\":[32],\"curPrizeMap\":[32],\"curTurnOver\":[32],\"isLoading\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"vendorGameId\":[32],\"isLoadingTurnover\":[32]},[[0,\"changeDate\",\"handleChangeDate\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"],\"turnover\":[1]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"saleStatisticsInfo\":[32],\"currentStake\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-calendar\",{\"date\":[1],\"highLightDates\":[16],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"weeks\":[32],\"days\":[32],\"alterDate\":[32],\"curDate\":[32],\"recordInfo\":[32],\"showCalendar\":[32]},null,{\"date\":[\"handleDateChange\"]}],[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-tipping-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1],\"formattedTurnover\":[1,\"formatted-turnover\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},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\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-bet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"sessionId\":[513,\"session-id\"],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"drawId\":[513,\"draw-id\"],\"totalPages\":[1538,\"total-pages\"],\"minTotalPages\":[514,\"min-total-pages\"],\"maxTotalPages\":[514,\"max-total-pages\"],\"mode\":[513],\"readPretty\":[516,\"read-pretty\"],\"defaultBulletConfigLineGroup\":[513,\"default-bullet-config-line-group\"],\"translationData\":[32],\"clientStylingUrlContent\":[32],\"bulletConfigLineGroup\":[32],\"currentPage\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"dialogConfig\":[32],\"ticketDataSource\":[32],\"resetBulletConfig\":[64],\"getData\":[64]},[[0,\"lotteryTippingBulletGroupToggle\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"translationUrl\":[\"handleNewTranslations\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"fetchMatchData\"],\"sessionId\":[\"fetchMatchData\"],\"drawId\":[\"fetchMatchData\"],\"defaultBulletConfigLineGroup\":[\"fetchMatchData\"],\"currentPage\":[\"handleCurrentPageChange\"]}],[1,\"lottery-tipping-bullet-group\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[513,\"position-idx\"],\"theme\":[513],\"mode\":[513],\"bulletConfigContent\":[513,\"bullet-config-content\"]},[[0,\"lotteryTippingBulletToggle\",\"lotteryTippingBulletSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-tooltip\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"position\":[1],\"delay\":[2],\"isVisible\":[32],\"_tooltipId\":[32]},[[1,\"mouseenter\",\"handleMouseEnterOrFocus\"],[0,\"focusin\",\"handleMouseEnterOrFocus\"],[1,\"mouseleave\",\"handleMouseLeaveOrBlur\"],[0,\"focusout\",\"handleMouseLeaveOrBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-bullet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[514,\"position-idx\"],\"theme\":[513],\"value\":[513],\"disabled\":[516],\"isSelected\":[516,\"is-selected\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -14,8 +14,6 @@ export class LotteryTippingEntrance {
|
|
|
14
14
|
this.translationUrl = '';
|
|
15
15
|
this.language = 'en';
|
|
16
16
|
this.endpoint = undefined;
|
|
17
|
-
this.endpointLotteryBe = undefined;
|
|
18
|
-
this.endpointTicket = undefined;
|
|
19
17
|
this.gameId = undefined;
|
|
20
18
|
this.playerId = undefined;
|
|
21
19
|
this.sessionId = undefined;
|
|
@@ -86,8 +84,8 @@ export class LotteryTippingEntrance {
|
|
|
86
84
|
}
|
|
87
85
|
}
|
|
88
86
|
get formattedTurnover() {
|
|
89
|
-
var _a, _b;
|
|
90
|
-
const turnover = (_b = (_a = this.saleStatisticsInfo) === null || _a === void 0 ? void 0 : _a.wagerSegment) === null || _b === void 0 ? void 0 : _b.totalSalesCrossDraw;
|
|
87
|
+
var _a, _b, _c;
|
|
88
|
+
const turnover = (_c = (_b = (_a = this.saleStatisticsInfo) === null || _a === void 0 ? void 0 : _a.wagerSegment) === null || _b === void 0 ? void 0 : _b.totalSalesCrossDraw) !== null && _c !== void 0 ? _c : 0;
|
|
91
89
|
const unit = '€';
|
|
92
90
|
if (turnover === null || turnover === undefined)
|
|
93
91
|
return '';
|
|
@@ -100,10 +98,12 @@ export class LotteryTippingEntrance {
|
|
|
100
98
|
this.showSelectDrawPage = false;
|
|
101
99
|
}
|
|
102
100
|
async fetchSaleStatisticsHandler() {
|
|
103
|
-
var _a;
|
|
101
|
+
var _a, _b;
|
|
102
|
+
if (!(this.endpoint && ((_a = this.gameInfo) === null || _a === void 0 ? void 0 : _a.type) && this.drawId))
|
|
103
|
+
return;
|
|
104
104
|
this.saleStatisticsInfo = await fetchSaleStatistics({
|
|
105
|
-
endpoint: this.
|
|
106
|
-
gameId: (
|
|
105
|
+
endpoint: this.endpoint,
|
|
106
|
+
gameId: (_b = this.gameInfo) === null || _b === void 0 ? void 0 : _b.type,
|
|
107
107
|
drawId: this.drawId
|
|
108
108
|
});
|
|
109
109
|
}
|
|
@@ -113,9 +113,9 @@ export class LotteryTippingEntrance {
|
|
|
113
113
|
this.fetchSaleStatisticsHandler();
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: 'aa7b1c895497459fb3b114a1041e39bcd0069ea6', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: '5b5e0a63fdf411456ae9e9492796232448636991', class: "select-draw-page" }, h("div", { key: 'da77a15373fde40c4eb89b3309922fdb4a669822', class: "lottery-tipping-entrance__header" }, h("div", { key: '905b3206dcc7ca0c27b036f2b3d9ae7a617c7823', class: "header" }, h("div", { key: 'a5fcae4aae3597705e729df539c0ea484430715a', class: "header-logo" }, this.logoUrl && h("img", { key: '97e24a3a63425c76b74a2c201c0a8987b70ee48d', class: "logo", src: this.logoUrl })), h("div", { key: 'ed9df86871e5631c88fab8446f5818273d7fadb8', class: "header-btns" }, h("div", { key: '30e0825117e64769df31308ad43a1d9c13dfeec4', class: "header-btns--left" }, h("slot", { key: '936d6bf4d0ee7919e0b68cc98a07a33b0c2132df', name: "backGameSelectionBtn" })), h("div", { key: '5557754fc3cb3a3646aea4064f365c6250ced758', class: "header-btns--right" }, h("slot", { key: '42f56cbfdfb12008e3ff24322fbf1f3258d787bb', name: "themeBtn" }), h("slot", { key: '7e8c76a67ed05779390e794a35f8b7f27d5fa254', name: "logoutBtn" })))), h("div", { key: '62560e9add64fa9a2ad498515808f0e58c1b5d6e', class: "tabs-wrap" }, h("vaadin-tabs", { key: 'af2ca73b492e7ab2af0a65b655d38a0e8740ba6d', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
|
|
117
117
|
this.selectedTabIndex = e.detail.value;
|
|
118
|
-
} }, h("vaadin-tab", { key: '
|
|
118
|
+
} }, h("vaadin-tab", { key: 'be38c70ecbe3cdb5f449205543207f1c2584b65f', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: 'c107a58001695e75443dca554e0868368f1cea22', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '929adba899c4454a363bbaeaf2762ae71fb3a43a', value: "2" }, translate('instruction', this.language))))), h("div", { key: '5c4eefda7efaa07b29eb28275b5c3dc3c33f63ba', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: '1f50932fd1941b3c88c102ef51466647ccd3ea5d', date: this.date, turnover: this.formattedTurnover, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: '7c7770bb53e49ddd7a13c058de2841afd2a01397', endpoint: this.endpoint, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: '4c55e47c560bdd8d0474bded38b9cc48adef7b49', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: '70c99b5c4a1ef2e22b5c0c5315bc80cef3ad771c', endpoint: this.endpoint, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language, "logo-url": this.logoUrl }, h("slot", { key: '73bf70a41dd234728f23e948cc5d4487949637fc', name: "backBtn", slot: "backBtn" }), h("slot", { key: '9ef236832aedc13e0f1cc9b935d7304e47296394', name: "themeBtn", slot: "themeBtn" }), h("slot", { key: '7fe2b9b1d8b44c601f58619151b6608d4c8f09f2', name: "logoutBtn", slot: "logoutBtn" })))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "lottery-tipping-entrance"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -236,40 +236,6 @@ export class LotteryTippingEntrance {
|
|
|
236
236
|
"attribute": "endpoint",
|
|
237
237
|
"reflect": true
|
|
238
238
|
},
|
|
239
|
-
"endpointLotteryBe": {
|
|
240
|
-
"type": "string",
|
|
241
|
-
"mutable": false,
|
|
242
|
-
"complexType": {
|
|
243
|
-
"original": "string",
|
|
244
|
-
"resolved": "string",
|
|
245
|
-
"references": {}
|
|
246
|
-
},
|
|
247
|
-
"required": false,
|
|
248
|
-
"optional": false,
|
|
249
|
-
"docs": {
|
|
250
|
-
"tags": [],
|
|
251
|
-
"text": ""
|
|
252
|
-
},
|
|
253
|
-
"attribute": "endpoint-lottery-be",
|
|
254
|
-
"reflect": true
|
|
255
|
-
},
|
|
256
|
-
"endpointTicket": {
|
|
257
|
-
"type": "string",
|
|
258
|
-
"mutable": false,
|
|
259
|
-
"complexType": {
|
|
260
|
-
"original": "string",
|
|
261
|
-
"resolved": "string",
|
|
262
|
-
"references": {}
|
|
263
|
-
},
|
|
264
|
-
"required": false,
|
|
265
|
-
"optional": false,
|
|
266
|
-
"docs": {
|
|
267
|
-
"tags": [],
|
|
268
|
-
"text": "EndpointTicket URL for the source of ticket data"
|
|
269
|
-
},
|
|
270
|
-
"attribute": "endpoint-ticket",
|
|
271
|
-
"reflect": true
|
|
272
|
-
},
|
|
273
239
|
"gameId": {
|
|
274
240
|
"type": "string",
|
|
275
241
|
"mutable": false,
|
|
@@ -11,7 +11,7 @@ export async function fetchGameInfo(endpoint, gameId) {
|
|
|
11
11
|
}
|
|
12
12
|
export async function fetchSaleStatistics({ endpoint, gameId, drawId }) {
|
|
13
13
|
try {
|
|
14
|
-
const res = await fetchRequest(`${endpoint}/
|
|
14
|
+
const res = await fetchRequest(`${endpoint}/games/${gameId}/draws/${drawId}/saleStatistics`);
|
|
15
15
|
return res;
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|