@everymatrix/lottery-subscription 0.12.0 → 0.12.2

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
- export{L as lottery_subscription}from"./lottery-subscription-a9ef0899.js";import"./index-0cefb8d0.js";
1
+ export{L as lottery_subscription}from"./lottery-subscription-0df24c8b.js";import"./index-f4067a90.js";
@@ -1 +1 @@
1
- import{p as e,b as t}from"./index-0cefb8d0.js";export{s as setNonce}from"./index-0cefb8d0.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["lottery-subscription",[[1,"lottery-subscription",{translationUrl:[520,"translation-url"],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],endpoint:[513],endpointTicket:[513,"endpoint-ticket"],endpointSubscription:[513,"endpoint-subscription"],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],limitStylingAppends:[32]}]]]],e))));
1
+ import{p as e,b as n}from"./index-f4067a90.js";export{s as setNonce}from"./index-f4067a90.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const n=import.meta.url,t={};return""!==n&&(t.resourcesUrl=new URL(".",n).href),e(t)})().then((async e=>(await t(),n([["lottery-subscription",[[1,"lottery-subscription",{translationUrl:[520,"translation-url"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],endpoint:[513],endpointTicket:[513,"endpoint-ticket"],endpointSubscription:[513,"endpoint-subscription"],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"]}]]]],e))));
@@ -12,7 +12,11 @@ export declare class LotterySubscription {
12
12
  /**
13
13
  * Client custom styling via url
14
14
  */
15
- clientStylingUrlContent: string;
15
+ clientStylingUrl: string;
16
+ /**
17
+ * Client custom styling via message bus
18
+ */
19
+ mbSource: string;
16
20
  /**
17
21
  * Endpoint URL for the source of data
18
22
  */
@@ -47,19 +51,20 @@ export declare class LotterySubscription {
47
51
  private endDateRule;
48
52
  private gameNameRule;
49
53
  private ruleType;
50
- private limitStylingAppends;
51
54
  private stylingContainer;
55
+ private stylingSubscription;
52
56
  subscriptionCompleted: EventEmitter<any>;
53
57
  subscriptionCheckChange: EventEmitter<any>;
54
58
  componentWillLoad(): void;
55
- componentDidRender(): void;
59
+ handleClientStylingChange(newValue: any, oldValue: any): void;
60
+ handleClientStylingUrlChange(newValue: any, oldValue: any): void;
61
+ handleMbSourceChange(newValue: any, oldValue: any): void;
62
+ componentDidLoad(): void;
56
63
  transDate(from: string, to: string): {
57
64
  from: string;
58
65
  to: string;
59
66
  };
60
67
  getSubscriptionData(): Promise<void>;
61
- setClientStyling: () => void;
62
- setClientStylingURL: () => void;
63
68
  handleCheckboxchange(e: CustomEvent): void;
64
69
  handleSelectionChange(event: CustomEvent): void;
65
70
  changeDateParam: () => void;
@@ -14,7 +14,7 @@ export namespace Components {
14
14
  /**
15
15
  * Client custom styling via url
16
16
  */
17
- "clientStylingUrlContent": string;
17
+ "clientStylingUrl": string;
18
18
  /**
19
19
  * Endpoint URL for the source of data
20
20
  */
@@ -35,6 +35,10 @@ export namespace Components {
35
35
  * Language of the widget
36
36
  */
37
37
  "language": string;
38
+ /**
39
+ * Client custom styling via message bus
40
+ */
41
+ "mbSource": string;
38
42
  /**
39
43
  * Translation via url
40
44
  */
@@ -77,7 +81,7 @@ declare namespace LocalJSX {
77
81
  /**
78
82
  * Client custom styling via url
79
83
  */
80
- "clientStylingUrlContent"?: string;
84
+ "clientStylingUrl"?: string;
81
85
  /**
82
86
  * Endpoint URL for the source of data
83
87
  */
@@ -98,6 +102,10 @@ declare namespace LocalJSX {
98
102
  * Language of the widget
99
103
  */
100
104
  "language"?: string;
105
+ /**
106
+ * Client custom styling via message bus
107
+ */
108
+ "mbSource"?: string;
101
109
  "onSubscriptionCheckChange"?: (event: LotterySubscriptionCustomEvent<any>) => void;
102
110
  "onSubscriptionCompleted"?: (event: LotterySubscriptionCustomEvent<any>) => void;
103
111
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-subscription",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",