@everymatrix/lottery-ticket 1.77.0 → 1.77.1

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.
@@ -1 +1 @@
1
- import{p as e,b as l}from"./index-09f8a089.js";export{s as setNonce}from"./index-09f8a089.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([["lottery-bullet_3",[[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"],clientStylingUrlContent:[513,"client-styling-url-content"],translationUrl:[520,"translation-url"],isLoading:[32],hasErrors:[32],ticketDone:[32],isCustomSelect:[32],amountInfo:[32],limitStylingAppends:[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"]],{lineMultiplier:["handleLineMultiplierChange"],tabIndex:["handleTabIndexChange"]}],[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"],clientStylingUrlContent:[513,"client-styling-url-content"],highNumber:[514,"high-number"],lowNumber:[514,"low-number"],selectionType:[513,"selection-type"],partialQuickpickAvailable:[516,"partial-quickpick-available"],numbers:[32],bonusNumbers:[32],limitStylingAppends:[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{value:[513],selectable:[516],isSelected:[516,"is-selected"],isBonus:[516,"is-bonus"],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],limitStylingAppends:[32]}]]]],e))));
1
+ import{p as e,b as l}from"./index-51501594.js";export{s as setNonce}from"./index-51501594.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([["lottery-bullet_3",[[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"]],{lineMultiplier:["handleLineMultiplierChange"],tabIndex:["handleTabIndexChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[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,3 +1,4 @@
1
1
  export * from "./vite-chunk-plugin";
2
2
  export * from "./stencil-clean-deps-plugin";
3
3
  export * from "./vite-clean-deps-plugin";
4
+ export * from "./lazy-load-chunk-plugin";
@@ -0,0 +1,12 @@
1
+ export declare const lazyLoadChunkPlugin: () => {
2
+ name: string;
3
+ config(config: any): {
4
+ build: {
5
+ rollupOptions: {
6
+ output: {
7
+ manualChunks(id: any): any;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ };
@@ -42,7 +42,11 @@ export declare class LotteryTicket {
42
42
  /**
43
43
  * Client custom styling via url content
44
44
  */
45
- clientStylingUrlContent: string;
45
+ clientStylingUrl: string;
46
+ /**
47
+ * Client custom styling via message bus
48
+ */
49
+ mbSource: string;
46
50
  /**
47
51
  * Translations via parent component
48
52
  */
@@ -51,12 +55,12 @@ export declare class LotteryTicket {
51
55
  private gameData;
52
56
  private ticket;
53
57
  private stylingContainer;
58
+ private stylingSubscription;
54
59
  private isLoading;
55
60
  private hasErrors;
56
61
  private ticketDone;
57
62
  private isCustomSelect;
58
63
  private amountInfo;
59
- private limitStylingAppends;
60
64
  private stakeMultiplier;
61
65
  private lineMultiplier;
62
66
  private isCustomSelectStake;
@@ -83,6 +87,9 @@ export declare class LotteryTicket {
83
87
  private selectDrawRef;
84
88
  handleLineMultiplierChange(newValue: number): void;
85
89
  handleTabIndexChange(newValue: number): void;
90
+ handleClientStylingChange(newValue: any, oldValue: any): void;
91
+ handleClientStylingUrlChange(newValue: any, oldValue: any): void;
92
+ handleMbSourceChange(newValue: any, oldValue: any): void;
86
93
  checkForClickOutside(ev: MouseEvent): void;
87
94
  /**
88
95
  * @TODO including ts type
@@ -97,9 +104,7 @@ export declare class LotteryTicket {
97
104
  betTypeChange: EventEmitter<any>;
98
105
  connectedCallback(): void;
99
106
  componentWillLoad(): void;
100
- componentDidRender(): void;
101
- setClientStyling: () => void;
102
- setClientStylingURL: () => void;
107
+ componentDidLoad(): void;
103
108
  gridFilledHandler(event: CustomEvent<GridEvent>): void;
104
109
  handleGridClearAllEvent(event: CustomEvent<number>): void;
105
110
  toggleAutoSelection(index: number): void;
@@ -18,7 +18,7 @@ export namespace Components {
18
18
  /**
19
19
  * Client custom styling via url content
20
20
  */
21
- "clientStylingUrlContent": string;
21
+ "clientStylingUrl": string;
22
22
  /**
23
23
  * NorWAy endpoint
24
24
  */
@@ -31,6 +31,10 @@ export namespace Components {
31
31
  * Language
32
32
  */
33
33
  "language": string;
34
+ /**
35
+ * Client custom styling via message bus
36
+ */
37
+ "mbSource": string;
34
38
  /**
35
39
  * Option to have the ticket registered for multiple draws
36
40
  */
@@ -99,7 +103,7 @@ declare namespace LocalJSX {
99
103
  /**
100
104
  * Client custom styling via url content
101
105
  */
102
- "clientStylingUrlContent"?: string;
106
+ "clientStylingUrl"?: string;
103
107
  /**
104
108
  * NorWAy endpoint
105
109
  */
@@ -112,6 +116,10 @@ declare namespace LocalJSX {
112
116
  * Language
113
117
  */
114
118
  "language"?: string;
119
+ /**
120
+ * Client custom styling via message bus
121
+ */
122
+ "mbSource"?: string;
115
123
  /**
116
124
  * Option to have the ticket registered for multiple draws
117
125
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-ticket",
3
- "version": "1.77.0",
3
+ "version": "1.77.1",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",