@everymatrix/lottery-grid 1.73.0 → 1.73.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.
package/package.json
CHANGED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { html } from "lit";
|
|
2
|
-
import "@everymatrix/lottery-grid";
|
|
3
|
-
const meta = {
|
|
4
|
-
title: 'Lottery/Components/lottery-grid',
|
|
5
|
-
component: 'lottery-grid',
|
|
6
|
-
args: {
|
|
7
|
-
ticketId: "",
|
|
8
|
-
totalNumbers: "0",
|
|
9
|
-
gameId: "",
|
|
10
|
-
maximumAllowed: "7",
|
|
11
|
-
minimumAllowed: "3",
|
|
12
|
-
numberRange: "",
|
|
13
|
-
selectable: "true",
|
|
14
|
-
selectedNumbers: "",
|
|
15
|
-
secondaryNumbers: "",
|
|
16
|
-
displaySelected: "false",
|
|
17
|
-
language: "en",
|
|
18
|
-
gridIndex: "",
|
|
19
|
-
gridType: "",
|
|
20
|
-
clientStyling: "",
|
|
21
|
-
clientStylingUrlContent: "",
|
|
22
|
-
highNumber: "47",
|
|
23
|
-
lowNumber: "1",
|
|
24
|
-
selectionType: "mainSelection",
|
|
25
|
-
partialQuickpickAvailable: "false",
|
|
26
|
-
},
|
|
27
|
-
argTypes: {
|
|
28
|
-
ticketId: { control: 'text', description: '' },
|
|
29
|
-
totalNumbers: { control: 'text', description: '' },
|
|
30
|
-
gameId: { control: 'text', description: '' },
|
|
31
|
-
maximumAllowed: { control: 'text', description: '' },
|
|
32
|
-
minimumAllowed: { control: 'text', description: '' },
|
|
33
|
-
numberRange: { control: 'text', description: '' },
|
|
34
|
-
selectable: { control: 'text', description: '' },
|
|
35
|
-
selectedNumbers: { control: 'text', description: '' },
|
|
36
|
-
secondaryNumbers: { control: 'text', description: '' },
|
|
37
|
-
displaySelected: { control: 'text', description: '' },
|
|
38
|
-
language: { control: 'text', description: '' },
|
|
39
|
-
gridIndex: { control: 'text', description: '' },
|
|
40
|
-
gridType: { control: 'text', description: '' },
|
|
41
|
-
clientStyling: { control: 'text', description: '' },
|
|
42
|
-
clientStylingUrlContent: { control: 'text', description: '' },
|
|
43
|
-
highNumber: { control: 'text', description: '' },
|
|
44
|
-
lowNumber: { control: 'text', description: '' },
|
|
45
|
-
selectionType: { control: 'text', description: '' },
|
|
46
|
-
partialQuickpickAvailable: { control: 'text', description: '' },
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
export default meta;
|
|
50
|
-
const Template = (args) => {
|
|
51
|
-
return html `<lottery-grid
|
|
52
|
-
ticketId="${args.ticketId}"
|
|
53
|
-
totalNumbers="${args.totalNumbers}"
|
|
54
|
-
gameId="${args.gameId}"
|
|
55
|
-
maximumAllowed="${args.maximumAllowed}"
|
|
56
|
-
minimumAllowed="${args.minimumAllowed}"
|
|
57
|
-
numberRange="${args.numberRange}"
|
|
58
|
-
selectable="${args.selectable}"
|
|
59
|
-
selectedNumbers="${args.selectedNumbers}"
|
|
60
|
-
secondaryNumbers="${args.secondaryNumbers}"
|
|
61
|
-
displaySelected="${args.displaySelected}"
|
|
62
|
-
language="${args.language}"
|
|
63
|
-
gridIndex="${args.gridIndex}"
|
|
64
|
-
gridType="${args.gridType}"
|
|
65
|
-
clientStyling="${args.clientStyling}"
|
|
66
|
-
clientStylingUrlContent="${args.clientStylingUrlContent}"
|
|
67
|
-
highNumber="${args.highNumber}"
|
|
68
|
-
lowNumber="${args.lowNumber}"
|
|
69
|
-
selectionType="${args.selectionType}"
|
|
70
|
-
partialQuickpickAvailable="${args.partialQuickpickAvailable}"
|
|
71
|
-
></lottery-grid>`;
|
|
72
|
-
};
|
|
73
|
-
export const Default = Template.bind({});
|
|
74
|
-
Default.args = {
|
|
75
|
-
ticketId: "",
|
|
76
|
-
totalNumbers: "0",
|
|
77
|
-
gameId: "",
|
|
78
|
-
maximumAllowed: "7",
|
|
79
|
-
minimumAllowed: "3",
|
|
80
|
-
numberRange: "",
|
|
81
|
-
selectable: "true",
|
|
82
|
-
selectedNumbers: "",
|
|
83
|
-
secondaryNumbers: "",
|
|
84
|
-
displaySelected: "false",
|
|
85
|
-
language: "en",
|
|
86
|
-
gridIndex: "",
|
|
87
|
-
gridType: "",
|
|
88
|
-
clientStyling: "",
|
|
89
|
-
clientStylingUrlContent: "",
|
|
90
|
-
highNumber: "47",
|
|
91
|
-
lowNumber: "1",
|
|
92
|
-
selectionType: "mainSelection",
|
|
93
|
-
partialQuickpickAvailable: "false",
|
|
94
|
-
};
|