@everymatrix/user-deposit-withdrawal 1.87.44 → 1.88.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 (27) hide show
  1. package/dist/cjs/{index-ef2818c5.js → index-8e37d067.js} +114 -4
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/player-step-up-auth_2.cjs.entry.js +2570 -0
  4. package/dist/cjs/user-deposit-withdrawal.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +8 -1
  6. package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.js +266 -22
  7. package/dist/collection/utils/constants.js +31 -0
  8. package/dist/collection/utils/user-deposit-withdrawal.types.js +7 -0
  9. package/dist/collection/utils/utils.js +14 -0
  10. package/dist/esm/{index-1ef3a64c.js → index-2ff63899.js} +113 -5
  11. package/dist/esm/loader.js +3 -3
  12. package/dist/esm/player-step-up-auth_2.entry.js +2565 -0
  13. package/dist/esm/user-deposit-withdrawal.js +3 -3
  14. package/dist/types/components/user-deposit-withdrawal/index.d.ts +1 -1
  15. package/dist/types/components/user-deposit-withdrawal/user-deposit-withdrawal.d.ts +29 -33
  16. package/dist/types/components.d.ts +10 -2
  17. package/dist/types/utils/constants.d.ts +23 -0
  18. package/dist/types/utils/user-deposit-withdrawal.types.d.ts +72 -0
  19. package/dist/types/utils/utils.d.ts +8 -0
  20. package/dist/user-deposit-withdrawal/index-2ff63899.js +2 -0
  21. package/dist/user-deposit-withdrawal/player-step-up-auth_2.entry.js +6 -0
  22. package/dist/user-deposit-withdrawal/user-deposit-withdrawal.esm.js +1 -1
  23. package/package.json +1 -1
  24. package/dist/cjs/user-deposit-withdrawal.cjs.entry.js +0 -552
  25. package/dist/esm/user-deposit-withdrawal.entry.js +0 -548
  26. package/dist/user-deposit-withdrawal/index-1ef3a64c.js +0 -2
  27. package/dist/user-deposit-withdrawal/user-deposit-withdrawal.entry.js +0 -1
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'user-deposit-withdrawal';
24
- const BUILD = /* user-deposit-withdrawal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* user-deposit-withdrawal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -71,10 +71,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
71
71
  }
72
72
  switch(bundleId) {
73
73
 
74
- case 'user-deposit-withdrawal.cjs':
74
+ case 'player-step-up-auth_2.cjs':
75
75
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
76
76
  /* webpackMode: "lazy" */
77
- './user-deposit-withdrawal.cjs.entry.js')); }).then(processMod, consoleError);
77
+ './player-step-up-auth_2.cjs.entry.js')); }).then(processMod, consoleError);
78
78
  }
79
79
  }
80
80
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -106,6 +106,22 @@ var plt = {
106
106
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
107
107
  ce: (eventName, opts) => new CustomEvent(eventName, opts)
108
108
  };
109
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
110
+ let supportsListenerOptions2 = false;
111
+ try {
112
+ doc.addEventListener(
113
+ "e",
114
+ null,
115
+ Object.defineProperty({}, "passive", {
116
+ get() {
117
+ supportsListenerOptions2 = true;
118
+ }
119
+ })
120
+ );
121
+ } catch (e) {
122
+ }
123
+ return supportsListenerOptions2;
124
+ })();
109
125
  var promiseResolve = (v) => Promise.resolve(v);
110
126
  var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
111
127
  try {
@@ -267,6 +283,13 @@ var h = (nodeName, vnodeData, ...children) => {
267
283
  }
268
284
  }
269
285
  }
286
+ if (typeof nodeName === "function") {
287
+ return nodeName(
288
+ vnodeData === null ? {} : vnodeData,
289
+ vNodeChildren,
290
+ vdomFnUtils
291
+ );
292
+ }
270
293
  const vnode = newVNode(nodeName, null);
271
294
  vnode.$attrs$ = vnodeData;
