@everymatrix/casino-game-thumb-view 1.44.0 → 1.45.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.
Files changed (131) hide show
  1. package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
  2. package/dist/casino-game-thumb-view/p-2207062c.entry.js +1 -0
  3. package/dist/casino-game-thumb-view/p-39684b4a.entry.js +1 -0
  4. package/dist/casino-game-thumb-view/p-af0284b5.entry.js +1 -0
  5. package/dist/casino-game-thumb-view/p-b73b7a18.entry.js +1 -0
  6. package/dist/casino-game-thumb-view/p-bd016895.entry.js +7 -0
  7. package/dist/casino-game-thumb-view/p-d2580653.js +8 -0
  8. package/dist/casino-game-thumb-view/p-d48c3566.entry.js +1 -0
  9. package/dist/casino-game-thumb-view/p-e1255160.js +1 -0
  10. package/dist/casino-game-thumb-view/p-eef6f908.js +2 -0
  11. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  12. package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +327 -322
  13. package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +45 -45
  14. package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +35 -34
  15. package/dist/cjs/casino-game-thumb-view.cjs.js +17 -11
  16. package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +469 -519
  17. package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +258 -251
  18. package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +14 -12
  19. package/dist/cjs/game-thumbnail-5a34c727.js +78 -0
  20. package/dist/cjs/index-48d13981.js +1709 -0
  21. package/dist/cjs/loader.cjs.js +7 -13
  22. package/dist/cjs/locale.utils-53bf703a.js +132 -0
  23. package/dist/cjs/{utils-a0afc0a9.js → utils-c4ed3adc.js} +407 -404
  24. package/dist/collection/collection-manifest.json +10 -10
  25. package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +251 -230
  26. package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +136 -114
  27. package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +126 -119
  28. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +1 -1
  29. package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +1023 -1027
  30. package/dist/collection/components/casino-game-thumb-view/index.js +1 -0
  31. package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +78 -80
  32. package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +153 -150
  33. package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +201 -206
  34. package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +71 -58
  35. package/dist/collection/constants/game-thumbnail.js +66 -66
  36. package/dist/collection/models/casino-game-thumb-view.js +6 -6
  37. package/dist/collection/models/currency-symbols.js +170 -170
  38. package/dist/collection/utils/baccarat-board-svg.js +225 -225
  39. package/dist/collection/utils/locale.utils.js +122 -122
  40. package/dist/collection/utils/utils.js +41 -41
  41. package/dist/esm/app-globals-0f993ce5.js +3 -0
  42. package/dist/esm/casino-extrainfo-baccarat.entry.js +327 -322
  43. package/dist/esm/casino-extrainfo-blackjack.entry.js +45 -45
  44. package/dist/esm/casino-extrainfo-roulette.entry.js +35 -34
  45. package/dist/esm/casino-game-thumb-view.js +14 -11
  46. package/dist/esm/casino-game-thumb-view_2.entry.js +469 -519
  47. package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +258 -251
  48. package/dist/esm/casino-normal-game-thumbnail.entry.js +14 -12
  49. package/dist/esm/game-thumbnail-035e97e2.js +72 -0
  50. package/dist/esm/index-8c9a8030.js +1681 -0
  51. package/dist/esm/loader.js +7 -13
  52. package/dist/esm/locale.utils-0c514ca8.js +130 -0
  53. package/dist/{components/utils.js → esm/utils-090ac2e9.js} +407 -404
  54. package/dist/stencil.config.dev.js +17 -0
  55. package/dist/stencil.config.js +12 -35
  56. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +2 -0
  57. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +2 -0
  58. package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +36 -36
  59. package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +33 -33
  60. package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +18 -18
  61. package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +213 -213
  62. package/dist/types/components/casino-game-thumb-view/index.d.ts +1 -0
  63. package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +14 -14
  64. package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +13 -13
  65. package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +28 -28
  66. package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +4 -4
  67. package/dist/types/components.d.ts +33 -2
  68. package/dist/types/constants/game-thumbnail.d.ts +66 -66
  69. package/dist/types/models/casino-game-thumb-view.d.ts +107 -107
  70. package/dist/types/models/currency-symbols.d.ts +170 -170
  71. package/dist/types/stencil-public-runtime.d.ts +142 -33
  72. package/dist/types/utils/baccarat-board-svg.d.ts +29 -29
  73. package/loader/cdn.js +1 -3
  74. package/loader/index.cjs.js +1 -3
  75. package/loader/index.d.ts +13 -1
  76. package/loader/index.es2017.js +1 -3
  77. package/loader/index.js +1 -3
  78. package/loader/package.json +1 -0
  79. package/package.json +8 -8
  80. package/dist/assets/baccarat.svg +0 -43
  81. package/dist/assets/fav.svg +0 -9
  82. package/dist/assets/favorite.svg +0 -12
  83. package/dist/assets/seat.svg +0 -6
  84. package/dist/assets/unfav.svg +0 -20
  85. package/dist/casino-game-thumb-view/p-1bbf4b70.entry.js +0 -1
  86. package/dist/casino-game-thumb-view/p-42bf2034.entry.js +0 -1
  87. package/dist/casino-game-thumb-view/p-46dbb1cb.js +0 -1
  88. package/dist/casino-game-thumb-view/p-6a6b2a78.js +0 -8
  89. package/dist/casino-game-thumb-view/p-7ae107ed.entry.js +0 -1
  90. package/dist/casino-game-thumb-view/p-9cbfffbc.entry.js +0 -1
  91. package/dist/casino-game-thumb-view/p-d961aec4.entry.js +0 -1
  92. package/dist/casino-game-thumb-view/p-db43bb56.entry.js +0 -7
  93. package/dist/cjs/game-thumbnail-31d518f0.js +0 -78
  94. package/dist/cjs/index-65a1d768.js +0 -1796
  95. package/dist/cjs/locale.utils-aa160787.js +0 -132
  96. package/dist/components/casino-extrainfo-baccarat.d.ts +0 -11
  97. package/dist/components/casino-extrainfo-baccarat.js +0 -400
  98. package/dist/components/casino-extrainfo-blackjack.d.ts +0 -11
  99. package/dist/components/casino-extrainfo-blackjack.js +0 -92
  100. package/dist/components/casino-extrainfo-roulette.d.ts +0 -11
  101. package/dist/components/casino-extrainfo-roulette.js +0 -78
  102. package/dist/components/casino-game-thumb-view.d.ts +0 -11
  103. package/dist/components/casino-game-thumb-view.js +0 -1625
  104. package/dist/components/casino-game-thumbnail-betlimit.d.ts +0 -11
  105. package/dist/components/casino-game-thumbnail-betlimit.js +0 -6
  106. package/dist/components/casino-game-thumbnail-betlimit2.js +0 -227
  107. package/dist/components/casino-game-thumbnail-extrainfo.d.ts +0 -11
  108. package/dist/components/casino-game-thumbnail-extrainfo.js +0 -6
  109. package/dist/components/casino-game-thumbnail-extrainfo2.js +0 -96
  110. package/dist/components/casino-game-thumbnail-overlay.d.ts +0 -11
  111. package/dist/components/casino-game-thumbnail-overlay.js +0 -6
  112. package/dist/components/casino-game-thumbnail-overlay2.js +0 -69
  113. package/dist/components/casino-normal-game-thumbnail.d.ts +0 -11
  114. package/dist/components/casino-normal-game-thumbnail.js +0 -52
  115. package/dist/components/game-thumbnail.js +0 -72
  116. package/dist/components/index.d.ts +0 -26
  117. package/dist/components/index.js +0 -1
  118. package/dist/components/locale.utils.js +0 -130
  119. package/dist/esm/game-thumbnail-0a56ee03.js +0 -72
  120. package/dist/esm/index-1e44dd9f.js +0 -1769
  121. package/dist/esm/locale.utils-e0cf897e.js +0 -130
  122. package/dist/esm/polyfills/core-js.js +0 -11
  123. package/dist/esm/polyfills/css-shim.js +0 -1
  124. package/dist/esm/polyfills/dom.js +0 -79
  125. package/dist/esm/polyfills/es5-html-element.js +0 -1
  126. package/dist/esm/polyfills/index.js +0 -34
  127. package/dist/esm/polyfills/system.js +0 -6
  128. package/dist/esm/utils-e9314132.js +0 -5739
  129. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-game-thumb-view/.stencil/packages/casino-game-thumb-view/stencil.config.d.ts +0 -2
  130. /package/dist/casino-game-thumb-view/{p-2d5f59fe.js → p-2d02adb1.js} +0 -0
  131. /package/dist/casino-game-thumb-view/{p-1e63a1ab.js → p-59ceeaaa.js} +0 -0
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
3
3
  (opts?: ComponentOptions): ClassDecorator;
