@everymatrix/lottery-game-details 0.0.3 → 0.1.4

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.
@@ -4,9 +4,23 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.17.0",
7
+ "version": "2.15.2",
8
8
  "typescriptVersion": "4.5.4"
9
9
  },
10
- "collections": [],
10
+ "collections": [
11
+ {
12
+ "name": "@everymatrix/helper-accordion",
13
+ "tags": [
14
+ "helper-accordion"
15
+ ]
16
+ },
17
+ {
18
+ "name": "@everymatrix/helper-tabs",
19
+ "tags": [
20
+ "helper-tab",
21
+ "helper-tabs"
22
+ ]
23
+ }
24
+ ],
11
25
  "bundles": []
12
26
  }
@@ -0,0 +1,6 @@
1
+ import { A as Accordion, d as defineCustomElement$1 } from './helper-accordion2.js';
2
+
3
+ const HelperAccordion = Accordion;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { HelperAccordion, defineCustomElement };
@@ -0,0 +1,115 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+
3
+ const DEFAULT_LANGUAGE = 'en';
4
+ const SUPPORTED_LANGUAGES = ['ro', 'en'];
5
+ const TRANSLATIONS = {
6
+ en: {
7
+ deleteTicket: 'Delete ticket'
8
+ },
9
+ ro: {
10
+ deleteTicket: 'Sterge biletul'
11
+ },
12
+ };
13
+ const translate = (key, customLang) => {
14
+ const lang = customLang;
15
+ return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
16
+ };
17
+
18
+ const helperAccordionCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.Header{border-radius:4px 4px 0 0;background:#009993;display:flex;gap:30px;border:1px solid #009993;padding:8px 10px;user-select:none}.Header:hover{background:#00ABA4}.Header .Title,.Header .Subtitle,.Header .Description{margin:0;font-size:14px;color:#fff}.Header .Expand{margin-left:auto;color:#FFF;width:17px;height:17px;cursor:pointer;text-align:center;transform:rotate(90deg);font-size:20px;user-select:none}.HeaderTicketHistory{border-radius:4px;background:#F1F1F1;display:flex;gap:30px;border:1px solid #009993;padding:8px 10px;user-select:none;margin-bottom:5px}.HeaderTicketHistory:hover{background:#00ABA4}.HeaderTicketHistory .Title,.HeaderTicketHistory .Subtitle,.HeaderTicketHistory .Description{margin:0;font-size:14px;color:#000}.HeaderTicketHistory .Expand{margin-left:auto;color:#FFF;width:17px;height:17px;cursor:pointer;text-align:center;transform:rotate(90deg);font-size:20px;user-select:none}.Content{border-radius:0 0 4px 4px;background:#fff;border:1px solid #009993;padding:10px 15px;user-select:none;color:#000;margin-bottom:10px}.ActionButton{cursor:pointer;display:inline-block;border-radius:4px;margin:20px 0 10px;text-transform:uppercase;font-size:12px;text-align:center;padding:8px 20px;min-width:80px;background:#FF3D00;border:1px solid #FF3D00;color:#FFF}.ActionButton:hover{background:#FF6536;border:1px solid #FF3D00}";
19
+
20
+ const Accordion = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
21
+ constructor() {
22
+ super();
23
+ this.__registerHost();
24
+ this.__attachShadow();
25
+ this.accordionEvent = createEvent(this, "helperAccordionAction", 7);
26
+ /**
27
+ * Flag for ticket history
28
+ */
29
+ this.ticketHistoryFlag = false;
30
+ /**
31
+ * Title (top header)
32
+ */
33
+ this.headerTitle = '';
34
+ /**
35
+ * SubTitle (top header)
36
+ */
37
+ this.headerSubtitle = '';
38
+ /**
39
+ * Description
40
+ */
41
+ this.description = '';
42
+ /**
43
+ * Enables footer content
44
+ */
45
+ this.footer = false;
46
+ /**
47
+ * Enables footer button for tab deletion
48
+ */
49
+ this.deleteTab = false;
50
+ /**
51
+ * Activates postMessages as events for actions from the widget
52
+ */
53
+ this.postMessage = false;
54
+ /**
55
+ * Name of the event emitter by the action button
56
+ */
57
+ this.eventName = 'helperAccordionAction';
58
+ /**
59
+ * Collapsed
60
+ */
61
+ this.collapsed = true;
62
+ /**
63
+ * Language
64
+ */
65
+ this.language = 'en';
66
+ }
67
+ // @TODO fix the `any` type :)
68
+ connectedCallback() {
69
+ this.showContent = !this.collapsed;
70
+ }
71
+ toggleContent() {
72
+ this.showContent = !this.showContent;
73
+ }
74
+ deleteAction() {
75
+ if (this.postMessage) {
76
+ // @TODO maybe change the name type, this one sucks
77
+ window.postMessage({ type: this.eventName }, window.location.href);
78
+ }
79
+ this.accordionEvent.emit();
80
+ }
81
+ render() {
82
+ return (h("div", { class: "Wrapper" }, h("div", { class: this.ticketHistoryFlag === true ? 'HeaderTicketHistory' : 'Header' }, h("p", { class: "Title" }, this.headerTitle), h("p", { class: "Subtitle" }, this.headerSubtitle), h("p", { class: "Subtitle" }, this.description), h("span", { class: "Expand", onClick: () => this.toggleContent() }, this.showContent ? '<' : '>')), this.showContent &&
83
+ h("div", null, h("div", { class: "Content" }, h("slot", { name: 'accordionContent' }), this.footer && this.showContent &&
84
+ h("div", null, this.deleteTab &&
85
+ h("span", { class: "ActionButton", onClick: () => this.deleteAction() }, translate('deleteTicket', this.language)))))));
86
+ }
87
+ static get style() { return helperAccordionCss; }
88
+ }, [1, "helper-accordion", {
89
+ "ticketHistoryFlag": [4, "ticket-history-flag"],
90
+ "headerTitle": [1, "header-title"],
91
+ "headerSubtitle": [1, "header-subtitle"],
92
+ "description": [1],
93
+ "footer": [4],
94
+ "deleteTab": [4, "delete-tab"],
95
+ "postMessage": [4, "post-message"],
96
+ "eventName": [1, "event-name"],
97
+ "collapsed": [4],
98
+ "language": [1],
99
+ "showContent": [32]
100
+ }]);
101
+ function defineCustomElement() {
102
+ if (typeof customElements === "undefined") {
103
+ return;
104
+ }
105
+ const components = ["helper-accordion"];
106
+ components.forEach(tagName => { switch (tagName) {
107
+ case "helper-accordion":
108
+ if (!customElements.get(tagName)) {
109
+ customElements.define(tagName, Accordion);
110
+ }
111
+ break;
112
+ } });
113
+ }
114
+
115
+ export { Accordion as A, defineCustomElement as d };
@@ -0,0 +1,6 @@
1
+ import { H as HelperTab$1, d as defineCustomElement$1 } from './helper-tab2.js';
2
+
3
+ const HelperTab = HelperTab$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { HelperTab, defineCustomElement };
@@ -0,0 +1,51 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ const helperTabCss = ":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";
4
+
5
+ const HelperTab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /**
11
+ * Selected index
12
+ */
13
+ this.selectedIndex = 0;
14
+ this.tabContent = '';
15
+ }
16
+ connectedCallback() {
17
+ /**
18
+ * fetch(cmsEndpoint + / + / + selectedIndex)
19
+ */
20
+ }
21
+ render() {
22
+ this.tabContent = h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
23
+ if (this.selectedIndex + 1 == 2) {
24
+ this.tabContent = h("div", { class: "TabContent" }, h("ol", null, h("li", null, "Register or Login"), h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."), h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
25
+ }
26
+ else if (this.selectedIndex + 1 == 3) {
27
+ this.tabContent = h("div", { class: "TabContent" }, h("ul", null, h("li", null, "What are my odds of winning?"), h("li", null, "How can I find out if I\u2019ve won a draw game?"), h("li", null, "How do I claim my prize?")));
28
+ }
29
+ return (this.tabContent);
30
+ }
31
+ static get style() { return helperTabCss; }
32
+ }, [1, "helper-tab", {
33
+ "selectedIndex": [2, "selected-index"],
34
+ "cmsEndpoint": [1, "cms-endpoint"],
35
+ "tabContent": [32]
36
+ }]);
37
+ function defineCustomElement() {
38
+ if (typeof customElements === "undefined") {
39
+ return;
40
+ }
41
+ const components = ["helper-tab"];
42
+ components.forEach(tagName => { switch (tagName) {
43
+ case "helper-tab":
44
+ if (!customElements.get(tagName)) {
45
+ customElements.define(tagName, HelperTab);
46
+ }
47
+ break;
48
+ } });
49
+ }
50
+
51
+ export { HelperTab as H, defineCustomElement as d };
@@ -0,0 +1,6 @@
1
+ import { H as HelperTabs$1, d as defineCustomElement$1 } from './helper-tabs2.js';
2
+
3
+ const HelperTabs = HelperTabs$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { HelperTabs, defineCustomElement };
@@ -0,0 +1,62 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './helper-tab2.js';
3
+
4
+ const helperTabsCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.Tabs{display:flex;gap:10px;overflow-x:auto}.TabButton{cursor:pointer;width:auto;border-radius:4px;padding:8px 15px;margin:5px 0 10px;border:1px solid #009993;background:#FFF;color:#000;font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0;white-space:nowrap}.TabButton:hover{background:#F1F1F1}.TabButton.Active{background:#009993;color:#FFF}";
5
+
6
+ const HelperTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * Tell me if it is disabled
13
+ */
14
+ this.disabled = false;
15
+ /**
16
+ * Tell me what tab is selected
17
+ */
18
+ this.selected = false;
19
+ /**
20
+ * Default selected index
21
+ */
22
+ this.selectedIndex = 0;
23
+ /**
24
+ * Tabs details
25
+ */
26
+ this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
27
+ }
28
+ connectedCallback() {
29
+ }
30
+ render() {
31
+ return (h("div", null, h("div", { class: "Tabs" }, this.tabs.map((tab, index) => h("button", { class: 'TabButton' + (this.selectedIndex == index ? ' Active' : ''), onClick: () => this.selectedIndex = index }, tab.label))), h("div", null, h("helper-tab", { selectedIndex: this.selectedIndex }))));
32
+ }
33
+ get host() { return this; }
34
+ static get style() { return helperTabsCss; }
35
+ }, [1, "helper-tabs", {
36
+ "disabled": [4],
37
+ "label": [1],
38
+ "selected": [4],
39
+ "cmsEndpoint": [1, "cms-endpoint"],
40
+ "selectedIndex": [1538, "selected-index"],
41
+ "tabs": [16]
42
+ }]);
43
+ function defineCustomElement() {
44
+ if (typeof customElements === "undefined") {
45
+ return;
46
+ }
47
+ const components = ["helper-tabs", "helper-tab"];
48
+ components.forEach(tagName => { switch (tagName) {
49
+ case "helper-tabs":
50
+ if (!customElements.get(tagName)) {
51
+ customElements.define(tagName, HelperTabs);
52
+ }
53
+ break;
54
+ case "helper-tab":
55
+ if (!customElements.get(tagName)) {
56
+ defineCustomElement$1();
57
+ }
58
+ break;
59
+ } });
60
+ }
61
+
62
+ export { HelperTabs as H, defineCustomElement as d };
@@ -1,5 +1,6 @@
1
1
  /* LotteryGameDetails custom elements */