272
295
  if (vNodeChildren.length > 0) {
@@ -295,6 +318,36 @@ var newVNode = (tag, text) => {
295
318
  };
296
319
  var Host = {};
297
320
  var isHost = (node) => node && node.$tag$ === Host;
321
+ var vdomFnUtils = {
322
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
323
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
324
+ };
325
+ var convertToPublic = (node) => ({
326
+ vattrs: node.$attrs$,
327
+ vchildren: node.$children$,
328
+ vkey: node.$key$,
329
+ vname: node.$name$,
330
+ vtag: node.$tag$,
331
+ vtext: node.$text$
332
+ });
333
+ var convertToPrivate = (node) => {
334
+ if (typeof node.vtag === "function") {
335
+ const vnodeData = { ...node.vattrs };
336
+ if (node.vkey) {
337
+ vnodeData.key = node.vkey;
338
+ }
339
+ if (node.vname) {
340
+ vnodeData.name = node.vname;
341
+ }
342
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
343
+ }
344
+ const vnode = newVNode(node.vtag, node.vtext);
345
+ vnode.$attrs$ = node.vattrs;
346
+ vnode.$children$ = node.vchildren;
347
+ vnode.$key$ = node.vkey;
348
+ vnode.$name$ = node.vname;
349
+ return vnode;
350
+ };
298
351
  var parsePropertyValue = (propValue, propType) => {
299
352
  if (propValue != null && !isComplexType(propValue)) {
300
353
  if (propType & 4 /* Boolean */) {
@@ -307,6 +360,7 @@ var parsePropertyValue = (propValue, propType) => {
307
360
  }
308
361
  return propValue;
309
362
  };
363
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
310
364
  var emitEvent = (elm, name, opts) => {
311
365
  const ev = plt.ce(name, opts);
312
366
  elm.dispatchEvent(ev);
@@ -764,6 +818,13 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
764
818
  }
765
819
  let maybePromise;
766
820
  if (isInitialLoad) {
821
+ {
822
+ hostRef.$flags$ |= 256 /* isListenReady */;
823
+ if (hostRef.$queuedListeners$) {
824
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
825
+ hostRef.$queuedListeners$ = void 0;
826
+ }
827
+ }
767
828
  {
768
829
  maybePromise = safeCall(instance, "componentWillLoad");
769
830
  }
@@ -1091,6 +1152,7 @@ var connectedCallback = (elm) => {
1091
1152
  initializeComponent(elm, hostRef, cmpMeta);
1092
1153
  }
1093
1154
  } else {
1155
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1094
1156
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1095
1157
  hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1096
1158
  }
@@ -1106,6 +1168,12 @@ var disconnectInstance = (instance) => {
1106
1168
  var disconnectedCallback = async (elm) => {
1107
1169
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1108
1170
  const hostRef = getHostRef(elm);
1171
+ {
1172
+ if (hostRef.$rmListeners$) {
1173
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1174
+ hostRef.$rmListeners$ = void 0;
1175
+ }
1176
+ }
1109
1177
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1110
1178
  disconnectInstance(hostRef.$lazyInstance$);
1111
1179
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
@@ -1145,6 +1213,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1145
1213
  {
1146
1214
  cmpMeta.$members$ = compactMeta[2];
1147
1215
  }
1216
+ {
1217
+ cmpMeta.$listeners$ = compactMeta[3];
1218
+ }
1148
1219
  {
1149
1220
  cmpMeta.$attrsToReflect$ = [];
1150
1221
  }
@@ -1176,9 +1247,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1176
1247
  }
1177
1248
  }
1178
1249
  connectedCallback() {
1179
- getHostRef(this);
1250
+ const hostRef = getHostRef(this);
1180
1251
  if (!this.hasRegisteredEventListeners) {
1181
1252
  this.hasRegisteredEventListeners = true;
1253
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1182
1254
  }
1183
1255
  if (appLoadFallback) {
1184
1256
  clearTimeout(appLoadFallback);
@@ -1234,11 +1306,49 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1234
1306
  endBootstrap();
1235
1307
  };
1236
1308
 
1309
+ // src/runtime/fragment.ts
1310
+ var Fragment = (_, children) => children;
1311
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1312
+ if (listeners) {
1313
+ listeners.map(([flags, name, method]) => {
1314
+ const target = getHostListenerTarget(elm, flags) ;
1315
+ const handler = hostListenerProxy(hostRef, method);
1316
+ const opts = hostListenerOpts(flags);
1317
+ plt.ael(target, name, handler, opts);
1318
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1319
+ });
1320
+ }
1321
+ };
1322
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1323
+ var _a;
1324
+ try {
1325
+ {
1326
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
1327
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
1328
+ } else {
1329
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1330
+ }
1331
+ }
1332
+ } catch (e) {
1333
+ consoleError(e);
1334
+ }
1335
+ };
1336
+ var getHostListenerTarget = (elm, flags) => {
1337
+ if (flags & 8 /* TargetWindow */) return win;
1338
+ return elm;
1339
+ };
1340
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1341
+ passive: (flags & 1 /* Passive */) !== 0,
1342
+ capture: (flags & 2 /* Capture */) !== 0
1343
+ } : (flags & 2 /* Capture */) !== 0;
1344
+
1237
1345
  // src/runtime/nonce.ts
