@everymatrix/lottery-tipping-entrance 1.87.28 → 1.87.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_19.cjs.entry.js +790 -524
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lottery-tipping-entrance-9ccbd01c.js → lottery-tipping-entrance-4ba11232.js} +19 -6
- package/dist/cjs/lottery-tipping-entrance.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -1
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +9 -7
- package/dist/collection/models/index.js +4 -1
- package/dist/collection/utils/utils.js +7 -0
- package/dist/esm/draw-selection_19.entry.js +792 -526
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lottery-tipping-entrance-1da12caf.js → lottery-tipping-entrance-565275ea.js} +19 -6
- package/dist/esm/lottery-tipping-entrance.js +1 -1
- package/dist/lottery-tipping-entrance/draw-selection_19.entry.js +2 -2
- package/dist/lottery-tipping-entrance/index.esm.js +1 -1
- package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-1da12caf.js → lottery-tipping-entrance-565275ea.js} +29 -29
- package/dist/lottery-tipping-entrance/lottery-tipping-entrance.esm.js +1 -1
- package/dist/types/models/index.d.ts +5 -1
- package/dist/types/utils/utils.d.ts +2 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const lotteryTippingEntrance = require('./lottery-tipping-entrance-
|
|
5
|
+
const lotteryTippingEntrance = require('./lottery-tipping-entrance-4ba11232.js');
|
|
6
6
|
require('./index-2a5f420f.js');
|
|
7
7
|
|
|
8
8
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
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\"],\"dialogClass\":[1,\"dialog-class\"],\"dialogStyle\":[16]},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);
|
|
11
|
+
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],\"drawSubmitAvailable\":[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-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"startTime\":[1,\"start-time\"],\"bannerTitle\":[1,\"banner-title\"],\"turnover\":[1],\"layout\":[1],\"formattedTime\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"startTime\":[\"handleTimeChange\"],\"stopTime\":[\"handleTimeChange\"]}],[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,\"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\"],\"dialogClass\":[1,\"dialog-class\"],\"dialogStyle\":[16]},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);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/{lottery-tipping-entrance-9ccbd01c.js → lottery-tipping-entrance-4ba11232.js}
RENAMED
|
@@ -9231,6 +9231,11 @@ function validateTimezone(_hours, minutes) {
|
|
|
9231
9231
|
return minutes >= 0 && minutes <= 59;
|
|
9232
9232
|
}
|
|
9233
9233
|
|
|
9234
|
+
var DrawStatus;
|
|
9235
|
+
(function (DrawStatus) {
|
|
9236
|
+
DrawStatus["OPEN"] = "OPEN";
|
|
9237
|
+
})(DrawStatus || (DrawStatus = {}));
|
|
9238
|
+
|
|
9234
9239
|
const isMobile = (userAgent) => {
|
|
9235
9240
|
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
9236
9241
|
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
@@ -9334,6 +9339,12 @@ function thousandSeparator(value) {
|
|
|
9334
9339
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
9335
9340
|
return parts.join('.');
|
|
9336
9341
|
}
|
|
9342
|
+
function checkDrawAvailable(currentDraw = {}) {
|
|
9343
|
+
if (currentDraw && currentDraw.id && currentDraw.status === DrawStatus.OPEN) {
|
|
9344
|
+
return true;
|
|
9345
|
+
}
|
|
9346
|
+
return false;
|
|
9347
|
+
}
|
|
9337
9348
|
|
|
9338
9349
|
async function fetchGameInfo(endpoint, gameId) {
|
|
9339
9350
|
try {
|
|
@@ -9490,10 +9501,12 @@ const LotteryTippingEntrance = class {
|
|
|
9490
9501
|
this.isLoading = true;
|
|
9491
9502
|
const gameInfo = await fetchGameInfo(this.endpoint, this.gameId);
|
|
9492
9503
|
this.gameInfo = gameInfo || {};
|
|
9493
|
-
this.
|
|
9494
|
-
this.
|
|
9495
|
-
this.
|
|
9496
|
-
|
|
9504
|
+
this.drawId = (_a = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _a === void 0 ? void 0 : _a.id;
|
|
9505
|
+
this.playTypes = (_c = (_b = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _b === void 0 ? void 0 : _b.poolGame) === null || _c === void 0 ? void 0 : _c.playTypes;
|
|
9506
|
+
this.bettingTypes = (_e = (_d = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _d === void 0 ? void 0 : _d.poolGame) === null || _e === void 0 ? void 0 : _e.bettingTypes;
|
|
9507
|
+
if (checkDrawAvailable(gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw)) {
|
|
9508
|
+
this.date = (_f = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _f === void 0 ? void 0 : _f.date;
|
|
9509
|
+
}
|
|
9497
9510
|
this.fetchSaleStatisticsHandler();
|
|
9498
9511
|
}
|
|
9499
9512
|
catch (e) {
|
|
@@ -9533,9 +9546,9 @@ const LotteryTippingEntrance = class {
|
|
|
9533
9546
|
this.fetchSaleStatisticsHandler();
|
|
9534
9547
|
}
|
|
9535
9548
|
render() {
|
|
9536
|
-
return (index.h("div", { key: '
|
|
9549
|
+
return (index.h("div", { key: '5d5ba179018fb00f1280961ca33daf1e48a87758', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (index.h("div", { key: '09951f94a74d109e8a2c36e83aeedfccd3de7910', class: "select-draw-page" }, index.h("div", { key: '5ff1aeadc53d98e871d81d7003b10b998bed1e0c', class: "lottery-tipping-entrance__header" }, index.h("div", { key: 'cd596bcf69cbedc53115ae4a99277e7861467658', class: "header" }, index.h("div", { key: '65848819703153c17b5135e86bc17157b3cac3b7', class: "header-logo" }, this.logoUrl && index.h("img", { key: '7edf70f0d7816e169fe92be60bc98f8c0f145589', class: "logo", src: this.logoUrl })), index.h("div", { key: '943228b55f3e8f025bd11f7ae86d74ef39df7788', class: "header-btns" }, index.h("div", { key: '1e097093d6ddf6b73be527852f718e6aa930e1c4', class: "header-btns--left" }, index.h("slot", { key: '749a1d337fb5789a01ebb32043fedabc04918174', name: "backGameSelectionBtn" })), index.h("div", { key: '4fee38dcccd498f7cc1ed9ed2cd6d6523db1a160', class: "header-btns--right" }, index.h("slot", { key: '1519cffab78a78e97d3dd9afb76fbc7a5f114c68', name: "themeBtn" }), index.h("slot", { key: '1e7c807b098396dae7c6c6fb155ece7fa40a5a97', name: "logoutBtn" })))), index.h("div", { key: 'ca978cf5d141383fcc0cbcfcdac852e5030b4389', class: "tabs-wrap" }, index.h("vaadin-tabs", { key: '642d8cc1ac7533564866e31619308c86b8fb038f', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
|
|
9537
9550
|
this.selectedTabIndex = e.detail.value;
|
|
9538
|
-
} }, index.h("vaadin-tab", { key: '
|
|
9551
|
+
} }, index.h("vaadin-tab", { key: 'b6ceb4d523f30488a301a3a00ce9aedafeb5a1c4', value: "0" }, translate('draws', this.language)), index.h("vaadin-tab", { key: '1c0e0f69295444f7688bfe32baf7b969bd4ecb38', value: "1" }, translate('latestResults', this.language)), index.h("vaadin-tab", { key: '00326a6a768aea216351e65a91a18d7d278a830f', value: "2" }, translate('instruction', this.language))))), index.h("div", { key: 'f0f84369f23cd1e7bf573f777641b388e25c5cb5', class: "tabs-content" }, this.selectedTabIndex === 0 && (index.h("draw-selection", { key: 'bbab2178477a99bb9b5f131e72ca8c005d59ffc8', 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 && (index.h("lottery-tipping-latest-result", { key: '93737f69e968989eb619a59930c56ebee4c28d04', 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 && (index.h("div", { key: '49eebad8825c2a39a6bde2ebdc41ab1b11aca6eb', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (index.h("lottery-tipping-page", { key: '58f1f31cddc08bf178e146c02f7c1d6076f9eac0', 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 }, index.h("slot", { key: '41689e6c984e427342bd724bde81e6a4b58ba3fa', name: "backBtn", slot: "backBtn" }), index.h("slot", { key: '6cf0c472fad94360ca6884850c5dbc3b4b6ebbfa', name: "themeBtn", slot: "themeBtn" }), index.h("slot", { key: 'eeb8426b786dbf3adede474df0846115d285a9fd', name: "logoutBtn", slot: "logoutBtn" })))));
|
|
9539
9552
|
}
|
|
9540
9553
|
static get assetsDirs() { return ["static"]; }
|
|
9541
9554
|
static get watchers() { return {
|
|
@@ -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_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\"],\"dialogClass\":[1,\"dialog-class\"],\"dialogStyle\":[16]},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],\"drawSubmitAvailable\":[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-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"startTime\":[1,\"start-time\"],\"bannerTitle\":[1,\"banner-title\"],\"turnover\":[1],\"layout\":[1],\"formattedTime\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"startTime\":[\"handleTimeChange\"],\"stopTime\":[\"handleTimeChange\"]}],[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,\"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\"],\"dialogClass\":[1,\"dialog-class\"],\"dialogStyle\":[16]},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;
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
"general-multi-select"
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "@everymatrix/lottery-banner",
|
|
20
|
+
"tags": [
|
|
21
|
+
"lottery-banner"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
18
24
|
{
|
|
19
25
|
"name": "@everymatrix/lottery-button",
|
|
20
26
|
"tags": [
|
|
@@ -57,7 +63,6 @@
|
|
|
57
63
|
{
|
|
58
64
|
"name": "@everymatrix/lottery-tipping-ticket-controller",
|
|
59
65
|
"tags": [
|
|
60
|
-
"lottery-tipping-ticket-banner",
|
|
61
66
|
"lottery-tipping-ticket-controller"
|
|
62
67
|
]
|
|
63
68
|
},
|
|
@@ -5,7 +5,7 @@ import "../../../../../../../libs/vaadin-facade/index";
|
|
|
5
5
|
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
6
6
|
import { fetchGameInfo, fetchSaleStatistics } from "../../utils/api";
|
|
7
7
|
import { getTranslations, translate } from "../../utils/locale.utils";
|
|
8
|
-
import { thousandSeparator } from "../../utils/utils";
|
|
8
|
+
import { checkDrawAvailable, thousandSeparator } from "../../utils/utils";
|
|
9
9
|
export class LotteryTippingEntrance {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.mbSource = undefined;
|
|
@@ -70,10 +70,12 @@ export class LotteryTippingEntrance {
|
|
|
70
70
|
this.isLoading = true;
|
|
71
71
|
const gameInfo = await fetchGameInfo(this.endpoint, this.gameId);
|
|
72
72
|
this.gameInfo = gameInfo || {};
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
|
|
73
|
+
this.drawId = (_a = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _a === void 0 ? void 0 : _a.id;
|
|
74
|
+
this.playTypes = (_c = (_b = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _b === void 0 ? void 0 : _b.poolGame) === null || _c === void 0 ? void 0 : _c.playTypes;
|
|
75
|
+
this.bettingTypes = (_e = (_d = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _d === void 0 ? void 0 : _d.poolGame) === null || _e === void 0 ? void 0 : _e.bettingTypes;
|
|
76
|
+
if (checkDrawAvailable(gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw)) {
|
|
77
|
+
this.date = (_f = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _f === void 0 ? void 0 : _f.date;
|
|
78
|
+
}
|
|
77
79
|
this.fetchSaleStatisticsHandler();
|
|
78
80
|
}
|
|
79
81
|
catch (e) {
|
|
@@ -113,9 +115,9 @@ export class LotteryTippingEntrance {
|
|
|
113
115
|
this.fetchSaleStatisticsHandler();
|
|
114
116
|
}
|
|
115
117
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
118
|
+
return (h("div", { key: '5d5ba179018fb00f1280961ca33daf1e48a87758', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: '09951f94a74d109e8a2c36e83aeedfccd3de7910', class: "select-draw-page" }, h("div", { key: '5ff1aeadc53d98e871d81d7003b10b998bed1e0c', class: "lottery-tipping-entrance__header" }, h("div", { key: 'cd596bcf69cbedc53115ae4a99277e7861467658', class: "header" }, h("div", { key: '65848819703153c17b5135e86bc17157b3cac3b7', class: "header-logo" }, this.logoUrl && h("img", { key: '7edf70f0d7816e169fe92be60bc98f8c0f145589', class: "logo", src: this.logoUrl })), h("div", { key: '943228b55f3e8f025bd11f7ae86d74ef39df7788', class: "header-btns" }, h("div", { key: '1e097093d6ddf6b73be527852f718e6aa930e1c4', class: "header-btns--left" }, h("slot", { key: '749a1d337fb5789a01ebb32043fedabc04918174', name: "backGameSelectionBtn" })), h("div", { key: '4fee38dcccd498f7cc1ed9ed2cd6d6523db1a160', class: "header-btns--right" }, h("slot", { key: '1519cffab78a78e97d3dd9afb76fbc7a5f114c68', name: "themeBtn" }), h("slot", { key: '1e7c807b098396dae7c6c6fb155ece7fa40a5a97', name: "logoutBtn" })))), h("div", { key: 'ca978cf5d141383fcc0cbcfcdac852e5030b4389', class: "tabs-wrap" }, h("vaadin-tabs", { key: '642d8cc1ac7533564866e31619308c86b8fb038f', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
|
|
117
119
|
this.selectedTabIndex = e.detail.value;
|
|
118
|
-
} }, h("vaadin-tab", { key: '
|
|
120
|
+
} }, h("vaadin-tab", { key: 'b6ceb4d523f30488a301a3a00ce9aedafeb5a1c4', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: '1c0e0f69295444f7688bfe32baf7b969bd4ecb38', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '00326a6a768aea216351e65a91a18d7d278a830f', value: "2" }, translate('instruction', this.language))))), h("div", { key: 'f0f84369f23cd1e7bf573f777641b388e25c5cb5', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: 'bbab2178477a99bb9b5f131e72ca8c005d59ffc8', 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: '93737f69e968989eb619a59930c56ebee4c28d04', 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: '49eebad8825c2a39a6bde2ebdc41ab1b11aca6eb', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: '58f1f31cddc08bf178e146c02f7c1d6076f9eac0', 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: '41689e6c984e427342bd724bde81e6a4b58ba3fa', name: "backBtn", slot: "backBtn" }), h("slot", { key: '6cf0c472fad94360ca6884850c5dbc3b4b6ebbfa', name: "themeBtn", slot: "themeBtn" }), h("slot", { key: 'eeb8426b786dbf3adede474df0846115d285a9fd', name: "logoutBtn", slot: "logoutBtn" })))));
|
|
119
121
|
}
|
|
120
122
|
static get is() { return "lottery-tipping-entrance"; }
|
|
121
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { format as _format, parseISO } from "date-fns";
|
|
2
|
+
import { DrawStatus } from "../models";
|
|
2
3
|
export const isMobile = (userAgent) => {
|
|
3
4
|
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
4
5
|
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
@@ -102,3 +103,9 @@ export function thousandSeparator(value) {
|
|
|
102
103
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
103
104
|
return parts.join('.');
|
|
104
105
|
}
|
|
106
|
+
export function checkDrawAvailable(currentDraw = {}) {
|
|
107
|
+
if (currentDraw && currentDraw.id && currentDraw.status === DrawStatus.OPEN) {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
return false;
|
|
111
|
+
}
|