2
- export { LotteryGameDetails as LotteryGameDetails } from '../types/components/lottery-game-details/lottery-game-details';
2
+
3
+ import type { Components, JSX } from "../types/components";
3
4
 
4
5
  /**
5
6
  * Used to manually set the base path where assets can be found.
@@ -19,4 +20,7 @@ export interface SetPlatformOptions {
19
20
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
20
21
  }
21
22
  export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
23
+
24
+ export type { Components, JSX };
25
+
22
26
  export * from '../types';
@@ -1,2 +1 @@
1
1
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
2
- export { LotteryGameDetails, defineCustomElement as defineCustomElementLotteryGameDetails } from './lottery-game-details.js';
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import '@everymatrix/helper-accordion';
3
- import '@everymatrix/helper-tabs';
2
+ import { d as defineCustomElement$4 } from './helper-accordion2.js';
3
+ import { d as defineCustomElement$3 } from './helper-tab2.js';
4
+ import { d as defineCustomElement$2 } from './helper-tabs2.js';
4
5
 
5
6
  const lotteryGameDetailsCss = ":host{display:block}";
6
7
 
@@ -19,13 +20,28 @@ function defineCustomElement$1() {
19
20
  if (typeof customElements === "undefined") {
20
21
  return;
21
22
  }
22
- const components = ["lottery-game-details"];
23
+ const components = ["lottery-game-details", "helper-accordion", "helper-tab", "helper-tabs"];
23
24
  components.forEach(tagName => { switch (tagName) {
24
25
  case "lottery-game-details":
25
26
  if (!customElements.get(tagName)) {
26
27
  customElements.define(tagName, LotteryGameDetails$1);
27
28
  }
28
29
  break;
30
+ case "helper-accordion":
31
+ if (!customElements.get(tagName)) {
32
+ defineCustomElement$4();
33
+ }
34
+ break;
35
+ case "helper-tab":
36
+ if (!customElements.get(tagName)) {
37
+ defineCustomElement$3();
38
+ }
39
+ break;
40
+ case "helper-tabs":
41
+ if (!customElements.get(tagName)) {
42
+ defineCustomElement$2();
43
+ }
44
+ break;
29
45
  } });
30
46
  }
31
47
 
@@ -0,0 +1,160 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-515a97dd.js';
2
+
3
+ const DEFAULT_LANGUAGE = 'en';
4
+ const SUPPORTED_LANGUAGES = ['ro', 'en'];
5
+ const TRANSLATIONS = {
6
+ en: {
7
+ deleteTicket: 'Delete ticket'
8
+ },
9
+ ro: {
10
+ deleteTicket: 'Sterge biletul'
11
+ },
12
+ };
13
+ const translate = (key, customLang) => {
14
+ const lang = customLang;
15
+ return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
16
+ };
17
+
18
+ const helperAccordionCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.Header{border-radius:4px 4px 0 0;background:#009993;display:flex;gap:30px;border:1px solid #009993;padding:8px 10px;user-select:none}.Header:hover{background:#00ABA4}.Header .Title,.Header .Subtitle,.Header .Description{margin:0;font-size:14px;color:#fff}.Header .Expand{margin-left:auto;color:#FFF;width:17px;height:17px;cursor:pointer;text-align:center;transform:rotate(90deg);font-size:20px;user-select:none}.HeaderTicketHistory{border-radius:4px;background:#F1F1F1;display:flex;gap:30px;border:1px solid #009993;padding:8px 10px;user-select:none;margin-bottom:5px}.HeaderTicketHistory:hover{background:#00ABA4}.HeaderTicketHistory .Title,.HeaderTicketHistory .Subtitle,.HeaderTicketHistory .Description{margin:0;font-size:14px;color:#000}.HeaderTicketHistory .Expand{margin-left:auto;color:#FFF;width:17px;height:17px;cursor:pointer;text-align:center;transform:rotate(90deg);font-size:20px;user-select:none}.Content{border-radius:0 0 4px 4px;background:#fff;border:1px solid #009993;padding:10px 15px;user-select:none;color:#000;margin-bottom:10px}.ActionButton{cursor:pointer;display:inline-block;border-radius:4px;margin:20px 0 10px;text-transform:uppercase;font-size:12px;text-align:center;padding:8px 20px;min-width:80px;background:#FF3D00;border:1px solid #FF3D00;color:#FFF}.ActionButton:hover{background:#FF6536;border:1px solid #FF3D00}";
19
+
20
+ const Accordion = class {
21
+ constructor(hostRef) {
22
+ registerInstance(this, hostRef);
23
+ this.accordionEvent = createEvent(this, "helperAccordionAction", 7);
24
+ /**
25
+ * Flag for ticket history
26
+ */
27
+ this.ticketHistoryFlag = false;
28
+ /**
29
+ * Title (top header)
30
+ */
31
+ this.headerTitle = '';
32
+ /**
33
+ * SubTitle (top header)
34
+ */
35
+ this.headerSubtitle = '';
36
+ /**
37
+ * Description
38
+ */
39
+ this.description = '';
40
+ /**
41
+ * Enables footer content
42
+ */
43
+ this.footer = false;
44
+ /**
45
+ * Enables footer button for tab deletion
46
+ */
47
+ this.deleteTab = false;
48
+ /**
49
+ * Activates postMessages as events for actions from the widget
50
+ */
51
+ this.postMessage = false;
52
+ /**
53
+ * Name of the event emitter by the action button
54
+ */
55
+ this.eventName = 'helperAccordionAction';
56
+ /**
57
+ * Collapsed
58
+ */
59
+ this.collapsed = true;
60
+ /**
61
+ * Language
62
+ */
63
+ this.language = 'en';
64
+ }
65
+ // @TODO fix the `any` type :)
66
+ connectedCallback() {
67
+ this.showContent = !this.collapsed;
68
+ }
69
+ toggleContent() {
70
+ this.showContent = !this.showContent;
71
+ }
72
+ deleteAction() {
73
+ if (this.postMessage) {
74
+ // @TODO maybe change the name type, this one sucks
75
+ window.postMessage({ type: this.eventName }, window.location.href);
76
+ }
77
+ this.accordionEvent.emit();
78
+ }
79
+ render() {
80
+ return (h("div", { class: "Wrapper" }, h("div", { class: this.ticketHistoryFlag === true ? 'HeaderTicketHistory' : 'Header' }, h("p", { class: "Title" }, this.headerTitle), h("p", { class: "Subtitle" }, this.headerSubtitle), h("p", { class: "Subtitle" }, this.description), h("span", { class: "Expand", onClick: () => this.toggleContent() }, this.showContent ? '<' : '>')), this.showContent &&
81
+ h("div", null, h("div", { class: "Content" }, h("slot", { name: 'accordionContent' }), this.footer && this.showContent &&
82
+ h("div", null, this.deleteTab &&
83
+ h("span", { class: "ActionButton", onClick: () => this.deleteAction() }, translate('deleteTicket', this.language)))))));
84
+ }
85
+ };
86
+ Accordion.style = helperAccordionCss;
87
+
88
+ const helperTabCss = ":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";
89
+
90
+ const HelperTab = class {
91
+ constructor(hostRef) {
92
+ registerInstance(this, hostRef);
93
+ /**
94
+ * Selected index
95
+ */
96
+ this.selectedIndex = 0;
97
+ this.tabContent = '';
98
+ }
99
+ connectedCallback() {
100
+ /**
101
+ * fetch(cmsEndpoint + / + / + selectedIndex)
102
+ */
103
+ }
104
+ render() {
105
+ this.tabContent = h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
106
+ if (this.selectedIndex + 1 == 2) {
107
+ this.tabContent = h("div", { class: "TabContent" }, h("ol", null, h("li", null, "Register or Login"), h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."), h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
108
+ }
109
+ else if (this.selectedIndex + 1 == 3) {
110
+ this.tabContent = h("div", { class: "TabContent" }, h("ul", null, h("li", null, "What are my odds of winning?"), h("li", null, "How can I find out if I\u2019ve won a draw game?"), h("li", null, "How do I claim my prize?")));
111
+ }
112
+ return (this.tabContent);
113
+ }
114
+ };
115
+ HelperTab.style = helperTabCss;
116
+
117
+ const helperTabsCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.Tabs{display:flex;gap:10px;overflow-x:auto}.TabButton{cursor:pointer;width:auto;border-radius:4px;padding:8px 15px;margin:5px 0 10px;border:1px solid #009993;background:#FFF;color:#000;font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0;white-space:nowrap}.TabButton:hover{background:#F1F1F1}.TabButton.Active{background:#009993;color:#FFF}";
118
+
119
+ const HelperTabs = class {
120
+ constructor(hostRef) {
121
+ registerInstance(this, hostRef);
122
+ /**
123
+ * Tell me if it is disabled
124
+ */
125
+ this.disabled = false;
126
+ /**
127
+ * Tell me what tab is selected
128
+ */
129
+ this.selected = false;
130
+ /**
131
+ * Default selected index
132
+ */
133
+ this.selectedIndex = 0;
134
+ /**
135
+ * Tabs details
136
+ */
137
+ this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
138
+ }
139
+ connectedCallback() {
140
+ }
141
+ render() {
142
+ return (h("div", null, h("div", { class: "Tabs" }, this.tabs.map((tab, index) => h("button", { class: 'TabButton' + (this.selectedIndex == index ? ' Active' : ''), onClick: () => this.selectedIndex = index }, tab.label))), h("div", null, h("helper-tab", { selectedIndex: this.selectedIndex }))));
143
+ }
144
+ get host() { return getElement(this); }
145
+ };
146
+ HelperTabs.style = helperTabsCss;
147
+
148
+ const lotteryGameDetailsCss = ":host{display:block}";
149
+
150
+ const LotteryGameDetails = class {
151
+ constructor(hostRef) {
152
+ registerInstance(this, hostRef);
153
+ }
154
+ render() {
155
+ return (h("div", null, h("helper-accordion", { "header-title": "Game Details", collapsed: false }, h("div", { slot: "accordionContent" }, h("helper-tabs", null)))));
156
+ }
157
+ };
158
+ LotteryGameDetails.style = lotteryGameDetailsCss;
159
+
160
+ export { Accordion as helper_accordion, HelperTab as helper_tab, HelperTabs as helper_tabs, LotteryGameDetails as lottery_game_details };