@everymatrix/lottery-game-page 1.87.28 → 1.87.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/general-multi-select_16.cjs.entry.js +466 -69
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-page.cjs.js +1 -1
- package/dist/collection/components/lottery-game-page/lottery-game-page.js +50 -68
- package/dist/collection/models/index.js +10 -0
- package/dist/collection/utils/api.js +33 -0
- package/dist/collection/utils/locale.utils.js +7 -5
- package/dist/collection/utils/utils.js +26 -0
- package/dist/esm/general-multi-select_16.entry.js +466 -69
- package/dist/esm/loader.js +1 -1
- package/dist/esm/lottery-game-page.js +1 -1
- package/dist/lottery-game-page/general-multi-select_16.entry.js +25 -25
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/types/components/lottery-game-page/lottery-game-page.d.ts +17 -5
- package/dist/types/components.d.ts +9 -0
- package/dist/types/models/index.d.ts +106 -0
- package/dist/types/utils/api.d.ts +6 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./index-4dbc736a.js";export{s as setNonce}from"./index-4dbc736a.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,t={};return""!==l&&(t.resourcesUrl=new URL(".",l).href),e(t)})().then((async e=>(await t(),l(JSON.parse('[["general-multi-select_16",[[1,"lottery-game-page",{"endpoint":[513],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"language":[513],"backgroundUrl":[513,"background-url"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"tickets":[32],"mainTickets":[32],"secondaryTickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"daysRemaining":[32],"hoursRemaining":[32],"minutesRemaining":[32],"secondsRemaining":[32],"nextDate":[32],"isLoggedIn":[32],"loginModalVisible":[32],"isLoading":[32],"showSubmitError":[32],"submitError":[32],"showApiError":[32],"apiError":[32],"translationData":[32],"isSubscription":[32],"subscriptionParam":[32],"showSubscriptionError":[32],"subscriptionError":[32],"isSubscribed":[32],"isFetchingGame":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"],[0,"drawMultiplierChange","drawMultiplierChangeHandler"],[0,"lineMultiplierChange","lineMultiplierChangeHandler"],[0,"betTypeChange","betTypeChangeHandler"],[0,"subscriptionCompleted","handleSubscriptionReady"],[0,"subscriptionCheckChange","handleSubscriptionCheckChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"],"endpoint":["watchGameInfoChange"],"gameId":["watchGameInfoChange"]}],[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-ticket-controller",{"endpoint":[513],"ticketId":[514,"ticket-id"],"ticketDescription":[513,"ticket-description"],"gameId":[513,"game-id"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"numberOfGrids":[514,"number-of-grids"],"last":[516],"language":[513],"autoPick":[516,"auto-pick"],"resetButton":[516,"reset-button"],"totalControllers":[514,"total-controllers"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"]},[[0,"helperAccordionAction","helperAccordionActionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-subscription",{"translationUrl":[520,"translation-url"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"endpoint":[513],"language":[513],"gameName":[513,"game-name"],"isSubscribed":[32],"frequenceList":[32],"frequenceState":[32],"filterData":[32],"subscriptionCode":[32],"conditionId":[32],"paramId":[32],"conditionRule":[32],"paramRule":[32],"peroidRule":[32],"startDateRule":[32],"endDateRule":[32],"gameNameRule":[32],"ruleType":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-ticket",{"endpoint":[513],"gameId":[513,"game-id"],"numberOfGrids":[514,"number-of-grids"],"multipleDraws":[516,"multiple-draws"],"ticketId":[514,"ticket-id"],"resetButton":[516,"reset-button"],"autoPick":[516,"auto-pick"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"isLoading":[32],"hasErrors":[32],"ticketDone":[32],"isCustomSelect":[32],"amountInfo":[32],"stakeMultiplier":[32],"lineMultiplier":[32],"isCustomSelectStake":[32],"isCustomSelectDraw":[32],"isCustomSelectLine":[32],"drawMultiplier":[32],"secondarySelectionAllowed":[32],"partialQuickpickAvailable":[32],"boardsAllowed":[32],"tabIndex":[32],"groupType":[32],"playType":[32],"selectedPlayTypeId":[32],"maximumAllowed":[32],"numberRange":[32],"secondaryNumberRange":[32],"secondaryMaximumAllowed":[32],"minimumAllowed":[32],"secondaryMinimumAllowed":[32],"quickPicks":[32]},[[8,"click","checkForClickOutside"],[0,"gridFilled","gridFilledHandler"],[0,"gridClearAllEvent","handleGridClearAllEvent"],[4,"resetAllTicketSelection","toggleResetAllSeletion"]],{"lineMultiplier":["handleLineMultiplierChange"],"tabIndex":["handleTabIndexChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"mbSource":[1,"mb-source"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[1537,"client-styling-url"],"mbSource":[513,"mb-source"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[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,"helper-accordion",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"translationUrl":[520,"translation-url"],"showContent":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"tabContent":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as l}from"./index-4dbc736a.js";export{s as setNonce}from"./index-4dbc736a.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,t={};return""!==l&&(t.resourcesUrl=new URL(".",l).href),e(t)})().then((async e=>(await t(),l(JSON.parse('[["general-multi-select_16",[[1,"lottery-game-page",{"endpoint":[513],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"language":[513],"backgroundUrl":[513,"background-url"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"tickets":[32],"mainTickets":[32],"secondaryTickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"nextDate":[32],"isLoggedIn":[32],"loginModalVisible":[32],"isLoading":[32],"showSubmitError":[32],"submitError":[32],"showApiError":[32],"apiError":[32],"translationData":[32],"isSubscription":[32],"subscriptionParam":[32],"showSubscriptionError":[32],"subscriptionError":[32],"isSubscribed":[32],"isFetchingGame":[32],"drawSubmitAvailable":[32],"formattedTime":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"],[0,"drawMultiplierChange","drawMultiplierChangeHandler"],[0,"lineMultiplierChange","lineMultiplierChangeHandler"],[0,"betTypeChange","betTypeChangeHandler"],[0,"subscriptionCompleted","handleSubscriptionReady"],[0,"subscriptionCheckChange","handleSubscriptionCheckChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"translationUrl":["handleNewTranslations"],"endpoint":["watchGameInfoChange"],"gameId":["watchGameInfoChange"]}],[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-ticket-controller",{"endpoint":[513],"ticketId":[514,"ticket-id"],"ticketDescription":[513,"ticket-description"],"gameId":[513,"game-id"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"numberOfGrids":[514,"number-of-grids"],"last":[516],"language":[513],"autoPick":[516,"auto-pick"],"resetButton":[516,"reset-button"],"totalControllers":[514,"total-controllers"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"]},[[0,"helperAccordionAction","helperAccordionActionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-subscription",{"translationUrl":[520,"translation-url"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"endpoint":[513],"language":[513],"gameName":[513,"game-name"],"isSubscribed":[32],"frequenceList":[32],"frequenceState":[32],"filterData":[32],"subscriptionCode":[32],"conditionId":[32],"paramId":[32],"conditionRule":[32],"paramRule":[32],"peroidRule":[32],"startDateRule":[32],"endDateRule":[32],"gameNameRule":[32],"ruleType":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-ticket",{"endpoint":[513],"gameId":[513,"game-id"],"numberOfGrids":[514,"number-of-grids"],"multipleDraws":[516,"multiple-draws"],"ticketId":[514,"ticket-id"],"resetButton":[516,"reset-button"],"autoPick":[516,"auto-pick"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"isLoading":[32],"hasErrors":[32],"ticketDone":[32],"isCustomSelect":[32],"amountInfo":[32],"stakeMultiplier":[32],"lineMultiplier":[32],"isCustomSelectStake":[32],"isCustomSelectDraw":[32],"isCustomSelectLine":[32],"drawMultiplier":[32],"secondarySelectionAllowed":[32],"partialQuickpickAvailable":[32],"boardsAllowed":[32],"tabIndex":[32],"groupType":[32],"playType":[32],"selectedPlayTypeId":[32],"maximumAllowed":[32],"numberRange":[32],"secondaryNumberRange":[32],"secondaryMaximumAllowed":[32],"minimumAllowed":[32],"secondaryMinimumAllowed":[32],"quickPicks":[32]},[[8,"click","checkForClickOutside"],[0,"gridFilled","gridFilledHandler"],[0,"gridClearAllEvent","handleGridClearAllEvent"],[4,"resetAllTicketSelection","toggleResetAllSeletion"]],{"lineMultiplier":["handleLineMultiplierChange"],"tabIndex":["handleTabIndexChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"mbSource":[1,"mb-source"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[1537,"client-styling-url"],"mbSource":[513,"mb-source"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[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,"helper-accordion",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"translationUrl":[520,"translation-url"],"showContent":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"tabContent":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]]'),e))));
|
|
@@ -54,10 +54,6 @@ export declare class LotteryGamePage {
|
|
|
54
54
|
hasErrors: boolean;
|
|
55
55
|
totalAmount: number;
|
|
56
56
|
successVisible: boolean;
|
|
57
|
-
private daysRemaining;
|
|
58
|
-
private hoursRemaining;
|
|
59
|
-
private minutesRemaining;
|
|
60
|
-
private secondsRemaining;
|
|
61
57
|
private nextDate;
|
|
62
58
|
private isLoggedIn;
|
|
63
59
|
private loginModalVisible;
|
|
@@ -73,9 +69,26 @@ export declare class LotteryGamePage {
|
|
|
73
69
|
private subscriptionError;
|
|
74
70
|
private isSubscribed;
|
|
75
71
|
private isFetchingGame;
|
|
72
|
+
drawSubmitAvailable: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Formatted time for countdown
|
|
75
|
+
*/
|
|
76
|
+
formattedTime: {
|
|
77
|
+
start?: string;
|
|
78
|
+
nextIn?: string;
|
|
79
|
+
};
|
|
76
80
|
element: HTMLElement;
|
|
81
|
+
/**
|
|
82
|
+
* Event emitted when the back button is clicked
|
|
83
|
+
*/
|
|
77
84
|
goBackEvent: EventEmitter<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Event emitted when the lobby button is clicked
|
|
87
|
+
*/
|
|
78
88
|
goToLobbyEvent: EventEmitter<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Event emitted to reset all ticket selections
|
|
91
|
+
*/
|
|
79
92
|
resetAllTicketSelection: EventEmitter<void>;
|
|
80
93
|
private stylingContainer;
|
|
81
94
|
private stylingSubscription;
|
|
@@ -95,7 +108,6 @@ export declare class LotteryGamePage {
|
|
|
95
108
|
watchGameInfoChange(newValue: string, oldValue: string): void;
|
|
96
109
|
componentWillLoad(): Promise<any>;
|
|
97
110
|
componentDidLoad(): void;
|
|
98
|
-
countdownLogic(date: any): void;
|
|
99
111
|
disconnectedCallback(): void;
|
|
100
112
|
getGameDetails(): void;
|
|
101
113
|
calculateTotalAmount(): void;
|
|
@@ -107,8 +107,17 @@ declare namespace LocalJSX {
|
|
|
107
107
|
* Client custom styling via message bus
|
|
108
108
|
*/
|
|
109
109
|
"mbSource"?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Event emitted when the back button is clicked
|
|
112
|
+
*/
|
|
110
113
|
"onGoBackEvent"?: (event: LotteryGamePageCustomEvent<string>) => void;
|
|
114
|
+
/**
|
|
115
|
+
* Event emitted when the lobby button is clicked
|
|
116
|
+
*/
|
|
111
117
|
"onGoToLobbyEvent"?: (event: LotteryGamePageCustomEvent<string>) => void;
|
|
118
|
+
/**
|
|
119
|
+
* Event emitted to reset all ticket selections
|
|
120
|
+
*/
|
|
112
121
|
"onResetAllTicketSelection"?: (event: LotteryGamePageCustomEvent<void>) => void;
|
|
113
122
|
/**
|
|
114
123
|
* Player ID
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export declare enum DrawStatus {
|
|
2
|
+
OPEN = "OPEN"
|
|
3
|
+
}
|
|
4
|
+
export interface DrawInfo {
|
|
5
|
+
date: string;
|
|
6
|
+
id: string;
|
|
7
|
+
status: DrawStatus;
|
|
8
|
+
wagerAvailable: boolean;
|
|
9
|
+
wagerCloseTime: string;
|
|
10
|
+
wagerStartTime: string;
|
|
11
|
+
breakEndTime: string;
|
|
12
|
+
openTime: string;
|
|
13
|
+
closeTime: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SubmitTicketErrorDetail {
|
|
16
|
+
code?: string;
|
|
17
|
+
data?: string;
|
|
18
|
+
date?: string;
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SubmitTicketDrawResultDetail {
|
|
22
|
+
amount?: number;
|
|
23
|
+
currency?: string;
|
|
24
|
+
division?: number;
|
|
25
|
+
divisionDisplayName?: string;
|
|
26
|
+
draw_date?: string;
|
|
27
|
+
draw_id?: string;
|
|
28
|
+
players?: number;
|
|
29
|
+
shares?: number;
|
|
30
|
+
tickets?: number;
|
|
31
|
+
winningType?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SubmitTicketDrawResultWinningNumber {
|
|
34
|
+
drawType?: string;
|
|
35
|
+
numbers?: number[];
|
|
36
|
+
poolGameOutcomes?: string[][][];
|
|
37
|
+
secondaryNumbers?: number[];
|
|
38
|
+
tertiaryNumbers?: number[];
|
|
39
|
+
winningType?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface SubmitTicketDrawResult {
|
|
42
|
+
amount?: number;
|
|
43
|
+
currency?: string;
|
|
44
|
+
details?: SubmitTicketDrawResultDetail[];
|
|
45
|
+
drawId?: string;
|
|
46
|
+
drawStatus?: string;
|
|
47
|
+
multiplier?: number;
|
|
48
|
+
settled?: boolean;
|
|
49
|
+
state?: string;
|
|
50
|
+
updatedAt?: string;
|
|
51
|
+
winningNumbers?: SubmitTicketDrawResultWinningNumber[];
|
|
52
|
+
}
|
|
53
|
+
export interface SubmitTicketSelectionMetadata {
|
|
54
|
+
additionalProp1?: string;
|
|
55
|
+
additionalProp2?: string;
|
|
56
|
+
additionalProp3?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface SubmitTicketSelection {
|
|
59
|
+
betName?: string;
|
|
60
|
+
betType?: string;
|
|
61
|
+
metadata?: SubmitTicketSelectionMetadata;
|
|
62
|
+
multiplier?: boolean;
|
|
63
|
+
poolGameSelections?: string[][][];
|
|
64
|
+
quickPick?: boolean;
|
|
65
|
+
secondarySelections?: number[];
|
|
66
|
+
selections?: number[];
|
|
67
|
+
stake?: number;
|
|
68
|
+
tertiarySelections?: number[];
|
|
69
|
+
}
|
|
70
|
+
export interface SubmitTicket {
|
|
71
|
+
tickets?: {
|
|
72
|
+
Token?: string;
|
|
73
|
+
addon?: boolean;
|
|
74
|
+
amount?: string;
|
|
75
|
+
cancellationId?: string;
|
|
76
|
+
createdAt?: string;
|
|
77
|
+
currency?: string;
|
|
78
|
+
drawCount?: number;
|
|
79
|
+
drawName?: string;
|
|
80
|
+
drawResults?: SubmitTicketDrawResult[];
|
|
81
|
+
endDrawId?: string;
|
|
82
|
+
errorDetail?: SubmitTicketErrorDetail;
|
|
83
|
+
gameId?: string;
|
|
84
|
+
gameName?: string;
|
|
85
|
+
id?: string;
|
|
86
|
+
launchGameId?: string;
|
|
87
|
+
multiplier?: boolean;
|
|
88
|
+
multiplierNum?: number;
|
|
89
|
+
playerId?: string;
|
|
90
|
+
quickPick?: boolean;
|
|
91
|
+
selection?: SubmitTicketSelection[];
|
|
92
|
+
startingDrawId?: string;
|
|
93
|
+
state?: TicketState;
|
|
94
|
+
updatedAt?: string;
|
|
95
|
+
vendorGameBettingObject?: string;
|
|
96
|
+
vendorGameId?: string;
|
|
97
|
+
vendorGameType?: string;
|
|
98
|
+
vendorTicketId?: string;
|
|
99
|
+
wagerType?: string;
|
|
100
|
+
}[];
|
|
101
|
+
}
|
|
102
|
+
export declare enum TicketState {
|
|
103
|
+
Settled = "Settled",
|
|
104
|
+
Purchased = "Purchased",
|
|
105
|
+
Canceled = "Canceled"
|
|
106
|
+
}
|
|
@@ -11,3 +11,5 @@ export declare const showNotification: ({ message, theme }: {
|
|
|
11
11
|
message: string;
|
|
12
12
|
theme?: 'success' | 'warning' | 'error' | 'info';
|
|
13
13
|
}) => void;
|
|
14
|
+
export declare function checkDrawAvailable(currentDraw?: any): boolean;
|
|
15
|
+
export declare function formatCountdown(stopTime: string, _now?: Date): string;
|