@everymatrix/lottery-oddsbom-ticket-result 0.0.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.
Files changed (61) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-2be14604.js +1241 -0
  3. package/dist/cjs/index.cjs.js +10 -0
  4. package/dist/cjs/loader.cjs.js +15 -0
  5. package/dist/cjs/lottery-oddsbom-bullet_2.cjs.entry.js +146 -0
  6. package/dist/cjs/lottery-oddsbom-ticket-result-5893a77e.js +2963 -0
  7. package/dist/cjs/lottery-oddsbom-ticket-result.cjs.js +25 -0
  8. package/dist/collection/collection-manifest.json +19 -0
  9. package/dist/collection/components/lottery-oddsbom-ticket-result/index.js +1 -0
  10. package/dist/collection/components/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result.css +221 -0
  11. package/dist/collection/components/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result.js +413 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/models/index.js +2 -0
  14. package/dist/collection/utils/api.js +55 -0
  15. package/dist/collection/utils/locale.utils.js +142 -0
  16. package/dist/collection/utils/utils.js +133 -0
  17. package/dist/esm/app-globals-0f993ce5.js +3 -0
  18. package/dist/esm/index-3d5460b3.js +1214 -0
  19. package/dist/esm/index.js +2 -0
  20. package/dist/esm/loader.js +11 -0
  21. package/dist/esm/lottery-oddsbom-bullet_2.entry.js +142 -0
  22. package/dist/esm/lottery-oddsbom-ticket-result-11fceed5.js +2958 -0
  23. package/dist/esm/lottery-oddsbom-ticket-result.js +20 -0
  24. package/dist/index.cjs.js +1 -0
  25. package/dist/index.js +1 -0
  26. package/dist/lottery-oddsbom-ticket-result/app-globals-0f993ce5.js +1 -0
  27. package/dist/lottery-oddsbom-ticket-result/index-3d5460b3.js +2 -0
  28. package/dist/lottery-oddsbom-ticket-result/index.esm.js +1 -0
  29. package/dist/lottery-oddsbom-ticket-result/lottery-oddsbom-bullet_2.entry.js +1 -0
  30. package/dist/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result-11fceed5.js +1 -0
  31. package/dist/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result.esm.js +1 -0
  32. package/dist/stencil.config.dev.js +19 -0
  33. package/dist/stencil.config.js +19 -0
  34. package/dist/storybook/main.js +43 -0
  35. package/dist/storybook/preview.js +9 -0
  36. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  37. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/packages/stencil/lottery-oddsbom-ticket-result/stencil.config.d.ts +2 -0
  38. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/packages/stencil/lottery-oddsbom-ticket-result/stencil.config.dev.d.ts +2 -0
  39. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/packages/stencil/lottery-oddsbom-ticket-result/storybook/main.d.ts +3 -0
  40. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/packages/stencil/lottery-oddsbom-ticket-result/storybook/preview.d.ts +70 -0
  41. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/tools/plugins/index.d.ts +4 -0
  42. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
  43. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  44. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  45. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-oddsbom-ticket-result/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  46. package/dist/types/components/lottery-oddsbom-ticket-result/index.d.ts +1 -0
  47. package/dist/types/components/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result.d.ts +61 -0
  48. package/dist/types/components.d.ts +113 -0
  49. package/dist/types/index.d.ts +1 -0
  50. package/dist/types/models/index.d.ts +16 -0
  51. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  52. package/dist/types/utils/api.d.ts +8 -0
  53. package/dist/types/utils/locale.utils.d.ts +2 -0
  54. package/dist/types/utils/utils.d.ts +8 -0
  55. package/loader/cdn.js +1 -0
  56. package/loader/index.cjs.js +1 -0
  57. package/loader/index.d.ts +24 -0
  58. package/loader/index.es2017.js +1 -0
  59. package/loader/index.js +2 -0
  60. package/loader/package.json +11 -0
  61. package/package.json +27 -0
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2be14604.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ /*
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
+ */
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-oddsbom-ticket-result.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
18
+ };
19
+
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["lottery-oddsbom-bullet_2.cjs",[[1,"lottery-oddsbom-ticket-result",{"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"],"defaultResults":[513,"default-results"],"splitView":[516,"split-view"],"allResults":[32],"ticketBetDataSource":[32],"isLoading":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"drawId":["fetchMatchData"],"defaultResults":["fetchMatchData"]}],[1,"lottery-oddsbom-bullet",{"isSelected":[516,"is-selected"],"disabled":[516],"text":[513],"idx":[514],"isReading":[516,"is-reading"],"isDeleteByIcon":[516,"is-delete-by-icon"],"isCallDialogBtn":[516,"is-call-dialog-btn"],"isAddedByMoreBtn":[516,"is-added-by-more-btn"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
23
+ });
24
+
25
+ exports.setNonce = index.setNonce;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "components/lottery-oddsbom-ticket-result/lottery-oddsbom-ticket-result.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
+ },
10
+ "collections": [
11
+ {
12
+ "name": "@everymatrix/lottery-oddsbom-bullet",
13
+ "tags": [
14
+ "lottery-oddsbom-bullet"
15
+ ]
16
+ }
17
+ ],
18
+ "bundles": []
19
+ }
@@ -0,0 +1 @@
1
+ export { LotteryOddsbomTicketResult } from './lottery-oddsbom-ticket-result';
@@ -0,0 +1,221 @@
1
+ .LotteryTippingTicketBet__container {
2
+ display: block; /* Or inline-block, depending on desired layout flow */
3
+ font-size: 14px;
4
+ line-height: 1.5715;
5
+ color: var(--emw--color-typography, #000);
6
+ background: var(--emw--color-background, #fff);
7
+ overflow: hidden;
8
+ min-width: 300px;
9
+ container-type: inline-size;
10
+ }
11
+ @container (max-width: 375px) {
12
+ .LotteryTippingTicketBet__container {
13
+ font-size: 12px;
14
+ }
15
+ }
16
+
17
+ .my-table-component {
18
+ width: 100%;
19
+ border-collapse: collapse; /* Important for borders */
20
+ text-align: left;
21
+ border-radius: 0.1rem; /* Ant Design like subtle rounding */
22
+ border-spacing: 0;
23
+ }
24
+
25
+ /* Header */
26
+ .my-table-component th {
27
+ background: var(--emw--color-background-secondary, #f5f5f5);
28
+ color: var(--emw--color-typography, #000);
29
+ font-weight: 600;
30
+ padding: 0.4rem 0.5rem;
31
+ transition: background 0.3s ease;
32
+ }
33
+
34
+ /* Cells */
35
+ .my-table-component td {
36
+ padding: 0.4rem 0.5rem;
37
+ color: var(--emw--color-typography, #000);
38
+ background: var(--emw--color-background, #fff);
39
+ transition: background 0.3s;
40
+ }
41
+ @container (max-width: 400px) {
42
+ .my-table-component td {
43
+ padding: 0.3rem 0.3rem;
44
+ }
45
+ }
46
+
47
+ .my-table-component.bordered th,
48
+ .my-table-component.bordered td {
49
+ border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);
50
+ }
51
+
52
+ /* Bordered style */
53
+ .my-table-component.grid th,
54
+ .my-table-component.grid td {
55
+ border: 1px solid var(--emw--color-gray-100, #e6e6e6);
56
+ }
57
+
58
+ .my-table-component.grid th {
59
+ border-bottom-width: 1px; /* Ensure bottom border is consistent */
60
+ }
61
+
62
+ .my-table-component.grid {
63
+ border: 1px solid var(--emw--color-gray-100, #e6e6e6); /* Outer border */
64
+ border-right-width: 0;
65
+ border-bottom-width: 0;
66
+ }
67
+
68
+ .my-table-component.grid th:last-child,
69
+ .my-table-component.grid td:last-child {
70
+ border-right: 1px solid var(--emw--color-gray-100, #e6e6e6);
71
+ }
72
+
73
+ .my-table-component.grid tr:last-child td {
74
+ border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);
75
+ }
76
+
77
+ /* Striped style */
78
+ .my-table-component.striped tbody tr:nth-child(even) td {
79
+ background-color: var(--emw--color-background-secondary, #f5f5f5);
80
+ }
81
+
82
+ /* Hover (optional, but nice) */
83
+ .my-table-component tbody tr:hover td {
84
+ background-color: var(--emw--color-background-secondary, #f5f5f5);
85
+ }
86
+
87
+ .flex {
88
+ display: flex;
89
+ }
90
+
91
+ .justify-end {
92
+ justify-content: flex-end;
93
+ }
94
+
95
+ .gap-1 {
96
+ gap: 4px;
97
+ }
98
+
99
+ .justify-between {
100
+ justify-content: space-between;
101
+ }
102
+
103
+ .align-center {
104
+ align-items: center;
105
+ }
106
+
107
+ .gap-1 {
108
+ gap: 0.5rem;
109
+ }
110
+
111
+ .match-info-item {
112
+ display: flex;
113
+ }
114
+
115
+ .match-info-item-label {
116
+ margin-right: 6px;
117
+ }
118
+
119
+ .info-icon:hover {
120
+ cursor: pointer;
121
+ }
122
+
123
+ .LotteryTippingTicketBet__empty p {
124
+ text-align: center;
125
+ }
126
+
127
+ .no-wrap {
128
+ white-space: nowrap;
129
+ overflow: hidden;
130
+ }
131
+
132
+ .eventNameContainer__item {
133
+ line-height: 1rem;
134
+ }
135
+ .eventNameContainer__item--title {
136
+ white-space: nowrap;
137
+ overflow: hidden;
138
+ text-overflow: ellipsis;
139
+ max-width: 300px;
140
+ }
141
+ @container (max-width: 600px) {
142
+ .eventNameContainer__item--title {
143
+ max-width: 180px;
144
+ }
145
+ }
146
+ @container (max-width: 500px) {
147
+ .eventNameContainer__item--title {
148
+ max-width: 150px;
149
+ }
150
+ }
151
+ @container (max-width: 400px) {
152
+ .eventNameContainer__item--title {
153
+ max-width: 100px;
154
+ }
155
+ }
156
+ @container (max-width: 330px) {
157
+ .eventNameContainer__item--title {
158
+ max-width: 70px;
159
+ }
160
+ }
161
+
162
+ .LotteryTippingTicketBet__main {
163
+ perspective: 800px;
164
+ will-change: transform, opacity;
165
+ backface-visibility: hidden;
166
+ }
167
+
168
+ @container (max-width: 520px) {
169
+ .LotteryTippingTicketBet__main {
170
+ flex-wrap: wrap;
171
+ justify-content: center;
172
+ }
173
+ }
174
+ .loading-wrap {
175
+ margin: 20px 0;
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ min-height: 40vh;
180
+ }
181
+ .loading-wrap .dots-container {
182
+ display: flex;
183
+ align-items: center;
184
+ justify-content: center;
185
+ height: 100%;
186
+ width: 100%;
187
+ }
188
+ .loading-wrap .dot {
189
+ height: 14px;
190
+ width: 14px;
191
+ margin-right: 14px;
192
+ border-radius: 14px;
193
+ background-color: var(--emw--color-gray-300, #333);
194
+ animation: pulse 1.5s infinite ease-in-out;
195
+ }
196
+ .loading-wrap .dot:last-child {
197
+ margin-right: 0;
198
+ }
199
+ .loading-wrap .dot:nth-child(1) {
200
+ animation-delay: -0.3s;
201
+ }
202
+ .loading-wrap .dot:nth-child(2) {
203
+ animation-delay: -0.1s;
204
+ }
205
+ .loading-wrap .dot:nth-child(3) {
206
+ animation-delay: 0.1s;
207
+ }
208
+ @keyframes pulse {
209
+ 0% {
210
+ transform: scale(0.8);
211
+ background-color: var(--emw--color-gray-300, #333);
212
+ }
213
+ 50% {
214
+ transform: scale(1.2);
215
+ background-color: var(--emw--color-gray-100, #e6e6e6);
216
+ }
217
+ 100% {
218
+ transform: scale(0.8);
219
+ background-color: var(--emw--color-gray-150, #6f6f6f);
220
+ }
221
+ }
@@ -0,0 +1,413 @@
1
+ import { h } from "@stencil/core";
2
+ import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
3
+ import "../../../../../lottery-oddsbom-bullet/dist/types/index";
4
+ import { buildTicketBetDataSource } from "../../utils/api";
5
+ import { resolveTranslationUrl, translate } from "../../utils/locale.utils";
6
+ import { formatDate } from "../../utils/utils";
7
+ export class LotteryOddsbomTicketResult {
8
+ constructor() {
9
+ this.latestRequestId = 0;
10
+ this.mbSource = undefined;
11
+ this.clientStyling = undefined;
12
+ this.clientStylingUrl = undefined;
13
+ this.translationUrl = '';
14
+ this.language = 'en';
15
+ this.sessionId = undefined;
16
+ this.endpoint = '';
17
+ this.gameId = undefined;
18
+ this.drawId = undefined;
19
+ this.defaultResults = undefined;
20
+ this.splitView = false;
21
+ this.allResults = undefined;
22
+ this.ticketBetDataSource = [];
23
+ this.isLoading = false;
24
+ }
25
+ handleClientStylingChange(newValue, oldValue) {
26
+ if (newValue !== oldValue) {
27
+ setClientStyling(this.stylingContainer, this.clientStyling);
28
+ }
29
+ }
30
+ handleClientStylingUrlChange(newValue, oldValue) {
31
+ if (newValue !== oldValue) {
32
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
33
+ }
34
+ }
35
+ handleMbSourceChange(newValue, oldValue) {
36
+ if (newValue !== oldValue) {
37
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
38
+ }
39
+ }
40
+ componentDidLoad() {
41
+ if (this.stylingContainer) {
42
+ if (this.mbSource)
43
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
44
+ if (this.clientStyling)
45
+ setClientStyling(this.stylingContainer, this.clientStyling);
46
+ if (this.clientStylingUrl)
47
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
48
+ }
49
+ }
50
+ disconnectedCallback() {
51
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
52
+ }
53
+ componentWillLoad() {
54
+ resolveTranslationUrl(this.translationUrl);
55
+ this.fetchMatchData();
56
+ }
57
+ async fetchMatchData() {
58
+ const currentId = ++this.latestRequestId;
59
+ if (!this.gameId || !this.drawId) {
60
+ return;
61
+ }
62
+ try {
63
+ if (this.defaultResults)
64
+ this.allResults = JSON.parse(this.defaultResults);
65
+ this.isLoading = true;
66
+ const res = await buildTicketBetDataSource({
67
+ endpoint: this.endpoint,
68
+ gameId: this.gameId,
69
+ drawId: this.drawId,
70
+ results: this.allResults || [[]],
71
+ splitView: this.splitView
72
+ });
73
+ if (currentId === this.latestRequestId) {
74
+ this.ticketBetDataSource = res;
75
+ }
76
+ }
77
+ finally {
78
+ if (currentId === this.latestRequestId) {
79
+ this.isLoading = false;
80
+ }
81
+ }
82
+ }
83
+ get columns() {
84
+ const dateRender = (_, value) => formatDate({ date: value, format: 'ccc dd/MM HH:mm' });
85
+ if (this.splitView) {
86
+ return [
87
+ {
88
+ title: 'No.',
89
+ value: 'index',
90
+ width: 5,
91
+ rowSpan: 2
92
+ },
93
+ {
94
+ title: 'Date',
95
+ value: 'startTime',
96
+ width: 25,
97
+ rowSpan: 2,
98
+ nowrap: true,
99
+ render: dateRender
100
+ },
101
+ {
102
+ title: 'Team',
103
+ value: 'teamName',
104
+ width: 30
105
+ },
106
+ {
107
+ title: 'Scores',
108
+ value: 'results',
109
+ width: 45,
110
+ render: (_, value) => (h("div", { class: "flex gap-1" }, value.map((i) => (h("lottery-oddsbom-bullet", { text: i, "is-reading": true, "is-selected": true })))))
111
+ }
112
+ ];
113
+ }
114
+ const eventNameRender = (_, value) => (h("div", { class: "flex gap-1 eventNameContainer__item" }, h("span", { class: "eventNameContainer__item--title" }, value)));
115
+ return [
116
+ {
117
+ title: 'Match',
118
+ value: 'eventName',
119
+ width: 50,
120
+ render: eventNameRender
121
+ },
122
+ {
123
+ title: 'Date',
124
+ value: 'startTime',
125
+ width: 25,
126
+ nowrap: true,
127
+ render: dateRender
128
+ },
129
+ {
130
+ title: 'Match Result',
131
+ value: 'results',
132
+ width: 25,
133
+ render: (_, value) => h("div", null, value === null || value === void 0 ? void 0 : value[0])
134
+ }
135
+ ];
136
+ }
137
+ renderLoading() {
138
+ return (h("div", { class: "loading-wrap" }, h("section", { class: "dots-container" }, h("div", { class: "dot" }), h("div", { class: "dot" }), h("div", { class: "dot" }), h("div", { class: "dot" }), h("div", { class: "dot" }))));
139
+ }
140
+ renderEmpty() {
141
+ return (h("div", { class: "LotteryTippingTicketBet__empty" }, h("p", null, translate('noData', this.language))));
142
+ }
143
+ renderTable({ columns, dataSource, hideHead = false, grid = true, bordered = true }) {
144
+ const skipMap = {};
145
+ return (h("table", { class: { bordered: bordered, grid: grid, 'my-table-component': true } }, !hideHead && (h("thead", null, h("tr", null, columns.map((column) => {
146
+ var _a;
147
+ return (h("th", { key: column.value, style: { width: column.width + '%', textAlign: column.align } }, typeof column.title === 'string' ? column.title : (_a = column.title) === null || _a === void 0 ? void 0 : _a.call(column)));
148
+ })))), h("tbody", null, dataSource.map((row, index) => (h("tr", { key: index }, columns.map((column) => {
149
+ if (skipMap[column.value] && skipMap[column.value] > 0) {
150
+ skipMap[column.value]--;
151
+ return null;
152
+ }
153
+ const span = column.rowSpan;
154
+ if (span && span > 1) {
155
+ skipMap[column.value] = span - 1;
156
+ }
157
+ return (h("td", { key: column.value, rowSpan: span, style: { width: column.width + '%', textAlign: column.align }, class: { 'no-wrap': column.nowrap } }, column.render ? column.render(row, row[column.value], index) : row[column.value]));
158
+ })))))));
159
+ }
160
+ renderContent() {
161
+ if (this.isLoading) {
162
+ return this.renderLoading();
163
+ }
164
+ if (!this.ticketBetDataSource || this.ticketBetDataSource.length === 0) {
165
+ return this.renderEmpty();
166
+ }
167
+ return (h("div", { class: "flex align-center LotteryTippingTicketBet__main" }, this.renderTable({
168
+ columns: this.columns,
169
+ dataSource: this.ticketBetDataSource || [],
170
+ hideHead: false,
171
+ grid: false,
172
+ bordered: false
173
+ })));
174
+ }
175
+ render() {
176
+ return (h("div", { key: '9932926b2958b13636d617cc20a0c77a76a36ebe', ref: (el) => (this.stylingContainer = el), class: "LotteryTippingTicketBet__container" }, this.renderContent()));
177
+ }
178
+ static get is() { return "lottery-oddsbom-ticket-result"; }
179
+ static get encapsulation() { return "shadow"; }
180
+ static get originalStyleUrls() {
181
+ return {
182
+ "$": ["lottery-oddsbom-ticket-result.scss"]
183
+ };
184
+ }
185
+ static get styleUrls() {
186
+ return {
187
+ "$": ["lottery-oddsbom-ticket-result.css"]
188
+ };
189
+ }
190
+ static get properties() {
191
+ return {
192
+ "mbSource": {
193
+ "type": "string",
194
+ "mutable": false,
195
+ "complexType": {
196
+ "original": "string",
197
+ "resolved": "string",
198
+ "references": {}
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": "Client custom styling via message bus"
205
+ },
206
+ "attribute": "mb-source",
207
+ "reflect": true
208
+ },
209
+ "clientStyling": {
210
+ "type": "string",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "string",
214
+ "resolved": "string",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "Client custom styling via string"
222
+ },
223
+ "attribute": "client-styling",
224
+ "reflect": true
225
+ },
226
+ "clientStylingUrl": {
227
+ "type": "string",
228
+ "mutable": false,
229
+ "complexType": {
230
+ "original": "string",
231
+ "resolved": "string",
232
+ "references": {}
233
+ },
234
+ "required": false,
235
+ "optional": false,
236
+ "docs": {
237
+ "tags": [],
238
+ "text": "Client custom styling via css file url"
239
+ },
240
+ "attribute": "client-styling-url",
241
+ "reflect": true
242
+ },
243
+ "translationUrl": {
244
+ "type": "string",
245
+ "mutable": false,
246
+ "complexType": {
247
+ "original": "string",
248
+ "resolved": "string",
249
+ "references": {}
250
+ },
251
+ "required": false,
252
+ "optional": false,
253
+ "docs": {
254
+ "tags": [],
255
+ "text": "Client custom translation via json file url"
256
+ },
257
+ "attribute": "translation-url",
258
+ "reflect": true,
259
+ "defaultValue": "''"
260
+ },
261
+ "language": {
262
+ "type": "string",
263
+ "mutable": false,
264
+ "complexType": {
265
+ "original": "string",
266
+ "resolved": "string",
267
+ "references": {}
268
+ },
269
+ "required": false,
270
+ "optional": false,
271
+ "docs": {
272
+ "tags": [],
273
+ "text": "Client custom language for translation"
274
+ },
275
+ "attribute": "language",
276
+ "reflect": true,
277
+ "defaultValue": "'en'"
278
+ },
279
+ "sessionId": {
280
+ "type": "string",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "string",
284
+ "resolved": "string",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": false,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": "GIC Session"
292
+ },
293
+ "attribute": "session-id",
294
+ "reflect": true
295
+ },
296
+ "endpoint": {
297
+ "type": "string",
298
+ "mutable": false,
299
+ "complexType": {
300
+ "original": "string",
301
+ "resolved": "string",
302
+ "references": {}
303
+ },
304
+ "required": false,
305
+ "optional": false,
306
+ "docs": {
307
+ "tags": [],
308
+ "text": "Endpoint URL for the source of data"
309
+ },
310
+ "attribute": "endpoint",
311
+ "reflect": true,
312
+ "defaultValue": "''"
313
+ },
314
+ "gameId": {
315
+ "type": "string",
316
+ "mutable": false,
317
+ "complexType": {
318
+ "original": "string",
319
+ "resolved": "string",
320
+ "references": {}
321
+ },
322
+ "required": false,
323
+ "optional": false,
324
+ "docs": {
325
+ "tags": [],
326
+ "text": "ID of the pool game"
327
+ },
328
+ "attribute": "game-id",
329
+ "reflect": true
330
+ },
331
+ "drawId": {
332
+ "type": "string",
333
+ "mutable": false,
334
+ "complexType": {
335
+ "original": "string",
336
+ "resolved": "string",
337
+ "references": {}
338
+ },
339
+ "required": false,
340
+ "optional": false,
341
+ "docs": {
342
+ "tags": [],
343
+ "text": "ID of the pool game draw"
344
+ },
345
+ "attribute": "draw-id",
346
+ "reflect": true
347
+ },
348
+ "defaultResults": {
349
+ "type": "string",
350
+ "mutable": false,
351
+ "complexType": {
352
+ "original": "string",
353
+ "resolved": "string",
354
+ "references": {}
355
+ },
356
+ "required": false,
357
+ "optional": false,
358
+ "docs": {
359
+ "tags": [],
360
+ "text": ""
361
+ },
362
+ "attribute": "default-results",
363
+ "reflect": true
364
+ },
365
+ "splitView": {
366
+ "type": "boolean",
367
+ "mutable": false,
368
+ "complexType": {
369
+ "original": "boolean",
370
+ "resolved": "boolean",
371
+ "references": {}
372
+ },
373
+ "required": false,
374
+ "optional": false,
375
+ "docs": {
376
+ "tags": [],
377
+ "text": ""
378
+ },
379
+ "attribute": "split-view",
380
+ "reflect": true,
381
+ "defaultValue": "false"
382
+ }
383
+ };
384
+ }
385
+ static get states() {
386
+ return {
387
+ "allResults": {},
388
+ "ticketBetDataSource": {},
389
+ "isLoading": {}
390
+ };
391
+ }
392
+ static get watchers() {
393
+ return [{
394
+ "propName": "clientStyling",
395
+ "methodName": "handleClientStylingChange"
396
+ }, {
397
+ "propName": "clientStylingUrl",
398
+ "methodName": "handleClientStylingUrlChange"
399
+ }, {
400
+ "propName": "mbSource",
401
+ "methodName": "handleMbSourceChange"
402
+ }, {
403
+ "propName": "gameId",
404
+ "methodName": "fetchMatchData"
405
+ }, {
406
+ "propName": "drawId",
407
+ "methodName": "fetchMatchData"
408
+ }, {
409
+ "propName": "defaultResults",
410
+ "methodName": "fetchMatchData"
411
+ }];
412
+ }
413
+ }
@@ -0,0 +1 @@
1
+ export * from './components/lottery-oddsbom-ticket-result';
@@ -0,0 +1,2 @@
1
+ ;
2
+ export {};