@everymatrix/lottery-ticket-controller 1.44.0 → 1.45.0
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.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/helper-accordion_5.cjs.entry.js +570 -697
- package/dist/cjs/index-2275f129.js +1304 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/lottery-ticket-controller.cjs.js +17 -11
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/lottery-ticket-controller/index.js +1 -0
- package/dist/collection/components/lottery-ticket-controller/lottery-ticket-controller.css +1 -1
- package/dist/collection/components/lottery-ticket-controller/lottery-ticket-controller.js +371 -399
- package/dist/collection/utils/locale.utils.js +17 -17
- package/dist/collection/utils/utils.js +1 -1
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/helper-accordion_5.entry.js +570 -697
- package/dist/esm/index-cf1a7f99.js +1277 -0
- package/dist/esm/loader.js +7 -13
- package/dist/esm/lottery-ticket-controller.js +14 -11
- package/dist/lottery-ticket-controller/lottery-ticket-controller.esm.js +1 -1
- package/dist/lottery-ticket-controller/p-5d5cd019.entry.js +1 -0
- package/dist/lottery-ticket-controller/p-e1255160.js +1 -0
- package/dist/lottery-ticket-controller/p-ee226061.js +2 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/lottery-ticket-controller/index.d.ts +1 -0
- package/dist/types/components/lottery-ticket-controller/lottery-ticket-controller.d.ts +70 -70
- package/dist/types/components.d.ts +16 -1
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +10 -3
- package/dist/cjs/index-797fecd9.js +0 -1286
- package/dist/components/helper-accordion.js +0 -6
- package/dist/components/helper-accordion2.js +0 -158
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/lottery-bullet.js +0 -6
- package/dist/components/lottery-bullet2.js +0 -91
- package/dist/components/lottery-grid.js +0 -6
- package/dist/components/lottery-grid2.js +0 -245
- package/dist/components/lottery-ticket-controller.d.ts +0 -11
- package/dist/components/lottery-ticket-controller.js +0 -185
- package/dist/components/lottery-ticket.js +0 -6
- package/dist/components/lottery-ticket2.js +0 -273
- package/dist/esm/index-c4bda097.js +0 -1260
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/lottery-ticket-controller/p-1f81b6df.js +0 -1
- package/dist/lottery-ticket-controller/p-2577bcb1.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/lottery-ticket-controller/.stencil/packages/lottery-ticket-controller/stencil.config.d.ts +0 -2
|
@@ -1,404 +1,376 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { translate } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import "../../../../../helper-accordion/dist/types/index";
|
|
3
|
+
import "../../../../../lottery-ticket/dist/types/index";
|
|
4
|
+
import { translate } from "../../utils/locale.utils";
|
|
5
5
|
export class LotteryTicketController {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Language
|
|
37
|
-
*/
|
|
38
|
-
this.language = 'en';
|
|
39
|
-
/**
|
|
40
|
-
* Shows the auto-pick button
|
|
41
|
-
*/
|
|
42
|
-
this.autoPick = false;
|
|
43
|
-
/**
|
|
44
|
-
* Shows the reset button
|
|
45
|
-
*/
|
|
46
|
-
this.resetButton = false;
|
|
47
|
-
/**
|
|
48
|
-
* Number of ticket controllers
|
|
49
|
-
*/
|
|
50
|
-
this.totalControllers = 1;
|
|
51
|
-
/**
|
|
52
|
-
* Client custom styling via string
|
|
53
|
-
*/
|
|
54
|
-
this.clientStyling = '';
|
|
55
|
-
/**
|
|
56
|
-
* Client custom styling via url content
|
|
57
|
-
*/
|
|
58
|
-
this.clientStylingUrlContent = '';
|
|
59
|
-
this.limitStylingAppends = false;
|
|
60
|
-
this.setClientStyling = () => {
|
|
61
|
-
let sheet = document.createElement('style');
|
|
62
|
-
sheet.innerHTML = this.clientStyling;
|
|
63
|
-
this.stylingContainer.prepend(sheet);
|
|
64
|
-
};
|
|
65
|
-
this.setClientStylingURL = () => {
|
|
66
|
-
let cssFile = document.createElement('style');
|
|
67
|
-
setTimeout(() => {
|
|
68
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
69
|
-
this.stylingContainer.prepend(cssFile);
|
|
70
|
-
}, 1);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
// @TODO fix the `any` type
|
|
74
|
-
helperAccordionActionHandler() {
|
|
75
|
-
if (this.postMessage) {
|
|
76
|
-
window.postMessage({ type: this.eventName }, window.location.href);
|
|
6
|
+
constructor() {
|
|
7
|
+
this.setClientStyling = () => {
|
|
8
|
+
let sheet = document.createElement('style');
|
|
9
|
+
sheet.innerHTML = this.clientStyling;
|
|
10
|
+
this.stylingContainer.prepend(sheet);
|
|
11
|
+
};
|
|
12
|
+
this.setClientStylingURL = () => {
|
|
13
|
+
let cssFile = document.createElement('style');
|
|
14
|
+
setTimeout(() => {
|
|
15
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
16
|
+
this.stylingContainer.prepend(cssFile);
|
|
17
|
+
}, 1);
|
|
18
|
+
};
|
|
19
|
+
this.endpoint = '';
|
|
20
|
+
this.ticketId = 1;
|
|
21
|
+
this.ticketDescription = undefined;
|
|
22
|
+
this.gameId = undefined;
|
|
23
|
+
this.postMessage = false;
|
|
24
|
+
this.eventName = 'deleteTicketAction';
|
|
25
|
+
this.collapsed = true;
|
|
26
|
+
this.numberOfGrids = 1;
|
|
27
|
+
this.last = false;
|
|
28
|
+
this.language = 'en';
|
|
29
|
+
this.autoPick = false;
|
|
30
|
+
this.resetButton = false;
|
|
31
|
+
this.totalControllers = 1;
|
|
32
|
+
this.clientStyling = '';
|
|
33
|
+
this.clientStylingUrlContent = '';
|
|
34
|
+
this.limitStylingAppends = false;
|
|
77
35
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
this.setClientStyling();
|
|
87
|
-
if (this.clientStylingUrlContent)
|
|
88
|
-
this.setClientStylingURL();
|
|
89
|
-
this.limitStylingAppends = true;
|
|
36
|
+
// @TODO fix the `any` type
|
|
37
|
+
helperAccordionActionHandler() {
|
|
38
|
+
if (this.postMessage) {
|
|
39
|
+
window.postMessage({ type: this.eventName }, window.location.href);
|
|
40
|
+
}
|
|
41
|
+
this.deleteTicketEvent.emit({
|
|
42
|
+
ticketId: this.ticketId
|
|
43
|
+
});
|
|
90
44
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
45
|
+
componentDidRender() {
|
|
46
|
+
// start custom styling area
|
|
47
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
48
|
+
if (this.clientStyling)
|
|
49
|
+
this.setClientStyling();
|
|
50
|
+
if (this.clientStylingUrlContent)
|
|
51
|
+
this.setClientStylingURL();
|
|
52
|
+
this.limitStylingAppends = true;
|
|
53
|
+
}
|
|
54
|
+
// end custom styling area
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
console.log('ticket id:', this.ticketId);
|
|
58
|
+
return (h("div", { key: '203c89c4b240cd7c99eb3d37fa3a4dbc17ed18e3', class: "LotteryTicketControllerContainer", ref: el => this.stylingContainer = el }, h("helper-accordion", { key: 'ad9801b15a1718ff7470ab3084c4b569ad23f6e3', "header-title": `${translate('ticket', this.language)} ${this.ticketId}`, "header-subtitle": this.ticketDescription, footer: true, "delete-tab": this.totalControllers !== 1, collapsed: !this.last || this.collapsed, language: this.language, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h("div", { key: 'b9c618987e848d4b44fee6941f8b5c9696bd44e8', slot: "accordionContent" }, h("lottery-ticket", { key: '8acdc3d3cce5b654e7cddd71576c2e993881786f', endpoint: this.endpoint, "game-id": this.gameId, "ticket-id": this.ticketId, "number-of-grids": this.numberOfGrids, language: this.language, "reset-button": this.resetButton, "auto-pick": this.autoPick, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })))));
|
|
59
|
+
}
|
|
60
|
+
static get is() { return "lottery-ticket-controller"; }
|
|
61
|
+
static get encapsulation() { return "shadow"; }
|
|
62
|
+
static get originalStyleUrls() {
|
|
63
|
+
return {
|
|
64
|
+
"$": ["lottery-ticket-controller.scss"]
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static get styleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["lottery-ticket-controller.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get properties() {
|
|
73
|
+
return {
|
|
74
|
+
"endpoint": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "string",
|
|
79
|
+
"resolved": "string",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "Endpoint URL for the source of data (NorWAy standard)"
|
|
87
|
+
},
|
|
88
|
+
"attribute": "endpoint",
|
|
89
|
+
"reflect": true,
|
|
90
|
+
"defaultValue": "''"
|
|
91
|
+
},
|
|
92
|
+
"ticketId": {
|
|
93
|
+
"type": "number",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "number",
|
|
97
|
+
"resolved": "number",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": false,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": "Ticket number"
|
|
105
|
+
},
|
|
106
|
+
"attribute": "ticket-id",
|
|
107
|
+
"reflect": true,
|
|
108
|
+
"defaultValue": "1"
|
|
109
|
+
},
|
|
110
|
+
"ticketDescription": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"mutable": false,
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "string",
|
|
115
|
+
"resolved": "string",
|
|
116
|
+
"references": {}
|
|
117
|
+
},
|
|
118
|
+
"required": false,
|
|
119
|
+
"optional": false,
|
|
120
|
+
"docs": {
|
|
121
|
+
"tags": [],
|
|
122
|
+
"text": "Ticket header description"
|
|
123
|
+
},
|
|
124
|
+
"attribute": "ticket-description",
|
|
125
|
+
"reflect": true
|
|
126
|
+
},
|
|
127
|
+
"gameId": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "string",
|
|
132
|
+
"resolved": "string",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": false,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": "ID of the lottery game"
|
|
140
|
+
},
|
|
141
|
+
"attribute": "game-id",
|
|
142
|
+
"reflect": true
|
|
143
|
+
},
|
|
144
|
+
"postMessage": {
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"mutable": false,
|
|
147
|
+
"complexType": {
|
|
148
|
+
"original": "boolean",
|
|
149
|
+
"resolved": "boolean",
|
|
150
|
+
"references": {}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Activates postMessages as events for actions from the widget"
|
|
157
|
+
},
|
|
158
|
+
"attribute": "post-message",
|
|
159
|
+
"reflect": true,
|
|
160
|
+
"defaultValue": "false"
|
|
161
|
+
},
|
|
162
|
+
"eventName": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "Name of the event emitter by the action button"
|
|
175
|
+
},
|
|
176
|
+
"attribute": "event-name",
|
|
177
|
+
"reflect": true,
|
|
178
|
+
"defaultValue": "'deleteTicketAction'"
|
|
179
|
+
},
|
|
180
|
+
"collapsed": {
|
|
181
|
+
"type": "boolean",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "boolean",
|
|
185
|
+
"resolved": "boolean",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "Collapsed"
|
|
193
|
+
},
|
|
194
|
+
"attribute": "collapsed",
|
|
195
|
+
"reflect": true,
|
|
196
|
+
"defaultValue": "true"
|
|
197
|
+
},
|
|
198
|
+
"numberOfGrids": {
|
|
199
|
+
"type": "number",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "number",
|
|
203
|
+
"resolved": "number",
|
|
204
|
+
"references": {}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": false,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "Number of grids?"
|
|
211
|
+
},
|
|
212
|
+
"attribute": "number-of-grids",
|
|
213
|
+
"reflect": true,
|
|
214
|
+
"defaultValue": "1"
|
|
215
|
+
},
|
|
216
|
+
"last": {
|
|
217
|
+
"type": "boolean",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "boolean",
|
|
221
|
+
"resolved": "boolean",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": false,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "This toggles if the last ticket added should be expanded or not"
|
|
229
|
+
},
|
|
230
|
+
"attribute": "last",
|
|
231
|
+
"reflect": true,
|
|
232
|
+
"defaultValue": "false"
|
|
233
|
+
},
|
|
234
|
+
"language": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"mutable": false,
|
|
237
|
+
"complexType": {
|
|
238
|
+
"original": "string",
|
|
239
|
+
"resolved": "string",
|
|
240
|
+
"references": {}
|
|
241
|
+
},
|
|
242
|
+
"required": false,
|
|
243
|
+
"optional": false,
|
|
244
|
+
"docs": {
|
|
245
|
+
"tags": [],
|
|
246
|
+
"text": "Language"
|
|
247
|
+
},
|
|
248
|
+
"attribute": "language",
|
|
249
|
+
"reflect": true,
|
|
250
|
+
"defaultValue": "'en'"
|
|
251
|
+
},
|
|
252
|
+
"autoPick": {
|
|
253
|
+
"type": "boolean",
|
|
254
|
+
"mutable": false,
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "boolean",
|
|
257
|
+
"resolved": "boolean",
|
|
258
|
+
"references": {}
|
|
259
|
+
},
|
|
260
|
+
"required": false,
|
|
261
|
+
"optional": false,
|
|
262
|
+
"docs": {
|
|
263
|
+
"tags": [],
|
|
264
|
+
"text": "Shows the auto-pick button"
|
|
265
|
+
},
|
|
266
|
+
"attribute": "auto-pick",
|
|
267
|
+
"reflect": true,
|
|
268
|
+
"defaultValue": "false"
|
|
269
|
+
},
|
|
270
|
+
"resetButton": {
|
|
271
|
+
"type": "boolean",
|
|
272
|
+
"mutable": false,
|
|
273
|
+
"complexType": {
|
|
274
|
+
"original": "boolean",
|
|
275
|
+
"resolved": "boolean",
|
|
276
|
+
"references": {}
|
|
277
|
+
},
|
|
278
|
+
"required": false,
|
|
279
|
+
"optional": false,
|
|
280
|
+
"docs": {
|
|
281
|
+
"tags": [],
|
|
282
|
+
"text": "Shows the reset button"
|
|
283
|
+
},
|
|
284
|
+
"attribute": "reset-button",
|
|
285
|
+
"reflect": true,
|
|
286
|
+
"defaultValue": "false"
|
|
287
|
+
},
|
|
288
|
+
"totalControllers": {
|
|
289
|
+
"type": "number",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "number",
|
|
293
|
+
"resolved": "number",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Number of ticket controllers"
|
|
301
|
+
},
|
|
302
|
+
"attribute": "total-controllers",
|
|
303
|
+
"reflect": true,
|
|
304
|
+
"defaultValue": "1"
|
|
305
|
+
},
|
|
306
|
+
"clientStyling": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"mutable": false,
|
|
309
|
+
"complexType": {
|
|
310
|
+
"original": "string",
|
|
311
|
+
"resolved": "string",
|
|
312
|
+
"references": {}
|
|
313
|
+
},
|
|
314
|
+
"required": false,
|
|
315
|
+
"optional": false,
|
|
316
|
+
"docs": {
|
|
317
|
+
"tags": [],
|
|
318
|
+
"text": "Client custom styling via string"
|
|
319
|
+
},
|
|
320
|
+
"attribute": "client-styling",
|
|
321
|
+
"reflect": true,
|
|
322
|
+
"defaultValue": "''"
|
|
323
|
+
},
|
|
324
|
+
"clientStylingUrlContent": {
|
|
325
|
+
"type": "string",
|
|
326
|
+
"mutable": false,
|
|
327
|
+
"complexType": {
|
|
328
|
+
"original": "string",
|
|
329
|
+
"resolved": "string",
|
|
330
|
+
"references": {}
|
|
331
|
+
},
|
|
332
|
+
"required": false,
|
|
333
|
+
"optional": false,
|
|
334
|
+
"docs": {
|
|
335
|
+
"tags": [],
|
|
336
|
+
"text": "Client custom styling via url content"
|
|
337
|
+
},
|
|
338
|
+
"attribute": "client-styling-url-content",
|
|
339
|
+
"reflect": true,
|
|
340
|
+
"defaultValue": "''"
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
static get states() {
|
|
345
|
+
return {
|
|
346
|
+
"limitStylingAppends": {}
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
static get events() {
|
|
350
|
+
return [{
|
|
351
|
+
"method": "deleteTicketEvent",
|
|
352
|
+
"name": "deleteTicket",
|
|
353
|
+
"bubbles": true,
|
|
354
|
+
"cancelable": true,
|
|
355
|
+
"composed": true,
|
|
356
|
+
"docs": {
|
|
357
|
+
"tags": [],
|
|
358
|
+
"text": ""
|
|
359
|
+
},
|
|
360
|
+
"complexType": {
|
|
361
|
+
"original": "any",
|
|
362
|
+
"resolved": "any",
|
|
363
|
+
"references": {}
|
|
364
|
+
}
|
|
365
|
+
}];
|
|
366
|
+
}
|
|
367
|
+
static get listeners() {
|
|
368
|
+
return [{
|
|
369
|
+
"name": "helperAccordionAction",
|
|
370
|
+
"method": "helperAccordionActionHandler",
|
|
371
|
+
"target": undefined,
|
|
372
|
+
"capture": false,
|
|
373
|
+
"passive": false
|
|
374
|
+
}];
|
|
376
375
|
}
|
|
377
|
-
}; }
|
|
378
|
-
static get states() { return {
|
|
379
|
-
"limitStylingAppends": {}
|
|
380
|
-
}; }
|
|
381
|
-
static get events() { return [{
|
|
382
|
-
"method": "deleteTicketEvent",
|
|
383
|
-
"name": "deleteTicket",
|
|
384
|
-
"bubbles": true,
|
|
385
|
-
"cancelable": true,
|
|
386
|
-
"composed": true,
|
|
387
|
-
"docs": {
|
|
388
|
-
"tags": [],
|
|
389
|
-
"text": ""
|
|
390
|
-
},
|
|
391
|
-
"complexType": {
|
|
392
|
-
"original": "any",
|
|
393
|
-
"resolved": "any",
|
|
394
|
-
"references": {}
|
|
395
|
-
}
|
|
396
|
-
}]; }
|
|
397
|
-
static get listeners() { return [{
|
|
398
|
-
"name": "helperAccordionAction",
|
|
399
|
-
"method": "helperAccordionActionHandler",
|
|
400
|
-
"target": undefined,
|
|
401
|
-
"capture": false,
|
|
402
|
-
"passive": false
|
|
403
|
-
}]; }
|
|
404
376
|
}
|