@everymatrix/lottery-tipping-ticket-controller 1.85.14 → 1.85.16

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 (27) hide show
  1. package/dist/cjs/general-tooltip_7.cjs.entry.js +1136 -0
  2. package/dist/cjs/index-3e1fe885.js +2 -2
  3. package/dist/cjs/index.cjs.js +1 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{general-tooltip_6.cjs.entry.js → lottery-tipping-ticket-controller-1e79780d.js} +7366 -5190
  6. package/dist/cjs/lottery-tipping-ticket-controller.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +6 -0
  8. package/dist/collection/components/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.js +41 -9
  9. package/dist/collection/utils/locale.utils.js +2 -1
  10. package/dist/collection/utils/utils.js +1 -0
  11. package/dist/esm/general-tooltip_7.entry.js +1127 -0
  12. package/dist/esm/index-e3ec645c.js +2 -2
  13. package/dist/esm/index.js +1 -2
  14. package/dist/esm/loader.js +1 -1
  15. package/dist/esm/{general-tooltip_6.entry.js → lottery-tipping-ticket-controller-e914932b.js} +7220 -5047
  16. package/dist/esm/lottery-tipping-ticket-controller.js +1 -1
  17. package/dist/lottery-tipping-ticket-controller/general-tooltip_7.entry.js +1 -0
  18. package/dist/lottery-tipping-ticket-controller/index.esm.js +1 -1
  19. package/dist/lottery-tipping-ticket-controller/{general-tooltip_6.entry.js → lottery-tipping-ticket-controller-e914932b.js} +242 -242
  20. package/dist/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.esm.js +1 -1
  21. package/dist/types/components/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller.d.ts +8 -3
  22. package/dist/types/models/index.d.ts +5 -0
  23. package/dist/types/utils/utils.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/dist/cjs/lottery-tipping-ticket-controller-b89883ee.js +0 -3141
  26. package/dist/esm/lottery-tipping-ticket-controller-12ffe9b9.js +0 -3130
  27. package/dist/lottery-tipping-ticket-controller/lottery-tipping-ticket-controller-12ffe9b9.js +0 -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_6",[[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],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-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 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,7 +1,8 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import '@everymatrix/lottery-button';
2
+ import "../../../../../../dist/libs/vaadin-facade/index";
3
+ import "../../../../../../dist/packages/stencil/lottery-button/dist/types/index";
3
4
  import "../../../../../../dist/packages/stencil/lottery-tipping-ticket-bet/dist/types/index";
4
- import { OptionType, SaleStatisticsRes } from '../../models';
5
+ import { OptionType, SaleStatisticsRes, StakeType } from '../../models';
5
6
  export declare class LotteryTippingTicketController {
6
7
  /**
7
8
  * Client custom styling via message bus
@@ -73,6 +74,7 @@ export declare class LotteryTippingTicketController {
73
74
  submitLoading: boolean;
74
75
  rawData: any;
75
76
  saleStatisticsInfo: SaleStatisticsRes;
77
+ currentStake: StakeType;
76
78
  dialogConfig: {
77
79
  visible: boolean;
78
80
  content?: string;
@@ -92,7 +94,10 @@ export declare class LotteryTippingTicketController {
92
94
  get playTypeConfig(): any;
93
95
  get betTypeConfig(): any;
94
96
  get isBothBettingType(): boolean;
95
- get currentStake(): any;
97
+ get stakeOptions(): StakeType[];
98
+ onStakeChange: (e: CustomEvent) => void;
99
+ getCurrentStakeByValue(value: any): StakeType;
100
+ initiateCurrentStake(): void;
96
101
  handleBettingTypeChange(type: string): void;
97
102
  clearBulletConfig(): Promise<void>;
98
103
  handlePlayingModeChange(mode: string): void;
@@ -28,3 +28,8 @@ export interface SaleStatisticsRes {
28
28
  gameId?: string;
29
29
  wagerSegment?: WagerSegment;
30
30
  }
31
+ export interface StakeType {
32
+ value: string;
33
+ currency: string;
34
+ label?: string;
35
+ }
@@ -48,3 +48,4 @@ export declare const getPlayTypeConfig: ({ rawData, selectedBettingType, selecte
48
48
  betTypeId: any;
49
49
  betType: any;
50
50
  };
51
+ export declare const getMinValue: (arr: any) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-tipping-ticket-controller",
3
- "version": "1.85.14",
3
+ "version": "1.85.16",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",