1238
1346
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1239
1347
 
1348
+ exports.Fragment = Fragment;
1240
1349
  exports.Host = Host;
1241
1350
  exports.bootstrapLazy = bootstrapLazy;
1351
+ exports.getElement = getElement;
1242
1352
  exports.h = h;
1243
1353
  exports.promiseResolve = promiseResolve;
1244
1354
  exports.registerInstance = registerInstance;
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef2818c5.js');
5
+ const index = require('./index-8e37d067.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["user-deposit-withdrawal.cjs",[[1,"user-deposit-withdrawal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"endpoint":[513],"type":[513],"channel":[513],"language":[513],"productType":[513,"product-type"],"userId":[513,"user-id"],"session":[513],"successUrl":[513,"success-url"],"cancelUrl":[513,"cancel-url"],"failUrl":[513,"fail-url"],"sportsUrl":[513,"sports-url"],"casinoUrl":[513,"casino-url"],"contactUrl":[513,"contact-url"],"depositUrl":[513,"deposit-url"],"currency":[513],"showBonusSelectionInput":[513,"show-bonus-selection-input"],"isShortCashier":[516,"is-short-cashier"],"homeUrl":[513,"home-url"],"beforeRedirect":[16],"forwardCashierRedirects":[516,"forward-cashier-redirects"],"dynamicHeight":[32],"cashierInfoUrl":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
11
+ return index.bootstrapLazy([["player-step-up-auth_2.cjs",[[1,"user-deposit-withdrawal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"endpoint":[513],"type":[513],"channel":[513],"language":[513],"productType":[513,"product-type"],"userId":[513,"user-id"],"session":[513],"successUrl":[513,"success-url"],"cancelUrl":[513,"cancel-url"],"failUrl":[513,"fail-url"],"sportsUrl":[513,"sports-url"],"casinoUrl":[513,"casino-url"],"contactUrl":[513,"contact-url"],"depositUrl":[513,"deposit-url"],"currency":[513],"showBonusSelectionInput":[513,"show-bonus-selection-input"],"isShortCashier":[516,"is-short-cashier"],"homeUrl":[513,"home-url"],"beforeRedirect":[16],"forwardCashierRedirects":[516,"forward-cashier-redirects"],"enableStepUpAuth":[516,"enable-step-up-auth"],"dynamicHeight":[32],"cashierInfoUrl":[32]},[[8,"otpSuccess","handleOtpSuccess"],[8,"manualClosePopup","handleManualClosePopup"],[8,"otpResendRequested","handleOtpResendRequested"],[8,"otpSetTimeout","handleOtpSetTimeout"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"],"enableStepUpAuth":["handleEnableStepUpAuthChange"]}],[1,"player-step-up-auth",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"endpoint":[513],"userSession":[513,"user-session"],"translationUrl":[513,"translation-url"],"showPopup":[32],"otp":[32],"isLoading":[32],"config":[32],"timeLeft":[32],"expirationTime":[32],"serverTime":[32],"hasErrors":[32],"hasConfigErrors":[32],"errorMessage":[32],"token":[32],"flow":[32],"showResendOtp":[32],"isLastWarning":[32],"inputDisabled":[32],"isValidating":[32],"isSuccess":[32],"shakeError":[32]},[[8,"stepUpAuthRequired","handleStepUpAuthEvent"],[8,"closePopup","handleCloseWidget"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;