@everymatrix/lottery-hakuna-ticket 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 (59) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-14ac4886.js +1356 -0
  3. package/dist/cjs/index.cjs.js +10 -0
  4. package/dist/cjs/loader.cjs.js +15 -0
  5. package/dist/cjs/lottery-button_6.cjs.entry.js +967 -0
  6. package/dist/cjs/lottery-hakuna-ticket-a4c6f2d2.js +384 -0
  7. package/dist/cjs/lottery-hakuna-ticket.cjs.js +25 -0
  8. package/dist/collection/collection-manifest.json +43 -0
  9. package/dist/collection/components/lottery-hakuna-ticket/index.js +1 -0
  10. package/dist/collection/components/lottery-hakuna-ticket/lottery-hakuna-ticket.css +113 -0
  11. package/dist/collection/components/lottery-hakuna-ticket/lottery-hakuna-ticket.js +622 -0
  12. package/dist/collection/components/lottery-hakuna-ticket/lottery-hakuna-ticket.types.js +5 -0
  13. package/dist/collection/index.js +1 -0
  14. package/dist/collection/utils/locale.utils.js +85 -0
  15. package/dist/collection/utils/utils.js +3 -0
  16. package/dist/esm/app-globals-0f993ce5.js +3 -0
  17. package/dist/esm/index-032d8575.js +1328 -0
  18. package/dist/esm/index.js +2 -0
  19. package/dist/esm/loader.js +11 -0
  20. package/dist/esm/lottery-button_6.entry.js +959 -0
  21. package/dist/esm/lottery-hakuna-ticket-2019142e.js +379 -0
  22. package/dist/esm/lottery-hakuna-ticket.js +20 -0
  23. package/dist/index.cjs.js +1 -0
  24. package/dist/index.js +1 -0
  25. package/dist/lottery-hakuna-ticket/app-globals-0f993ce5.js +1 -0
  26. package/dist/lottery-hakuna-ticket/index-032d8575.js +2 -0
  27. package/dist/lottery-hakuna-ticket/index.esm.js +1 -0
  28. package/dist/lottery-hakuna-ticket/lottery-button_6.entry.js +1 -0
  29. package/dist/lottery-hakuna-ticket/lottery-hakuna-ticket-2019142e.js +1 -0
  30. package/dist/lottery-hakuna-ticket/lottery-hakuna-ticket.esm.js +1 -0
  31. package/dist/stencil.config.dev.js +19 -0
  32. package/dist/stencil.config.js +19 -0
  33. package/dist/storybook/main.js +43 -0
  34. package/dist/storybook/preview.js +9 -0
  35. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  36. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/packages/stencil/lottery-hakuna-ticket/stencil.config.d.ts +2 -0
  37. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/packages/stencil/lottery-hakuna-ticket/stencil.config.dev.d.ts +2 -0
  38. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/packages/stencil/lottery-hakuna-ticket/storybook/main.d.ts +3 -0
  39. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/packages/stencil/lottery-hakuna-ticket/storybook/preview.d.ts +70 -0
  40. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/tools/plugins/index.d.ts +4 -0
  41. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
  42. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  43. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  44. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  45. package/dist/types/components/lottery-hakuna-ticket/index.d.ts +1 -0
  46. package/dist/types/components/lottery-hakuna-ticket/lottery-hakuna-ticket.d.ts +110 -0
  47. package/dist/types/components/lottery-hakuna-ticket/lottery-hakuna-ticket.types.d.ts +97 -0
  48. package/dist/types/components.d.ts +190 -0
  49. package/dist/types/index.d.ts +1 -0
  50. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  51. package/dist/types/utils/locale.utils.d.ts +3 -0
  52. package/dist/types/utils/utils.d.ts +1 -0
  53. package/loader/cdn.js +1 -0
  54. package/loader/index.cjs.js +1 -0
  55. package/loader/index.d.ts +24 -0
  56. package/loader/index.es2017.js +1 -0
  57. package/loader/index.js +2 -0
  58. package/loader/package.json +11 -0
  59. package/package.json +27 -0