4
4
  }
5
5
  export interface ComponentOptions {
6
+ /**
7
+ * When set to `true` this component will be form-associated. See
8
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
9
+ * build form-associated Stencil components that integrate into forms like
10
+ * native browser elements such as `<input>` and `<textarea>`.
11
+ *
12
+ * The {@link AttachInternals} decorator allows for access to the
13
+ * `ElementInternals` object to modify the associated form.
14
+ */
15
+ formAssociated?: boolean;
6
16
  /**
7
17
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
18
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -62,7 +72,7 @@ export interface PropOptions {
62
72
  /**
63
73
  * The name of the associated DOM attribute.
64
74
  * Stencil uses different heuristics to determine the default name of the attribute,
65
- * but using this property, you can override the default behaviour.
75
+ * but using this property, you can override the default behavior.
66
76
  */
67
77
  attribute?: string | null;
68
78
  /**
@@ -107,6 +117,9 @@ export interface EventOptions {
107
117
  */
108
118
  composed?: boolean;
109
119
  }
120
+ export interface AttachInternalsDecorator {
121
+ (): PropertyDecorator;
122
+ }
110
123
  export interface ListenDecorator {
111
124
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
125
  }
@@ -128,12 +141,12 @@ export interface ListenOptions {
128
141
  * By default, Stencil uses several heuristics to determine if
129
142
  * it must attach a `passive` event listener or not.
130
143
  *
131
- * Using the `passive` option can be used to change the default behaviour.
144
+ * Using the `passive` option can be used to change the default behavior.
132
145
  * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
146
  */
134
147
  passive?: boolean;
135
148
  }
