@everymatrix/player-lugas-limit 1.0.69

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 (44) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-449fb94e.js +1201 -0
  3. package/dist/cjs/index.cjs.js +2 -0
  4. package/dist/cjs/loader.cjs.js +15 -0
  5. package/dist/cjs/player-lugas-limit.cjs.entry.js +428 -0
  6. package/dist/cjs/player-lugas-limit.cjs.js +25 -0
  7. package/dist/collection/collection-manifest.json +12 -0
  8. package/dist/collection/components/player-lugas-limit/index.js +1 -0
  9. package/dist/collection/components/player-lugas-limit/player-lugas-limit.css +181 -0
  10. package/dist/collection/components/player-lugas-limit/player-lugas-limit.js +490 -0
  11. package/dist/collection/index.js +1 -0
  12. package/dist/collection/utils/locale.utils.js +192 -0
  13. package/dist/collection/utils/utils.js +0 -0
  14. package/dist/esm/app-globals-0f993ce5.js +3 -0
  15. package/dist/esm/index-7e4db82e.js +1174 -0
  16. package/dist/esm/index.js +1 -0
  17. package/dist/esm/loader.js +11 -0
  18. package/dist/esm/player-lugas-limit.entry.js +424 -0
  19. package/dist/esm/player-lugas-limit.js +20 -0
  20. package/dist/index.cjs.js +1 -0
  21. package/dist/index.js +1 -0
  22. package/dist/player-lugas-limit/index.esm.js +0 -0
  23. package/dist/player-lugas-limit/p-1b35b3bc.js +2 -0
  24. package/dist/player-lugas-limit/p-5a488bd2.entry.js +1 -0
  25. package/dist/player-lugas-limit/p-e1255160.js +1 -0
  26. package/dist/player-lugas-limit/player-lugas-limit.esm.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/player-lugas-limit/.stencil/packages/stencil/player-lugas-limit/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/player-lugas-limit/.stencil/packages/stencil/player-lugas-limit/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/player-lugas-limit/index.d.ts +1 -0
  32. package/dist/types/components/player-lugas-limit/player-lugas-limit.d.ts +83 -0
  33. package/dist/types/components.d.ts +146 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/locale.utils.d.ts +2 -0
  37. package/dist/types/utils/utils.d.ts +0 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +26 -0