@@ -0,0 +1,190 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface LotteryHakunaTicket {
10
+ /**
11
+ * Whether quick pick is allowed
12
+ */
13
+ "allowQuickPick": boolean;
14
+ /**
15
+ * Client custom styling via string
16
+ */
17
+ "clientStyling": string;
18
+ /**
19
+ * Client custom styling via url content
20
+ */
21
+ "clientStylingUrl": string;
22
+ /**
23
+ * Disable delete button
24
+ */
25
+ "disableDelete": boolean;
26
+ /**
27
+ * Name of the game
28
+ */
29
+ "gameName": string;
30
+ /**
31
+ * The highest number in the range
32
+ */
33
+ "highNumber": number;
34
+ /**
35
+ * Whether the ticket is submitted
36
+ */
37
+ "isSubmitted": boolean;
38
+ /**
39
+ * Language
40
+ */
41
+ "language": string;
42
+ /**
43
+ * The lowest number in the range
44
+ */
45
+ "lowNumber": number;
46
+ /**
47
+ * Maximum numbers allowed to be selected
48
+ */
49
+ "maximumAllowed": number;
50
+ /**
51
+ * Client custom styling via message bus
52
+ */
53
+ "mbSource": string;
54
+ /**
55
+ * Minimum numbers allowed to be selected
56
+ */
57
+ "minimumAllowed": number;
58
+ /**
59
+ * Array defining the range of numbers
60
+ */
61
+ "numberRange": Array<number>;
62
+ /**
63
+ * Ticket ID
64
+ */
65
+ "ticketId": number;
66
+ /**
67
+ * Translations via parent component
68
+ */
69
+ "translationUrl"?: any;
70
+ /**
71
+ * Controls whether the ticket content should be rendered inside a collapsible accordion or directly
72
+ */
73
+ "useCollapse": boolean;
74
+ }
75
+ }
76
+ export interface LotteryHakunaTicketCustomEvent<T> extends CustomEvent<T> {
77
+ detail: T;
78
+ target: HTMLLotteryHakunaTicketElement;
79
+ }
80
+ declare global {
81
+ interface HTMLLotteryHakunaTicketElementEventMap {
82
+ "ticketUpdate": any;
83
+ "deleteTicket": any;
84
+ "editTicket": any;
85
+ "saveTicket": any;
86
+ }
87
+ interface HTMLLotteryHakunaTicketElement extends Components.LotteryHakunaTicket, HTMLStencilElement {
88
+ addEventListener<K extends keyof HTMLLotteryHakunaTicketElementEventMap>(type: K, listener: (this: HTMLLotteryHakunaTicketElement, ev: LotteryHakunaTicketCustomEvent<HTMLLotteryHakunaTicketElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
89
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
90
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
91
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
92
+ removeEventListener<K extends keyof HTMLLotteryHakunaTicketElementEventMap>(type: K, listener: (this: HTMLLotteryHakunaTicketElement, ev: LotteryHakunaTicketCustomEvent<HTMLLotteryHakunaTicketElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
93
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
94
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
95
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
96
+ }
97
+ var HTMLLotteryHakunaTicketElement: {
98
+ prototype: HTMLLotteryHakunaTicketElement;
99
+ new (): HTMLLotteryHakunaTicketElement;
100
+ };
101
+ interface HTMLElementTagNameMap {
102
+ "lottery-hakuna-ticket": HTMLLotteryHakunaTicketElement;
103
+ }
104
+ }
105
+ declare namespace LocalJSX {
106
+ interface LotteryHakunaTicket {
107
+ /**
108
+ * Whether quick pick is allowed
109
+ */
110
+ "allowQuickPick"?: boolean;
111
+ /**
112
+ * Client custom styling via string
113
+ */
114
+ "clientStyling"?: string;
115
+ /**
116
+ * Client custom styling via url content
117
+ */
118
+ "clientStylingUrl"?: string;
119
+ /**
120
+ * Disable delete button
121
+ */
122
+ "disableDelete"?: boolean;
123
+ /**
124
+ * Name of the game
125
+ */
126
+ "gameName"?: string;
127
+ /**
128
+ * The highest number in the range
129
+ */
130
+ "highNumber"?: number;
131
+ /**
132
+ * Whether the ticket is submitted
133
+ */
134
+ "isSubmitted"?: boolean;
135
+ /**
136
+ * Language
137
+ */
138
+ "language"?: string;
139
+ /**
140
+ * The lowest number in the range
141
+ */
142
+ "lowNumber"?: number;
143
+ /**
144
+ * Maximum numbers allowed to be selected
145
+ */
146
+ "maximumAllowed"?: number;
147
+ /**
148
+ * Client custom styling via message bus
149
+ */
150
+ "mbSource"?: string;
151
+ /**
152
+ * Minimum numbers allowed to be selected
153
+ */
154
+ "minimumAllowed"?: number;
155
+ /**
156
+ * Array defining the range of numbers
157
+ */
158
+ "numberRange"?: Array<number>;
159
+ "onDeleteTicket"?: (event: LotteryHakunaTicketCustomEvent<any>) => void;
160
+ "onEditTicket"?: (event: LotteryHakunaTicketCustomEvent<any>) => void;
161
+ "onSaveTicket"?: (event: LotteryHakunaTicketCustomEvent<any>) => void;
162
+ /**
163
+ * @TODO including ts type
164
+ */
165
+ "onTicketUpdate"?: (event: LotteryHakunaTicketCustomEvent<any>) => void;
166
+ /**
167
+ * Ticket ID
168
+ */
169
+ "ticketId"?: number;
170
+ /**
171
+ * Translations via parent component
172
+ */
173
+ "translationUrl"?: any;
174
+ /**
175
+ * Controls whether the ticket content should be rendered inside a collapsible accordion or directly
176
+ */
177
+ "useCollapse"?: boolean;
178
+ }
179
+ interface IntrinsicElements {
180
+ "lottery-hakuna-ticket": LotteryHakunaTicket;
181
+ }
182
+ }
183
+ export { LocalJSX as JSX };
184
+ declare module "@stencil/core" {
185
+ export namespace JSX {
186
+ interface IntrinsicElements {
187
+ "lottery-hakuna-ticket": LocalJSX.LotteryHakunaTicket & JSXBase.HTMLAttributes<HTMLLotteryHakunaTicketElement>;
188
+ }
189
+ }
190
+ }
@@ -0,0 +1 @@
1
+ export * from './components/lottery-hakuna-ticket';