136
- export declare type ListenTargetOptions = 'body' | 'document' | 'window';
149
+ export type ListenTargetOptions = 'body' | 'document' | 'window';
137
150
  export interface StateDecorator {
138
151
  (): PropertyDecorator;
139
152
  }
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
175
188
  * https://stenciljs.com/docs/events
176
189
  */
177
190
  export declare const Event: EventDecorator;
191
+ /**
192
+ * If the `formAssociated` option is set in options passed to the
193
+ * `@Component()` decorator then this decorator may be used to get access to the
194
+ * `ElementInternals` instance associated with the component.
195
+ */
196
+ export declare const AttachInternals: AttachInternalsDecorator;
178
197
  /**
179
198
  * The `Listen()` decorator is for listening DOM events, including the ones
180
199
  * dispatched from `@Events()`.
@@ -214,14 +233,16 @@ export declare const State: StateDecorator;
214
233
  * https://stenciljs.com/docs/reactive-data#watch-decorator
215
234
  */
216
235
  export declare const Watch: WatchDecorator;
217
- export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
- export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
236
+ export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
237
+ export type ErrorHandler = (err: any, element?: HTMLElement) => void;
219
238
  /**
220
239
  * `setMode()` is used for libraries which provide multiple "modes" for styles.
221
240
  */
222
241
  export declare const setMode: (handler: ResolutionHandler) => void;
223
242
  /**
224
- * getMode
243
+ * `getMode()` is used for libraries which provide multiple "modes" for styles.
244
+ * @param ref a reference to the node to get styles for
245
+ * @returns the current mode or undefined, if not found
225
246
  */
226
247
  export declare function getMode<T = string | undefined>(ref: any): T;
