@everymatrix/lottery-tipping-ticket-controller 1.86.27 → 1.86.28

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.
Files changed (22) hide show
  1. package/dist/cjs/general-tooltip_7.cjs.entry.js +36 -7
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{lottery-tipping-ticket-controller-0ac12c3a.js → lottery-tipping-ticket-controller-59ee8536.js} +368 -361
  5. package/dist/cjs/lottery-tipping-ticket-controller.cjs.js +1 -1
  6. package/dist/collection/components/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.js +21 -76
  7. package/dist/collection/utils/api.js +1 -1
  8. package/dist/collection/utils/utils.js +43 -38
  9. package/dist/esm/general-tooltip_7.entry.js +37 -8
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/loader.js +1 -1
  12. package/dist/esm/{lottery-tipping-ticket-controller-d705ad02.js → lottery-tipping-ticket-controller-f0d23f7a.js} +368 -361
  13. package/dist/esm/lottery-tipping-ticket-controller.js +1 -1
  14. package/dist/lottery-tipping-ticket-controller/general-tooltip_7.entry.js +1 -1
  15. package/dist/lottery-tipping-ticket-controller/index.esm.js +1 -1
  16. package/dist/lottery-tipping-ticket-controller/{lottery-tipping-ticket-controller-d705ad02.js → lottery-tipping-ticket-controller-f0d23f7a.js} +241 -241
  17. package/dist/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.esm.js +1 -1
  18. package/dist/types/components/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.d.ts +2 -7
  19. package/dist/types/components.d.ts +0 -10
  20. package/dist/types/utils/api.d.ts +1 -1
  21. package/dist/types/utils/utils.d.ts +13 -7
  22. package/package.json +1 -1
@@ -1 +1 @@
1
- import{p as e,b as t}from"./index-e3ec645c.js";export{s as setNonce}from"./index-e3ec645c.js";import{g as l}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),e(l)})().then((async e=>(await l(),t([["general-tooltip_7",[[1,"lottery-tipping-ticket-controller",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],logoUrl:[513,"logo-url"],endpoint:[513],endpointLotteryBe:[513,"endpoint-lottery-be"],endpointTicket:[513,"endpoint-ticket"],sessionId:[513,"session-id"],gameId:[513,"game-id"],playerId:[513,"player-id"],drawId:[513,"draw-id"],isLoading:[32],bettingTypeOptions:[32],playingModeOptions:[32],selectedBettingType:[32],selectedPlayingMode:[32],hasSelectBullet:[32],hasSelectAllBullet:[32],totalLineCombination:[32],submitLoading:[32],rawData:[32],saleStatisticsInfo:[32],currentStake:[32],dialogConfig:[32]},[[0,"lotteryTippingBulletBetSelect","lotteryTippingBulletGroupSelectionHandler"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[1,"lottery-tipping-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-button",{variant:[513],size:[513],disabled:[516],loading:[516],text:[513],mbSource:[513,"mb-source"],language:[513],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],ripples:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[1,"lottery-tipping-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,"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"]}]]]],e))));
1
+ import{p as e,b as l}from"./index-e3ec645c.js";export{s as setNonce}from"./index-e3ec645c.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([["general-tooltip_7",[[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-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-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-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,"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"]}]]]],e))));
@@ -1,7 +1,7 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import "../../../../../../dist/libs/vaadin-facade/index";
3
1
  import "../../../../../../dist/packages/stencil/lottery-button/dist/types/index";
4
2
  import "../../../../../../dist/packages/stencil/lottery-tipping-ticket-bet/dist/types/index";
3
+ import { EventEmitter } from '../../stencil-public-runtime';
4
+ import "../../../../../../dist/libs/vaadin-facade/index";
5
5
  import { OptionType, SaleStatisticsRes, StakeType } from '../../models';
6
6
  export declare class LotteryTippingTicketController {
7
7
  /**
@@ -40,11 +40,6 @@ export declare class LotteryTippingTicketController {
40
40
  * Endpoint URL for the source of data (NorWAy standard)
41
41
  */
42
42
  endpoint: string;
43
- endpointLotteryBe: string;
44
- /**
45
- * EndpointTicket URL for the source of ticket data
46
- */
47
- endpointTicket: string;
48
43
  /**
49
44
  * GIC Session
50
45
  */
@@ -46,11 +46,6 @@ export namespace Components {
46
46
  * Endpoint URL for the source of data (NorWAy standard)
47
47
  */
48
48
  "endpoint": string;
49
- "endpointLotteryBe": string;
50
- /**
51
- * EndpointTicket URL for the source of ticket data
52
- */
53
- "endpointTicket": string;
54
49
  /**
55
50
  * ID of the pool game
56
51
  */
@@ -155,11 +150,6 @@ declare namespace LocalJSX {
155
150
  * Endpoint URL for the source of data (NorWAy standard)
156
151
  */
157
152
  "endpoint"?: string;
158
- "endpointLotteryBe"?: string;
159
- /**
160
- * EndpointTicket URL for the source of ticket data
161
- */
162
- "endpointTicket"?: string;
163
153
  /**
164
154
  * ID of the pool game
165
155
  */
@@ -1,4 +1,4 @@
1
- import { SaleStatisticsRes } from "../models";
1
+ import { SaleStatisticsRes } from '../models';
2
2
  export declare const TICKET_INVALID_TOKEN = "TICKET_INVALID_TOKEN";
3
3
  export declare const doSubmitTicket: ({ body, sessionId, url }: {
4
4
  body: any;
@@ -11,13 +11,19 @@ export declare const showNotification: ({ message, theme }: {
11
11
  theme?: 'success' | 'warning' | 'error' | 'info';
12
12
  }) => void;
13
13
  export declare const thousandSeparator: (value: number | string) => string;
14
- export declare const TICKET_INVALID_TOKEN = "TICKET_INVALID_TOKEN";
15
- export declare const formatResultsToWinningNumbers: (rawResults: any) => number[][];
16
- export declare const doSubmitTicket: ({ body, sessionId, url }: {
17
- body: any;
18
- sessionId: any;
19
- url: any;
20
- }) => Promise<any>;
14
+ export declare const buildSubmitParam: ({ playerId, rawResults, gameId, rawData, amount, currentStake, betTypeId, betType }: {
15
+ playerId: any;
16
+ rawResults: any;
17
+ gameId: any;
18
+ rawData: any;
19
+ amount: any;
20
+ currentStake: any;
21
+ betTypeId: any;
22
+ betType: any;
23
+ }) => {
24
+ playerId: any;
25
+ tickets: any[];
26
+ };
21
27
  export declare const getEnableOptions: (raw?: any[]) => any[];
22
28
  export declare const getDefaultType: ({ playTypeConfig, betTypeConfig, enabledBettingTypeOptions, enabledPlayingModeOptions }: {
23
29
  playTypeConfig?: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-tipping-ticket-controller",
3
- "version": "1.86.27",
3
+ "version": "1.86.28",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",