@@ -0,0 +1 @@
1
+ import{p as n,b as i}from"./p-1b35b3bc.js";export{s as setNonce}from"./p-1b35b3bc.js";import{g as t}from"./p-e1255160.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),n(t)})().then((async n=>(await t(),i([["p-5a488bd2",[[1,"player-lugas-limit",{userId:[1,"user-id"],session:[1],endpoint:[1],currency:[1],flow:[1],amountMinMax:[1,"amount-min-max"],amount:[1],lang:[1],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],validation:[32],kyc:[32],dropDown:[32],isLoading:[32],hasErrors:[32],inputValue:[32],isButtonDisabled:[32],crossProviders:[32],invalidInput:[32],userAmount:[32],operatorDepositLimitAmount:[32],regularDepositLimitAmount:[32],stylingAppends:[32],isWithinRange:[32],minimumRange:[32]},null,{translationUrl:["handleNewTranslations"]}]]]],n))));
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'player-lugas-limit',
4
+ taskQueue: 'async',
5
+ sourceMap: true,
6
+ minifyJs: false,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'www',
14
+ serviceWorker: null // disable service workers
15
+ }
16
+ ]
17
+ };
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'player-lugas-limit',
4
+ taskQueue: 'async',
5
+ sourceMap: false,
6
+ minifyJs: true,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'dist',
14
+ esmLoaderPath: '../loader'
15
+ }
16
+ ]
17
+ };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1 @@
1
+ export { PlayerLugasLimit } from './player-lugas-limit';
@@ -0,0 +1,83 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class PlayerLugasLimit {
3
+ /**
4
+ * The userId
5
+ */
6
+ userId: string;
7
+ /**
8
+ * The session
9
+ */
10
+ session: string;
11
+ /**
12
+ * The NorWAy endpoint
13
+ */
14
+ endpoint: string;
15
+ /**
16
+ * Currency of the player
17
+ */
18
+ currency: string;
19
+ /**
20
+ * This chooses what type of flow the widget will have, “1” will be the Soft Migration Dialog and the “2” will be the New User
21
+ */
22
+ flow: string;
23
+ /**
24
+ * This decides the minimum and maximum mandatory amount for setting a new limit, example: amountMinMax=“10,3000”
25
+ */
26
+ amountMinMax: string;
27
+ /**
28
+ * The amount
29
+ */
30
+ amount: string;
31
+ /**
32
+ * The lang
33
+ */
34
+ lang: string;
35
+ /**
36
+ * Client custom styling via string
37
+ */
38
+ clientStyling: string;
39
+ /**
40
+ * Client custom styling via url
41
+ */
42
+ clientStylingUrl: string;
43
+ /**
44
+ * The translationurl
45
+ */
46
+ translationUrl: string;
47
+ validation: boolean;
48
+ private kyc;
49
+ private dropDown;
50
+ private isLoading;
51
+ private hasErrors;
52
+ inputValue: string;
53
+ isButtonDisabled: boolean;
54
+ crossProviders: boolean;
55
+ invalidInput: boolean;
56
+ userAmount: string;
57
+ operatorDepositLimitAmount: string;
58
+ regularDepositLimitAmount: string;
59
+ private stylingAppends;
60
+ isWithinRange: boolean;
61
+ minimumRange: boolean;
62
+ isValidNumber: boolean;
63
+ hasValidDecimalSeparator: boolean;
64
+ private stylingContainer;
65
+ /**
66
+ * Upload documents event
67
+ */
68
+ uploadDocuments: EventEmitter;
69
+ closePopup: EventEmitter;
70
+ componentDidRender(): void;
71
+ handleNewTranslations(): void;
72
+ componentWillLoad(): Promise<void>;
73
+ setClientStyling: () => void;
74
+ setClientStylingURL: () => void;
75
+ postPlayerSituation: (userAmount?: any, keepLimit?: boolean, initialNewLimit?: boolean) => void;
76
+ handleClick: (input: string) => void;
77
+ handleSubmit(event: Event): void;
78
+ containsOnlyDigits(input: any): boolean;
79
+ handleInputChange(event: Event): void;
80
+ renderKYC(step: any): any;
81
+ renderValidator(input: any): any;
82
+ render(): any;
83
+ }
@@ -0,0 +1,146 @@
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 PlayerLugasLimit {
10
+ /**
11
+ * The amount
12
+ */
13
+ "amount": string;
14
+ /**
15
+ * This decides the minimum and maximum mandatory amount for setting a new limit, example: amountMinMax=“10,3000”
16
+ */
17
+ "amountMinMax": string;
18
+ /**
19
+ * Client custom styling via string
20
+ */
21
+ "clientStyling": string;
22
+ /**
23
+ * Client custom styling via url
24
+ */
25
+ "clientStylingUrl": string;
26
+ /**
27
+ * Currency of the player
28
+ */
29
+ "currency": string;
30
+ /**
31
+ * The NorWAy endpoint
32
+ */
33
+ "endpoint": string;
34
+ /**
35
+ * This chooses what type of flow the widget will have, “1” will be the Soft Migration Dialog and the “2” will be the New User
36
+ */
37
+ "flow": string;
38
+ /**
39
+ * The lang
40
+ */
41
+ "lang": string;
42
+ /**
43
+ * The session
44
+ */
45
+ "session": string;
46
+ /**
47
+ * The translationurl
48
+ */
49
+ "translationUrl": string;
50
+ /**
51
+ * The userId
52
+ */
53
+ "userId": string;
54
+ }
55
+ }
56
+ export interface PlayerLugasLimitCustomEvent<T> extends CustomEvent<T> {
57
+ detail: T;
58
+ target: HTMLPlayerLugasLimitElement;
59
+ }
60
+ declare global {
61
+ interface HTMLPlayerLugasLimitElementEventMap {
62
+ "uploadDocuments": any;
63
+ "closePopup": any;
64
+ }
65
+ interface HTMLPlayerLugasLimitElement extends Components.PlayerLugasLimit, HTMLStencilElement {
66
+ addEventListener<K extends keyof HTMLPlayerLugasLimitElementEventMap>(type: K, listener: (this: HTMLPlayerLugasLimitElement, ev: PlayerLugasLimitCustomEvent<HTMLPlayerLugasLimitElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
67
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
68
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
69
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
70
+ removeEventListener<K extends keyof HTMLPlayerLugasLimitElementEventMap>(type: K, listener: (this: HTMLPlayerLugasLimitElement, ev: PlayerLugasLimitCustomEvent<HTMLPlayerLugasLimitElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
71
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
72
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
73
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
74
+ }
75
+ var HTMLPlayerLugasLimitElement: {
76
+ prototype: HTMLPlayerLugasLimitElement;
77
+ new (): HTMLPlayerLugasLimitElement;
78
+ };
79
+ interface HTMLElementTagNameMap {
80
+ "player-lugas-limit": HTMLPlayerLugasLimitElement;
81
+ }
82
+ }
83
+ declare namespace LocalJSX {
84
+ interface PlayerLugasLimit {
85
+ /**
86
+ * The amount
87
+ */
88
+ "amount"?: string;
89
+ /**
90
+ * This decides the minimum and maximum mandatory amount for setting a new limit, example: amountMinMax=“10,3000”
91
+ */
92
+ "amountMinMax"?: string;
93
+ /**
94
+ * Client custom styling via string
95
+ */
96
+ "clientStyling"?: string;
97
+ /**
98
+ * Client custom styling via url
99
+ */
100
+ "clientStylingUrl"?: string;
101
+ /**
102
+ * Currency of the player
103
+ */
104
+ "currency"?: string;
105
+ /**
106
+ * The NorWAy endpoint
107
+ */
108
+ "endpoint"?: string;
109
+ /**
110
+ * This chooses what type of flow the widget will have, “1” will be the Soft Migration Dialog and the “2” will be the New User
111
+ */
112
+ "flow"?: string;
113
+ /**
114
+ * The lang
115
+ */
116
+ "lang"?: string;
117
+ "onClosePopup"?: (event: PlayerLugasLimitCustomEvent<any>) => void;
118
+ /**
119
+ * Upload documents event
120
+ */
121
+ "onUploadDocuments"?: (event: PlayerLugasLimitCustomEvent<any>) => void;
122
+ /**
123
+ * The session
124
+ */
125
+ "session"?: string;
126
+ /**
127
+ * The translationurl
128
+ */
129
+ "translationUrl"?: string;
130
+ /**
131
+ * The userId
132
+ */
133
+ "userId"?: string;
134
+ }
135
+ interface IntrinsicElements {
136
+ "player-lugas-limit": PlayerLugasLimit;
137
+ }
138
+ }
139
+ export { LocalJSX as JSX };
140
+ declare module "@stencil/core" {
141
+ export namespace JSX {
142
+ interface IntrinsicElements {
143
+ "player-lugas-limit": LocalJSX.PlayerLugasLimit & JSXBase.HTMLAttributes<HTMLPlayerLugasLimitElement>;
144
+ }
145
+ }
146
+ }
@@ -0,0 +1 @@
1
+ export * from './components';