@everymatrix/lottery-tipping-bullet-group 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-42492779.js +1301 -0
  3. package/dist/cjs/index.cjs.js +10 -0
  4. package/dist/cjs/loader.cjs.js +15 -0
  5. package/dist/cjs/lottery-tipping-bullet-group-16fbbd7f.js +167 -0
  6. package/dist/cjs/lottery-tipping-bullet-group.cjs.js +25 -0
  7. package/dist/cjs/lottery-tipping-bullet_2.cjs.entry.js +76 -0
  8. package/dist/collection/collection-manifest.json +13 -0
  9. package/dist/collection/components/lottery-tipping-bullet/index.js +1 -0
  10. package/dist/collection/components/lottery-tipping-bullet/lottery-tipping-bullet.css +64 -0
  11. package/dist/collection/components/lottery-tipping-bullet/lottery-tipping-bullet.js +249 -0
  12. package/dist/collection/components/lottery-tipping-bullet-group/index.js +1 -0
  13. package/dist/collection/components/lottery-tipping-bullet-group/lottery-tipping-bullet-group.css +0 -0
  14. package/dist/collection/components/lottery-tipping-bullet-group/lottery-tipping-bullet-group.js +275 -0
  15. package/dist/collection/index.js +1 -0
  16. package/dist/collection/models/index.js +1 -0
  17. package/dist/collection/utils/utils.js +3 -0
  18. package/dist/esm/app-globals-0f993ce5.js +3 -0
  19. package/dist/esm/index-1483af1f.js +1274 -0
  20. package/dist/esm/index.js +2 -0
  21. package/dist/esm/loader.js +11 -0
  22. package/dist/esm/lottery-tipping-bullet-group-0e61f537.js +162 -0
  23. package/dist/esm/lottery-tipping-bullet-group.js +20 -0
  24. package/dist/esm/lottery-tipping-bullet_2.entry.js +72 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/lottery-tipping-bullet-group/app-globals-0f993ce5.js +1 -0
  28. package/dist/lottery-tipping-bullet-group/index-1483af1f.js +2 -0
  29. package/dist/lottery-tipping-bullet-group/index.esm.js +1 -0
  30. package/dist/lottery-tipping-bullet-group/lottery-tipping-bullet-group-0e61f537.js +1 -0
  31. package/dist/lottery-tipping-bullet-group/lottery-tipping-bullet-group.esm.js +1 -0
  32. package/dist/lottery-tipping-bullet-group/lottery-tipping-bullet_2.entry.js +1 -0
  33. package/dist/stencil.config.dev.js +19 -0
  34. package/dist/stencil.config.js +19 -0
  35. package/dist/storybook/main.js +43 -0
  36. package/dist/storybook/preview.js +9 -0
  37. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  38. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/packages/stencil/lottery-tipping-bullet-group/stencil.config.d.ts +2 -0
  39. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/packages/stencil/lottery-tipping-bullet-group/stencil.config.dev.d.ts +2 -0
  40. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/packages/stencil/lottery-tipping-bullet-group/storybook/main.d.ts +3 -0
  41. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/packages/stencil/lottery-tipping-bullet-group/storybook/preview.d.ts +70 -0
  42. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/tools/plugins/index.d.ts +3 -0
  43. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  44. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  45. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-bullet-group/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  46. package/dist/types/components/lottery-tipping-bullet/index.d.ts +1 -0
  47. package/dist/types/components/lottery-tipping-bullet/lottery-tipping-bullet.d.ts +44 -0
  48. package/dist/types/components/lottery-tipping-bullet-group/index.d.ts +1 -0
  49. package/dist/types/components/lottery-tipping-bullet-group/lottery-tipping-bullet-group.d.ts +26 -0
  50. package/dist/types/components.d.ts +159 -0
  51. package/dist/types/index.d.ts +1 -0
  52. package/dist/types/models/index.d.ts +8 -0
  53. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  54. package/dist/types/utils/utils.d.ts +1 -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 @@