227
248
  export declare function setPlatformHelpers(helpers: {
@@ -234,6 +255,9 @@ export declare function setPlatformHelpers(helpers: {
234
255
  /**
235
256
  * Get the base path to where the assets can be found. Use `setAssetPath(path)`
236
257
  * if the path needs to be customized.
258
+ * @param path the path to use in calculating the asset path. this value will be
259
+ * used in conjunction with the base asset path
260
+ * @returns the base path
237
261
  */
238
262
  export declare function getAssetPath(path: string): string;
239
263
  /**
@@ -246,22 +270,38 @@ export declare function getAssetPath(path: string): string;
246
270
  * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
247
271
  * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
248
272
  * But do note that this configuration depends on how your script is bundled, or lack of
249
- * bunding, and where your assets can be loaded from. Additionally custom bundling
273
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
250
274
  * will have to ensure the static assets are copied to its build directory.
275
+ * @param path the asset path to set
276
+ * @returns the set path
251
277
  */
252
278
  export declare function setAssetPath(path: string): string;
253
279
  /**
254
- * getElement
280
+ * Used to specify a nonce value that corresponds with an application's
281
+ * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
282
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
283
+ * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
284
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
285
+ * @param nonce The value to be used for the nonce attribute.
286
+ */
287
+ export declare function setNonce(nonce: string): void;
288
+ /**
289
+ * Retrieve a Stencil element for a given reference
290
+ * @param ref the ref to get the Stencil element for
291
+ * @returns a reference to the element
255
292
  */
256
293
  export declare function getElement(ref: any): HTMLStencilElement;
257
294
  /**
258
295
  * Schedules a new render of the given instance or element even if no state changed.
259
296
  *
260
- * Notice `forceUpdate()` is not syncronous and might perform the DOM render in the next frame.
297
+ * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
298
+ *
299
+ * @param ref the node/element to force the re-render of
261
300
  */
262
301
  export declare function forceUpdate(ref: any): void;
263
302
  /**
264
303
  * getRenderingRef
304
+ * @returns the rendering ref
265
305
  */
266
306
  export declare function getRenderingRef(): any;
267
307
  export interface HTMLStencilElement extends HTMLElement {
@@ -272,6 +312,8 @@ export interface HTMLStencilElement extends HTMLElement {
272
312
  * in the best moment to perform DOM mutation without causing layout thrashing.
273
313
  *
274
314
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
315
+ *
316
+ * @param task the DOM-write to schedule
275
317
  */
276
318
  export declare function writeTask(task: RafCallback): void;
277
319
  /**
@@ -279,6 +321,8 @@ export declare function writeTask(task: RafCallback): void;
279
321
  * in the best moment to perform DOM reads without causing layout thrashing.
280
322
  *
281
323
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
324
+ *
325
+ * @param task the DOM-read to schedule
282
326
  */
283
327
  export declare function readTask(task: RafCallback): void;
284
328
  /**
@@ -407,7 +451,7 @@ export interface QueueApi {
407
451
  /**
408
452
  * Host
409
453
  */
410
- interface HostAttributes {
454
+ export interface HostAttributes {
411
455
  class?: string | {
412
456
  [className: string]: boolean;
413
457
  };
@@ -417,13 +461,57 @@ interface HostAttributes {
417
461
  ref?: (el: HTMLElement | null) => void;
418
462
  [prop: string]: any;
419
463
  }
464
+ /**
465
+ * Utilities for working with functional Stencil components. An object
466
+ * conforming to this interface is passed by the Stencil runtime as the third
467
+ * argument to a functional component, allowing component authors to work with
468
+ * features like children.
469
+ *
470
+ * The children of a functional component will be passed as the second
471
+ * argument, so a functional component which uses these utils to transform its
472
+ * children might look like the following:
473
+ *
474
+ * ```ts
475
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
476
+ * utils.map(children, child => ({
477
+ * ...child,
478
+ * vattrs: {
479
+ * ...child.vattrs,
480
+ * class: `${child.vattrs.class} add-class`
481
+ * }
482
+ * }))
483
+ * );
484
+ * ```
485
+ *
486
+ * For more see the Stencil documentation, here:
487
+ * https://stenciljs.com/docs/functional-components
488
+ */
420
489
  export interface FunctionalUtilities {
490
+ /**
491
+ * Utility for reading the children of a functional component at runtime.
492
+ * Since the Stencil runtime uses a different interface for children it is
493
+ * not recommended to read the children directly, and is preferable to use
494
+ * this utility to, for instance, perform a side effect for each child.
495
+ */
421
496
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
497
+ /**
498
+ * Utility for transforming the children of a functional component. Given an
499
+ * array of children and a callback this will return a list of the results of
500
+ * passing each child to the supplied callback.
501
+ */
422
502
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
423
503
  }
424
504
  export interface FunctionalComponent<T = {}> {
425
505
  (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
426
506
  }
507
+ /**
508
+ * A Child VDOM node
509
+ *
510
+ * This has most of the same properties as {@link VNode} but friendlier names
511
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
512
+ * order to provide a friendlier public interface for users of the
513
+ * {@link FunctionalUtilities}).
514
+ */
427
515
  export interface ChildNode {
428
516
  vtag?: string | number | Function;
429
517
  vkey?: string | number;
@@ -470,6 +558,9 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
470
558
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
471
559
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
472
560
  export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
561
+ /**
562
+ * A virtual DOM node
563
+ */
473
564
  export interface VNode {
474
565
  $flags$: number;
475
566
  $tag$: string | number | Function;
@@ -677,6 +768,7 @@ export declare namespace JSXBase {
677
768
  hrefLang?: string;
678
769
  hreflang?: string;
679
770
  media?: string;
771
+ ping?: string;
680
772
  rel?: string;
681
773
  target?: string;
682
774
  referrerPolicy?: ReferrerPolicy;
@@ -703,7 +795,6 @@ export declare namespace JSXBase {
703
795
  cite?: string;
704
796
  }
705
797
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
706
- autoFocus?: boolean;
707
798
  disabled?: boolean;
708
799
  form?: string;
709
800
  formAction?: string;
@@ -719,6 +810,9 @@ export declare namespace JSXBase {
719
810
  name?: string;
720
811
  type?: string;
721
812
  value?: string | string[] | number;
813
+ popoverTargetAction?: string;
814
+ popoverTargetElement?: Element | null;
815
+ popoverTarget?: string;
722
816
  }
723
817
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
724
818
  height?: number | string;
@@ -740,6 +834,7 @@ export declare namespace JSXBase {
740
834
  datetime?: string;
741
835
  }
742
836
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
837
+ onCancel?: (event: Event) => void;
743
838
  onClose?: (event: Event) => void;
744
839
  open?: boolean;
745
840
  returnValue?: string;
@@ -799,6 +894,8 @@ export declare namespace JSXBase {
799
894
  }
800
895
  interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
801
896
  alt?: string;
897
+ crossOrigin?: string;
898
+ crossorigin?: string;
802
899
  decoding?: 'async' | 'auto' | 'sync';
803
900
  importance?: 'low' | 'auto' | 'high';
804
901
  height?: number | string;
@@ -820,12 +917,10 @@ export declare namespace JSXBase {
820
917
  accept?: string;
821
918
  allowdirs?: boolean;
822
919
  alt?: string;
823
- autoCapitalize?: any;
824
- autocapitalize?: any;
920
+ autoCapitalize?: string;
921
+ autocapitalize?: string;
825
922
  autoComplete?: string;
826
923
  autocomplete?: string;
827
- autoFocus?: boolean;
828
- autofocus?: boolean | string;
829
924
  capture?: string;
830
925
  checked?: boolean;
831
926
  crossOrigin?: string;
@@ -857,6 +952,8 @@ export declare namespace JSXBase {
857
952
  minlength?: number | string;
858
953
  multiple?: boolean;
859
954
  name?: string;
955
+ onSelect?: (event: Event) => void;
956
+ onselect?: (event: Event) => void;
860
957
  pattern?: string;
861
958
  placeholder?: string;
862
959
  readOnly?: boolean;
@@ -875,10 +972,11 @@ export declare namespace JSXBase {
875
972
  webkitdirectory?: boolean;
876
973
  webkitEntries?: any;
877
974
  width?: number | string;
975
+ popoverTargetAction?: string;
976
+ popoverTargetElement?: Element | null;
977
+ popoverTarget?: string;
878
978
  }
879
979
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
880
- autoFocus?: boolean;
881
- autofocus?: boolean | string;
882
980
  challenge?: string;
883
981
  disabled?: boolean;
884
982
  form?: string;
@@ -891,7 +989,6 @@ export declare namespace JSXBase {
891
989
  interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
892
990
  form?: string;
893
991
  htmlFor?: string;
894
- htmlfor?: string;
895
992
  }
896
993
  interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
897
994
  value?: string | string[] | number;
@@ -1002,7 +1099,6 @@ export declare namespace JSXBase {
1002
1099
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1003
1100
  form?: string;
1004
1101
  htmlFor?: string;
1005
- htmlfor?: string;
1006
1102
  name?: string;
1007
1103
  }
1008
1104
  interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1027,7 +1123,6 @@ export declare namespace JSXBase {
1027
1123
  type?: string;
1028
1124
  }
1029
1125
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1030
- autoFocus?: boolean;
1031
1126
  disabled?: boolean;
1032
1127
  form?: string;
1033
1128
  multiple?: boolean;
@@ -1038,11 +1133,13 @@ export declare namespace JSXBase {
1038
1133
  autocomplete?: string;
1039
1134
  }
1040
1135
  interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1136
+ height?: number;
1041
1137
  media?: string;
1042
1138
  sizes?: string;
1043
1139
  src?: string;
1044
1140
  srcSet?: string;
1045
1141
  type?: string;
1142
+ width?: number;
1046
1143
  }
1047
1144
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1048
1145
  media?: string;
@@ -1058,8 +1155,8 @@ export declare namespace JSXBase {
1058
1155
  summary?: string;
1059
1156
  }
1060
1157
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1061
- autoFocus?: boolean;
1062
- autofocus?: boolean | string;
1158
+ autoComplete?: string;
1159
+ autocomplete?: string;
1063
1160
  cols?: number;
1064
1161
  disabled?: boolean;
1065
1162
  form?: string;
@@ -1068,6 +1165,8 @@ export declare namespace JSXBase {
1068
1165
  minLength?: number;
1069
1166
  minlength?: number | string;
1070
1167
  name?: string;
1168
+ onSelect?: (event: Event) => void;
1169
+ onselect?: (event: Event) => void;
1071
1170
  placeholder?: string;
1072
1171
  readOnly?: boolean;
1073
1172
  readonly?: boolean | string;
@@ -1110,6 +1209,8 @@ export declare namespace JSXBase {
1110
1209
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1111
1210
  innerHTML?: string;
1112
1211
  accessKey?: string;
1212
+ autoFocus?: boolean;
1213
+ autofocus?: boolean | string;
1113
1214
  class?: string | {
1114
1215
  [className: string]: boolean;
1115
1216
  };
@@ -1121,6 +1222,7 @@ export declare namespace JSXBase {
1121
1222
  draggable?: boolean;
1122
1223
  hidden?: boolean;
1123
1224
  id?: string;
1225
+ inert?: boolean;
1124
1226
  lang?: string;
1125
1227
  spellcheck?: 'true' | 'false' | any;
1126
1228
  style?: {
@@ -1129,6 +1231,7 @@ export declare namespace JSXBase {
1129
1231
  tabIndex?: number;
1130
1232
  tabindex?: number | string;
1131
1233
  title?: string;
1234
+ popover?: string | null;
1132
1235
  inputMode?: string;
1133
1236
  inputmode?: string;
1134
1237
  enterKeyHint?: string;
@@ -1145,8 +1248,8 @@ export declare namespace JSXBase {
1145
1248
  resource?: string;
1146
1249
  typeof?: string;
1147
1250
  vocab?: string;
1148
- autoCapitalize?: any;
1149
- autocapitalize?: any;
1251
+ autoCapitalize?: string;
1252
+ autocapitalize?: string;
1150
1253
  autoCorrect?: string;
1151
1254
  autocorrect?: string;
1152
1255
  autoSave?: string;
@@ -1214,7 +1317,7 @@ export declare namespace JSXBase {
1214
1317
  clipPathUnits?: number | string;
1215
1318
  'clip-rule'?: number | string;
1216
1319
  'color-interpolation'?: number | string;
1217
- 'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1320
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
1218
1321
  'color-profile'?: number | string;
1219
1322
  'color-rendering'?: number | string;
1220
1323
  contentScriptType?: number | string;
@@ -1437,12 +1540,12 @@ export declare namespace JSXBase {
1437
1540
  onCutCapture?: (event: ClipboardEvent) => void;
1438
1541
  onPaste?: (event: ClipboardEvent) => void;
1439
1542
  onPasteCapture?: (event: ClipboardEvent) => void;
1440
- onCompositionEnd?: (event: CompositionEvent) => void;
1441
- onCompositionEndCapture?: (event: CompositionEvent) => void;
1442
- onCompositionStart?: (event: CompositionEvent) => void;
1443
- onCompositionStartCapture?: (event: CompositionEvent) => void;
1444
- onCompositionUpdate?: (event: CompositionEvent) => void;
1445
- onCompositionUpdateCapture?: (event: CompositionEvent) => void;
1543
+ onCompositionend?: (event: CompositionEvent) => void;
1544
+ onCompositionendCapture?: (event: CompositionEvent) => void;
1545
+ onCompositionstart?: (event: CompositionEvent) => void;
1546
+ onCompositionstartCapture?: (event: CompositionEvent) => void;
1547
+ onCompositionupdate?: (event: CompositionEvent) => void;
1548
+ onCompositionupdateCapture?: (event: CompositionEvent) => void;
1446
1549
  onFocus?: (event: FocusEvent) => void;
1447
1550
  onFocusCapture?: (event: FocusEvent) => void;
1448
1551
  onFocusin?: (event: FocusEvent) => void;
@@ -1453,8 +1556,8 @@ export declare namespace JSXBase {
1453
1556
  onBlurCapture?: (event: FocusEvent) => void;
1454
1557
  onChange?: (event: Event) => void;
1455
1558
  onChangeCapture?: (event: Event) => void;
1456
- onInput?: (event: Event) => void;
1457
- onInputCapture?: (event: Event) => void;
1559
+ onInput?: (event: InputEvent) => void;
1560
+ onInputCapture?: (event: InputEvent) => void;
1458
1561
  onReset?: (event: Event) => void;
1459
1562
  onResetCapture?: (event: Event) => void;
1460
1563
  onSubmit?: (event: Event) => void;
@@ -1544,8 +1647,14 @@ export declare namespace JSXBase {
1544
1647
  onAnimationEndCapture?: (event: AnimationEvent) => void;
1545
1648
  onAnimationIteration?: (event: AnimationEvent) => void;
1546
1649
  onAnimationIterationCapture?: (event: AnimationEvent) => void;
1650
+ onTransitionCancel?: (event: TransitionEvent) => void;
1651
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1547
1652
  onTransitionEnd?: (event: TransitionEvent) => void;
1548
1653
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1654
+ onTransitionRun?: (event: TransitionEvent) => void;
1655
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1656
+ onTransitionStart?: (event: TransitionEvent) => void;
1657
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1549
1658
  }
1550
1659
  }
1551
1660
  export interface JSXAttributes<T = Element> {
@@ -1,31 +1,31 @@
1
1
  export declare class BaccaratSvg {
2
- constructor();
3
- svgNS: string;
4
- svgVersion: string;
5
- svgWidth: number;
6
- svgHeight: number;
7
- cellWidth: number;
8
- cellHeight: number;
9
- parentEle: HTMLElement;
10
- svgGroupObj: any;
11
- markGroupExtraClass: any;
12
- resetSvg(): void;
13
- createTag(tag: any, attrs: any): Element;
14
- createHLine(lineIdx: number): Element;
15
- createVLine(lineIdx: number): Element;
16
- createBaccaratBoard(parentEle: HTMLElement): void;
17
- getRadius(): number;
18
- addAnimate(objToAddAnimate: Element): void;
19
- markNewRound(x: number, y: number, options: any, markNew?: boolean): void;
20
- markRound(x: number, y: number, color: string, includeAnimate?: boolean): void;
21
- getCenterPoint(x: any, y: any): {
22
- cx: number;
23
- cy: number;
24
- };
25
- createTieSvg(x: number, y: number): Element;
26
- createPairDot(x: number, y: number, pairColor: string, angle: number): Element[];
27
- markTie(x: number, y: number, includeAnimate?: boolean): void;
28
- markPair(x: number, y: number, pairColor: string, angle: number): void;
29
- markBankerPair(x: number, y: number, pairColor: string): void;
30
- markPlayerPair(x: number, y: number, pairColor: string): void;
2
+ constructor();
3
+ svgNS: string;
4
+ svgVersion: string;
5
+ svgWidth: number;
6
+ svgHeight: number;
7
+ cellWidth: number;
8
+ cellHeight: number;
9
+ parentEle: HTMLElement;
10
+ svgGroupObj: any;
11
+ markGroupExtraClass: any;
12
+ resetSvg(): void;
13
+ createTag(tag: any, attrs: any): Element;
14
+ createHLine(lineIdx: number): Element;
15
+ createVLine(lineIdx: number): Element;
16
+ createBaccaratBoard(parentEle: HTMLElement): void;
17
+ getRadius(): number;
18
+ addAnimate(objToAddAnimate: Element): void;
19
+ markNewRound(x: number, y: number, options: any, markNew?: boolean): void;
20
+ markRound(x: number, y: number, color: string, includeAnimate?: boolean): void;
21
+ getCenterPoint(x: any, y: any): {
22
+ cx: number;
23
+ cy: number;
24
+ };
25
+ createTieSvg(x: number, y: number): Element;
26
+ createPairDot(x: number, y: number, pairColor: string, angle: number): Element[];
27
+ markTie(x: number, y: number, includeAnimate?: boolean): void;
28
+ markPair(x: number, y: number, pairColor: string, angle: number): void;
29
+ markBankerPair(x: number, y: number, pairColor: string): void;
30
+ markPlayerPair(x: number, y: number, pairColor: string): void;
31
31
  }
package/loader/cdn.js CHANGED
@@ -1,3 +1 @@
1
-
2
- module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -1,3 +1 @@
1
-
2
- module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
package/loader/index.d.ts CHANGED
@@ -8,5 +8,17 @@ export interface CustomElementsDefineOptions {
8
8
  ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
9
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
10
  }
11
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
+ /**
13
+ * @deprecated
14
+ */
12
15
  export declare function applyPolyfills(): Promise<void>;
16
+
17
+ /**
18
+ * Used to specify a nonce value that corresponds with an application's CSP.
19
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
20
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
21
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
22
+ * will result in the same behavior.
23
+ */
24
+ export declare function setNonce(nonce: string): void;
@@ -1,3 +1 @@
1
-
2
- export * from '../dist/esm/polyfills/index.js';
3
- export * from '../dist/esm/loader.js';
1
+ export * from '../dist/esm/loader.js';
package/loader/index.js CHANGED
@@ -1,4 +1,2 @@
1
-
2
1
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
- export * from '../dist/esm/polyfills/index.js';
4
- export * from '../dist/esm/loader.js';
2
+ export * from '../dist/esm/loader.js';
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "casino-game-thumb-view-loader",
3
+ "private": true,
3
4
  "typings": "./index.d.ts",
4
5
  "module": "./index.js",
5
6
  "main": "./index.cjs.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-game-thumb-view",
3
- "version": "1.44.0",
3
+ "version": "1.45.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -9,18 +9,18 @@
9
9
  "collection": "./dist/collection/collection-manifest.json",
10
10
  "collection:main": "./dist/collection/index.js",
11
11
  "unpkg": "./dist/casino-game-thumb-view/casino-game-thumb-view.esm.js",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/esm/casino-game-thumb-view.js",
15
+ "require": "./dist/cjs/casino-game-thumb-view.cjs"
16
+ },
17
+ "./dist/cjs/casino-game-thumb-view.cjs.js": "./dist/cjs/casino-game-thumb-view.cjs.js"
18
+ },
12
19
  "files": [
13
20
  "dist/",
14
21
  "loader/"
15
22
  ],
16
23
  "publishConfig": {
17
24
  "access": "public"
18
- },
19
- "dependencies": {
20
- "event-source-polyfill": "^1.0.31"
21
- },
22
- "devDependencies": {
23
- "@types/jest": "^29.5.2",
24
- "stencil-inline-svg": "^1.1.0"
25
25
  }
26
26
  }
@@ -1,43 +0,0 @@
1
- <svg
2
- version="1.1" width="100%" height="100%"
3
- xmlns="http://www.w3.org/2000/svg"
4
- >
5
- <g stroke="red" stroke-width="1" stroke-opacity="1">
6
- <line x1="0" y1="0" x2="100%" y2="0"/>
7
- <line x1="0" y1="20" x2="400" y2="20"/>
8
- <line x1="0" y1="40" x2="400" y2="40"/>
9
- <line x1="0" y1="60" x2="400" y2="60"/>
10
- <line x1="0" y1="80" x2="400" y2="80"/>
11
- <line x1="0" y1="100" x2="400" y2="100"/>
12
- <line x1="0" y1="120" x2="400" y2="120"/>
13
- </g>
14
- <g stroke="red" stroke-width="1" stroke-opacity="0.8">
15
- <line x1="0" y1="0" x2="0" y2="120"/>
16
- <line x1="20" y1="0" x2="20" y2="120"/>
17
- <line x1="40" y1="0" x2="40" y2="120"/>
18
- <line x1="60" y1="0" x2="60" y2="120"/>
19
- <line x1="80" y1="0" x2="80" y2="120"/>
20
- <line x1="100" y1="0" x2="100" y2="120"/>
21
- <line x1="120" y1="0" x2="120" y2="120"/>
22
- <line x1="140" y1="0" x2="140" y2="120"/>
23
- <line x1="160" y1="0" x2="160" y2="120"/>
24
- <line x1="180" y1="0" x2="180" y2="120"/>
25
- <line x1="200" y1="0" x2="200" y2="120"/>
26
- <line x1="220" y1="0" x2="220" y2="120"/>
27
- <line x1="240" y1="0" x2="240" y2="120"/>
28
- <line x1="260" y1="0" x2="260" y2="120"/>
29
- <line x1="280" y1="0" x2="280" y2="120"/>
30
- <line x1="300" y1="0" x2="300" y2="120"/>
31
- <line x1="320" y1="0" x2="320" y2="120"/>
32
- <line x1="340" y1="0" x2="340" y2="120"/>
33
- <line x1="360" y1="0" x2="360" y2="120"/>
34
- <line x1="380" y1="0" x2="380" y2="120"/>
35
- <line x1="400" y1="0" x2="400" y2="120"/>
36
- <line x1="420" y1="0" x2="420" y2="120"/>
37
- <line x1="440" y1="0" x2="440" y2="120"/>
38
- <line x1="460" y1="0" x2="460" y2="120"/>
39
- <line x1="480" y1="0" x2="480" y2="120"/>
40
- <line x1="500" y1="0" x2="500" y2="120"/>
41
- </g>
42
-
43
- </svg>
@@ -1,9 +0,0 @@
1
- <svg
2
- version="1.1"
3
- xmlns="http://www.w3.org/2000/svg"
4
- viewBox="0 0 19.481 19.481"
5
- enable-background="new 0 0 19.481 19.481"
6
- >
7
- <path
8
- d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>
9
- </svg>
@@ -1,12 +0,0 @@
1
- <svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" x="20px" y="20px"
2
- viewBox="0 0 512.001 512.001">
3
- <path d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
4
- c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
5
- c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
6
- c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
7
- c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
8
- l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
9
- l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
10
- c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
11
- l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"/>
12
- </svg>