1
+ export { LotteryTippingBulletGroup } from './lottery-tipping-bullet-group';
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { BulletConfigType, LotteryTippingBulletToggleEventType } from '../../models';
3
+ export declare class LotteryTippingBulletGroup {
4
+ mbSource: string;
5
+ clientStyling: string;
6
+ clientStylingUrl: string;
7
+ positionIdx: string;
8
+ theme: 'default' | 'text';
9
+ mode: 'single' | 'multi';
10
+ bulletConfigContent: string;
11
+ private stylingContainer;
12
+ private stylingSubscription;
13
+ get bulletConfigArr(): BulletConfigType[];
14
+ handleClientStylingChange(newValue: any, oldValue: any): void;
15
+ handleClientStylingUrlChange(newValue: any, oldValue: any): void;
16
+ handleMbSourceChange(newValue: any, oldValue: any): void;
17
+ componentDidLoad(): void;
18
+ disconnectedCallback(): void;
19
+ lotteryTippingBulletSelectionHandler(event: CustomEvent<LotteryTippingBulletToggleEventType>): void;
20
+ handleToggle(index: number | string): void;
21
+ lotteryTippingBulletGroupToggleEvent: EventEmitter<{
22
+ bulletConfigArr: BulletConfigType[];
23
+ positionIdx: string;
24
+ }>;
25
+ render(): any;
26
+ }
@@ -0,0 +1,159 @@
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
+ import { BulletConfigType, LotteryTippingBulletToggleEventType } from "./models";
9
+ export { BulletConfigType, LotteryTippingBulletToggleEventType } from "./models";
10
+ export namespace Components {
11
+ interface LotteryTippingBullet {
12
+ /**
13
+ * Client custom styling via string
14
+ */
15
+ "clientStyling": string;
16
+ /**
17
+ * Client custom styling via css file url
18
+ */
19
+ "clientStylingUrl": string;
20
+ /**
21
+ * Marks if the bullet should be selectable
22
+ */
23
+ "disabled": boolean;
24
+ /**
25
+ * Marks if the bullet should be selected
26
+ */
27
+ "isSelected": boolean;
28
+ /**
29
+ * Client custom styling via message bus
30
+ */
31
+ "mbSource": string;
32
+ "positionIdx": number;
33
+ "theme": 'default' | 'text';
34
+ /**
35
+ * /** Value of the bullet
36
+ */
37
+ "value": string;
38
+ }
39
+ interface LotteryTippingBulletGroup {
40
+ "bulletConfigContent": string;
41
+ "clientStyling": string;
42
+ "clientStylingUrl": string;
43
+ "mbSource": string;
44
+ "mode": 'single' | 'multi';
45
+ "positionIdx": string;
46
+ "theme": 'default' | 'text';
47
+ }
48
+ }
49
+ export interface LotteryTippingBulletCustomEvent<T> extends CustomEvent<T> {
50
+ detail: T;
51
+ target: HTMLLotteryTippingBulletElement;
52
+ }
53
+ export interface LotteryTippingBulletGroupCustomEvent<T> extends CustomEvent<T> {
54
+ detail: T;
55
+ target: HTMLLotteryTippingBulletGroupElement;
56
+ }
57
+ declare global {
58
+ interface HTMLLotteryTippingBulletElementEventMap {
59
+ "lotteryTippingBulletToggle": LotteryTippingBulletToggleEventType;
60
+ }
61
+ interface HTMLLotteryTippingBulletElement extends Components.LotteryTippingBullet, HTMLStencilElement {
62
+ addEventListener<K extends keyof HTMLLotteryTippingBulletElementEventMap>(type: K, listener: (this: HTMLLotteryTippingBulletElement, ev: LotteryTippingBulletCustomEvent<HTMLLotteryTippingBulletElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
63
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
64
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
65
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
66
+ removeEventListener<K extends keyof HTMLLotteryTippingBulletElementEventMap>(type: K, listener: (this: HTMLLotteryTippingBulletElement, ev: LotteryTippingBulletCustomEvent<HTMLLotteryTippingBulletElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
67
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
68
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
69
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
70
+ }
71
+ var HTMLLotteryTippingBulletElement: {
72
+ prototype: HTMLLotteryTippingBulletElement;
73
+ new (): HTMLLotteryTippingBulletElement;
74
+ };
75
+ interface HTMLLotteryTippingBulletGroupElementEventMap {
76
+ "lotteryTippingBulletGroupToggle": {
77
+ bulletConfigArr: BulletConfigType[];
78
+ positionIdx: string;
79
+ };
80
+ }
81
+ interface HTMLLotteryTippingBulletGroupElement extends Components.LotteryTippingBulletGroup, HTMLStencilElement {
82
+ addEventListener<K extends keyof HTMLLotteryTippingBulletGroupElementEventMap>(type: K, listener: (this: HTMLLotteryTippingBulletGroupElement, ev: LotteryTippingBulletGroupCustomEvent<HTMLLotteryTippingBulletGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
83
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
84
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
85
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
86
+ removeEventListener<K extends keyof HTMLLotteryTippingBulletGroupElementEventMap>(type: K, listener: (this: HTMLLotteryTippingBulletGroupElement, ev: LotteryTippingBulletGroupCustomEvent<HTMLLotteryTippingBulletGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
87
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
88
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
89
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
90
+ }
91
+ var HTMLLotteryTippingBulletGroupElement: {
92
+ prototype: HTMLLotteryTippingBulletGroupElement;
93
+ new (): HTMLLotteryTippingBulletGroupElement;
94
+ };
95
+ interface HTMLElementTagNameMap {
96
+ "lottery-tipping-bullet": HTMLLotteryTippingBulletElement;
97
+ "lottery-tipping-bullet-group": HTMLLotteryTippingBulletGroupElement;
98
+ }
99
+ }
100
+ declare namespace LocalJSX {
101
+ interface LotteryTippingBullet {
102
+ /**
103
+ * Client custom styling via string
104
+ */
105
+ "clientStyling"?: string;
106
+ /**
107
+ * Client custom styling via css file url
108
+ */
109
+ "clientStylingUrl"?: string;
110
+ /**
111
+ * Marks if the bullet should be selectable
112
+ */
113
+ "disabled"?: boolean;
114
+ /**
115
+ * Marks if the bullet should be selected
116
+ */
117
+ "isSelected"?: boolean;
118
+ /**
119
+ * Client custom styling via message bus
120
+ */
121
+ "mbSource"?: string;
122
+ /**
123
+ * When a bullet is selected/deselected this event is emmited
124
+ */
125
+ "onLotteryTippingBulletToggle"?: (event: LotteryTippingBulletCustomEvent<LotteryTippingBulletToggleEventType>) => void;
126
+ "positionIdx"?: number;
127
+ "theme"?: 'default' | 'text';
128
+ /**
129
+ * /** Value of the bullet
130
+ */
131
+ "value"?: string;
132
+ }
133
+ interface LotteryTippingBulletGroup {
134
+ "bulletConfigContent"?: string;
135
+ "clientStyling"?: string;
136
+ "clientStylingUrl"?: string;
137
+ "mbSource"?: string;
138
+ "mode"?: 'single' | 'multi';
139
+ "onLotteryTippingBulletGroupToggle"?: (event: LotteryTippingBulletGroupCustomEvent<{
140
+ bulletConfigArr: BulletConfigType[];
141
+ positionIdx: string;
142
+ }>) => void;
143
+ "positionIdx"?: string;
144
+ "theme"?: 'default' | 'text';
145
+ }
146
+ interface IntrinsicElements {
147
+ "lottery-tipping-bullet": LotteryTippingBullet;
148
+ "lottery-tipping-bullet-group": LotteryTippingBulletGroup;
149
+ }
150
+ }
151
+ export { LocalJSX as JSX };
152
+ declare module "@stencil/core" {
153
+ export namespace JSX {
154
+ interface IntrinsicElements {
155
+ "lottery-tipping-bullet": LocalJSX.LotteryTippingBullet & JSXBase.HTMLAttributes<HTMLLotteryTippingBulletElement>;
156
+ "lottery-tipping-bullet-group": LocalJSX.LotteryTippingBulletGroup & JSXBase.HTMLAttributes<HTMLLotteryTippingBulletGroupElement>;
157
+ }
158
+ }
159
+ }
@@ -0,0 +1 @@
1
+ export * from './components/lottery-tipping-bullet-group';
@@ -0,0 +1,8 @@
1
+ export interface LotteryTippingBulletToggleEventType {
2
+ positionIdx: number;
3
+ }
4
+ export interface BulletConfigType {
5
+ value: string;
6
+ disabled?: boolean;
7
+ isSelected?: boolean;
8
+ }