@everymatrix/user-deposit-withdrawal 1.56.0 → 1.56.3
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.
- package/dist/cjs/{index-8df72484.js → index-ef2818c5.js} +71 -208
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-deposit-withdrawal.cjs.entry.js +23 -23
- package/dist/cjs/user-deposit-withdrawal.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.js +23 -69
- package/dist/esm/{index-c7e52808.js → index-1ef3a64c.js} +71 -208
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-deposit-withdrawal.entry.js +23 -23
- package/dist/esm/user-deposit-withdrawal.js +3 -3
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/dist/user-deposit-withdrawal/p-28da125c.js +2 -0
- package/dist/user-deposit-withdrawal/p-cfe9e501.entry.js +1 -0
- package/dist/user-deposit-withdrawal/user-deposit-withdrawal.esm.js +1 -1
- package/package.json +1 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.dev.d.ts +0 -2
- package/dist/user-deposit-withdrawal/p-0522d925.entry.js +0 -1
- package/dist/user-deposit-withdrawal/p-2ae4c897.js +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'user-deposit-withdrawal';
|
|
2
|
-
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,
|
|
2
|
+
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 };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
// src/utils/constants.ts
|
|
14
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
15
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
16
|
-
|
|
17
|
-
// src/client/client-host-ref.ts
|
|
18
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
19
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
20
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
21
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
22
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
23
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
24
16
|
const hostRef = {
|
|
25
17
|
$flags$: 0,
|
|
@@ -32,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
32
24
|
hostElement["s-p"] = [];
|
|
33
25
|
hostElement["s-rc"] = [];
|
|
34
26
|
}
|
|
35
|
-
|
|
36
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
37
28
|
};
|
|
38
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
39
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -70,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
70
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
71
62
|
/* webpackMode: "lazy" */
|
|
72
63
|
`./${bundleId}.entry.js${""}`
|
|
73
|
-
).then(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
cmpModules.set(bundleId, importedModule);
|
|
77
|
-
}
|
|
78
|
-
return importedModule[exportName];
|
|
79
|
-
},
|
|
80
|
-
(e) => {
|
|
81
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
82
67
|
}
|
|
83
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
84
70
|
};
|
|
85
71
|
|
|
86
72
|
// src/client/client-style.ts
|
|
87
73
|
var styles = /* @__PURE__ */ new Map();
|
|
88
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
89
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
90
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
91
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -143,6 +128,14 @@ var flush = () => {
|
|
|
143
128
|
};
|
|
144
129
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
145
130
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
131
|
+
|
|
132
|
+
// src/utils/constants.ts
|
|
133
|
+
var EMPTY_OBJ = {};
|
|
134
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
135
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
136
|
+
|
|
137
|
+
// src/utils/helpers.ts
|
|
138
|
+
var isDef = (v) => v != null;
|
|
146
139
|
var isComplexType = (o) => {
|
|
147
140
|
o = typeof o;
|
|
148
141
|
return o === "object" || o === "function";
|
|
@@ -327,40 +320,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
327
320
|
}
|
|
328
321
|
if (!appliedStyles.has(scopeId2)) {
|
|
329
322
|
{
|
|
330
|
-
styleElm =
|
|
323
|
+
styleElm = doc.createElement("style");
|
|
331
324
|
styleElm.innerHTML = style;
|
|
332
325
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
333
326
|
if (nonce != null) {
|
|
334
327
|
styleElm.setAttribute("nonce", nonce);
|
|
335
328
|
}
|
|
336
|
-
|
|
337
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
338
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
339
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
340
|
-
styleContainerNode.insertBefore(
|
|
341
|
-
styleElm,
|
|
342
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
343
|
-
);
|
|
344
|
-
} else if ("host" in styleContainerNode) {
|
|
345
|
-
if (supportsConstructableStylesheets) {
|
|
346
|
-
const stylesheet = new CSSStyleSheet();
|
|
347
|
-
stylesheet.replaceSync(style);
|
|
348
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
349
|
-
} else {
|
|
350
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
351
|
-
if (existingStyleContainer) {
|
|
352
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
353
|
-
} else {
|
|
354
|
-
styleContainerNode.prepend(styleElm);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
} else {
|
|
358
|
-
styleContainerNode.append(styleElm);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
362
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
363
|
-
}
|
|
329
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
364
330
|
}
|
|
365
331
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
366
332
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -383,25 +349,23 @@ var attachStyles = (hostRef) => {
|
|
|
383
349
|
const scopeId2 = addStyle(
|
|
384
350
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
385
351
|
cmpMeta);
|
|
386
|
-
if (
|
|
352
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
387
353
|
elm["s-sc"] = scopeId2;
|
|
388
354
|
elm.classList.add(scopeId2 + "-h");
|
|
389
355
|
}
|
|
390
356
|
endAttachStyles();
|
|
391
357
|
};
|
|
392
358
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
393
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
359
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
394
360
|
if (oldValue !== newValue) {
|
|
395
361
|
let isProp = isMemberInElement(elm, memberName);
|
|
396
362
|
let ln = memberName.toLowerCase();
|
|
397
363
|
if (memberName === "class") {
|
|
398
364
|
const classList = elm.classList;
|
|
399
365
|
const oldClasses = parseClassList(oldValue);
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
404
|
-
}
|
|
366
|
+
const newClasses = parseClassList(newValue);
|
|
367
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
368
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
405
369
|
} else if (memberName === "style") {
|
|
406
370
|
{
|
|
407
371
|
for (const prop in oldValue) {
|
|
@@ -454,13 +418,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
454
418
|
if (memberName === "list") {
|
|
455
419
|
isProp = false;
|
|
456
420
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
457
|
-
|
|
458
|
-
elm[memberName] = n;
|
|
459
|
-
} else {
|
|
460
|
-
elm.setAttribute(memberName, n);
|
|
461
|
-
}
|
|
421
|
+
elm[memberName] = n;
|
|
462
422
|
}
|
|
463
|
-
} else
|
|
423
|
+
} else {
|
|
464
424
|
elm[memberName] = newValue;
|
|
465
425
|
}
|
|
466
426
|
} catch (e) {
|
|
@@ -482,44 +442,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
482
442
|
}
|
|
483
443
|
};
|
|
484
444
|
var parseClassListRegex = /\s/;
|
|
485
|
-
var parseClassList = (value) =>
|
|
486
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
487
|
-
value = value.baseVal;
|
|
488
|
-
}
|
|
489
|
-
if (!value || typeof value !== "string") {
|
|
490
|
-
return [];
|
|
491
|
-
}
|
|
492
|
-
return value.split(parseClassListRegex);
|
|
493
|
-
};
|
|
445
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
494
446
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
495
447
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
496
448
|
|
|
497
449
|
// src/runtime/vdom/update-element.ts
|
|
498
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
450
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
499
451
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
500
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
501
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
452
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
453
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
502
454
|
{
|
|
503
455
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
504
456
|
if (!(memberName in newVnodeAttrs)) {
|
|
505
|
-
setAccessor(
|
|
506
|
-
elm,
|
|
507
|
-
memberName,
|
|
508
|
-
oldVnodeAttrs[memberName],
|
|
509
|
-
void 0,
|
|
510
|
-
isSvgMode2,
|
|
511
|
-
newVnode.$flags$);
|
|
457
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
512
458
|
}
|
|
513
459
|
}
|
|
514
460
|
}
|
|
515
461
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
516
|
-
setAccessor(
|
|
517
|
-
elm,
|
|
518
|
-
memberName,
|
|
519
|
-
oldVnodeAttrs[memberName],
|
|
520
|
-
newVnodeAttrs[memberName],
|
|
521
|
-
isSvgMode2,
|
|
522
|
-
newVnode.$flags$);
|
|
462
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
523
463
|
}
|
|
524
464
|
};
|
|
525
465
|
function sortedAttrNames(attrNames) {
|
|
@@ -531,10 +471,13 @@ function sortedAttrNames(attrNames) {
|
|
|
531
471
|
attrNames
|
|
532
472
|
);
|
|
533
473
|
}
|
|
474
|
+
|
|
475
|
+
// src/runtime/vdom/vdom-render.ts
|
|
476
|
+
var scopeId;
|
|
534
477
|
var hostTagName;
|
|
535
478
|
var useNativeShadowDom = false;
|
|
536
479
|
var isSvgMode = false;
|
|
537
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
480
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
538
481
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
539
482
|
let i2 = 0;
|
|
540
483
|
let elm;
|
|
@@ -555,6 +498,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
555
498
|
{
|
|
556
499
|
updateElement(null, newVNode2, isSvgMode);
|
|
557
500
|
}
|
|
501
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
502
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
503
|
+
}
|
|
558
504
|
if (newVNode2.$children$) {
|
|
559
505
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
560
506
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -691,9 +637,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
691
637
|
if (!isInitialRender) {
|
|
692
638
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
693
639
|
}
|
|
694
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
695
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
696
|
-
}
|
|
697
640
|
return true;
|
|
698
641
|
}
|
|
699
642
|
return false;
|
|
@@ -720,10 +663,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
720
663
|
elm.textContent = "";
|
|
721
664
|
}
|
|
722
665
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
723
|
-
} else if (
|
|
724
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
725
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
726
|
-
) {
|
|
666
|
+
} else if (oldChildren !== null) {
|
|
727
667
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
728
668
|
}
|
|
729
669
|
if (isSvgMode && tag === "svg") {
|
|
@@ -740,9 +680,8 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
740
680
|
}
|
|
741
681
|
};
|
|
742
682
|
var insertBefore = (parent, newNode, reference) => {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}
|
|
683
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
684
|
+
return inserted;
|
|
746
685
|
};
|
|
747
686
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
748
687
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -767,21 +706,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
767
706
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
768
707
|
hostRef.$vnode$ = rootVnode;
|
|
769
708
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
770
|
-
|
|
709
|
+
{
|
|
710
|
+
scopeId = hostElm["s-sc"];
|
|
711
|
+
}
|
|
712
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
771
713
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
772
714
|
};
|
|
773
715
|
|
|
774
716
|
// src/runtime/update-component.ts
|
|
775
717
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
776
718
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
777
|
-
|
|
778
|
-
new Promise(
|
|
779
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
780
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
781
|
-
r();
|
|
782
|
-
}
|
|
783
|
-
)
|
|
784
|
-
);
|
|
719
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
785
720
|
}
|
|
786
721
|
};
|
|
787
722
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -808,7 +743,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
808
743
|
let maybePromise;
|
|
809
744
|
if (isInitialLoad) {
|
|
810
745
|
{
|
|
811
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
746
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
812
747
|
}
|
|
813
748
|
}
|
|
814
749
|
endSchedule();
|
|
@@ -882,7 +817,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
882
817
|
addHydratedFlag(elm);
|
|
883
818
|
}
|
|
884
819
|
{
|
|
885
|
-
safeCall(instance, "componentDidLoad"
|
|
820
|
+
safeCall(instance, "componentDidLoad");
|
|
886
821
|
}
|
|
887
822
|
endPostUpdate();
|
|
888
823
|
{
|
|
@@ -906,14 +841,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
906
841
|
}
|
|
907
842
|
};
|
|
908
843
|
var appDidLoad = (who) => {
|
|
844
|
+
{
|
|
845
|
+
addHydratedFlag(doc.documentElement);
|
|
846
|
+
}
|
|
909
847
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
910
848
|
};
|
|
911
|
-
var safeCall = (instance, method, arg
|
|
849
|
+
var safeCall = (instance, method, arg) => {
|
|
912
850
|
if (instance && instance[method]) {
|
|
913
851
|
try {
|
|
914
852
|
return instance[method](arg);
|
|
915
853
|
} catch (e) {
|
|
916
|
-
consoleError(e
|
|
854
|
+
consoleError(e);
|
|
917
855
|
}
|
|
918
856
|
}
|
|
919
857
|
return void 0;
|
|
@@ -972,68 +910,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
972
910
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
973
911
|
members.map(([memberName, [memberFlags]]) => {
|
|
974
912
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
975
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
976
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
977
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
978
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
979
|
-
Object.defineProperty(prototype, memberName, {
|
|
980
|
-
get() {
|
|
981
|
-
{
|
|
982
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
983
|
-
return getValue(this, memberName);
|
|
984
|
-
}
|
|
985
|
-
const ref = getHostRef(this);
|
|
986
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
987
|
-
if (!instance) return;
|
|
988
|
-
return instance[memberName];
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
configurable: true,
|
|
992
|
-
enumerable: true
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
913
|
Object.defineProperty(prototype, memberName, {
|
|
914
|
+
get() {
|
|
915
|
+
return getValue(this, memberName);
|
|
916
|
+
},
|
|
996
917
|
set(newValue) {
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
1002
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1003
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1004
|
-
}
|
|
1005
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1006
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1007
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1008
|
-
return;
|
|
1009
|
-
}
|
|
1010
|
-
{
|
|
1011
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1012
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1013
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1014
|
-
ref.$onReadyPromise$.then(() => {
|
|
1015
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1016
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
1017
|
-
}
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
|
-
return;
|
|
1021
|
-
}
|
|
1022
|
-
const setterSetVal = () => {
|
|
1023
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
1024
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1025
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1026
|
-
}
|
|
1027
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1028
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1029
|
-
};
|
|
1030
|
-
if (ref.$lazyInstance$) {
|
|
1031
|
-
setterSetVal();
|
|
1032
|
-
} else {
|
|
1033
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
918
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
919
|
+
},
|
|
920
|
+
configurable: true,
|
|
921
|
+
enumerable: true
|
|
1037
922
|
});
|
|
1038
923
|
}
|
|
1039
924
|
});
|
|
@@ -1043,11 +928,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1043
928
|
plt.jmp(() => {
|
|
1044
929
|
var _a2;
|
|
1045
930
|
const propName = attrNameToPropName.get(attrName);
|
|
1046
|
-
if (this.hasOwnProperty(propName)
|
|
931
|
+
if (this.hasOwnProperty(propName)) {
|
|
1047
932
|
newValue = this[propName];
|
|
1048
933
|
delete this[propName];
|
|
1049
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1050
|
-
this[propName] == newValue) {
|
|
934
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1051
935
|
return;
|
|
1052
936
|
} else if (propName == null) {
|
|
1053
937
|
const hostRef = getHostRef(this);
|
|
@@ -1063,11 +947,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1063
947
|
}
|
|
1064
948
|
return;
|
|
1065
949
|
}
|
|
1066
|
-
|
|
1067
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1068
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1069
|
-
this[propName] = newValue;
|
|
1070
|
-
}
|
|
950
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1071
951
|
});
|
|
1072
952
|
};
|
|
1073
953
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1096,7 +976,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1096
976
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1097
977
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1098
978
|
if (bundleId) {
|
|
1099
|
-
const CstrImport = loadModule(cmpMeta
|
|
979
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1100
980
|
if (CstrImport && "then" in CstrImport) {
|
|
1101
981
|
const endLoad = uniqueTime();
|
|
1102
982
|
Cstr = await CstrImport;
|
|
@@ -1121,7 +1001,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1121
1001
|
try {
|
|
1122
1002
|
new Cstr(hostRef);
|
|
1123
1003
|
} catch (e) {
|
|
1124
|
-
consoleError(e
|
|
1004
|
+
consoleError(e);
|
|
1125
1005
|
}
|
|
1126
1006
|
{
|
|
1127
1007
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1156,7 +1036,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1156
1036
|
schedule();
|
|
1157
1037
|
}
|
|
1158
1038
|
};
|
|
1159
|
-
var fireConnectedCallback = (instance
|
|
1039
|
+
var fireConnectedCallback = (instance) => {
|
|
1160
1040
|
};
|
|
1161
1041
|
|
|
1162
1042
|
// src/runtime/connected-callback.ts
|
|
@@ -1196,26 +1076,20 @@ var connectedCallback = (elm) => {
|
|
|
1196
1076
|
endConnected();
|
|
1197
1077
|
}
|
|
1198
1078
|
};
|
|
1199
|
-
var disconnectInstance = (instance
|
|
1079
|
+
var disconnectInstance = (instance) => {
|
|
1200
1080
|
{
|
|
1201
|
-
safeCall(instance, "disconnectedCallback"
|
|
1081
|
+
safeCall(instance, "disconnectedCallback");
|
|
1202
1082
|
}
|
|
1203
1083
|
};
|
|
1204
1084
|
var disconnectedCallback = async (elm) => {
|
|
1205
1085
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1206
1086
|
const hostRef = getHostRef(elm);
|
|
1207
1087
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1208
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
1088
|
+
disconnectInstance(hostRef.$lazyInstance$);
|
|
1209
1089
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1210
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1090
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1211
1091
|
}
|
|
1212
1092
|
}
|
|
1213
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1214
|
-
rootAppliedStyles.delete(elm);
|
|
1215
|
-
}
|
|
1216
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1217
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1218
|
-
}
|
|
1219
1093
|
};
|
|
1220
1094
|
|
|
1221
1095
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1296,17 +1170,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1296
1170
|
}
|
|
1297
1171
|
disconnectedCallback() {
|
|
1298
1172
|
plt.jmp(() => disconnectedCallback(this));
|
|
1299
|
-
plt.raf(() => {
|
|
1300
|
-
var _a3;
|
|
1301
|
-
const hostRef = getHostRef(this);
|
|
1302
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1303
|
-
if (i2 > -1) {
|
|
1304
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1305
|
-
}
|
|
1306
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1307
|
-
delete hostRef.$vnode$.$elm$;
|
|
1308
|
-
}
|
|
1309
|
-
});
|
|
1310
1173
|
}
|
|
1311
1174
|
componentOnReady() {
|
|
1312
1175
|
return getHostRef(this).$onReadyPromise$;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-1ef3a64c.js';
|
|
2
|
+
export { s as setNonce } from './index-1ef3a64c.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-1ef3a64c.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'hr', 'en-us', 'es-mx', 'pt-br', 'es', 'de', 'pt', 'tr'];
|
|
@@ -218,35 +218,35 @@ const emptyFunction = () => { };
|
|
|
218
218
|
const UserDepositWithdrawal = class {
|
|
219
219
|
constructor(hostRef) {
|
|
220
220
|
registerInstance(this, hostRef);
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
this.bindedHandler = this.handleMessage.bind(this);
|
|
222
|
+
this.userAgent = window.navigator.userAgent;
|
|
223
|
+
this.isMobile = isMobile(this.userAgent);
|
|
224
|
+
this.errorCodes = ["21123", "21122"];
|
|
225
|
+
this.mbSource = undefined;
|
|
224
226
|
this.clientStyling = '';
|
|
225
|
-
/**
|
|
226
|
-
* Client custom styling via url
|
|
227
|
-
*/
|
|
228
227
|
this.clientStylingUrl = '';
|
|
229
|
-
/**
|
|
230
|
-
* Translations via URL
|
|
231
|
-
*/
|
|
232
228
|
this.translationUrl = '';
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
229
|
+
this.endpoint = undefined;
|
|
230
|
+
this.type = undefined;
|
|
231
|
+
this.channel = undefined;
|
|
232
|
+
this.language = undefined;
|
|
233
|
+
this.productType = undefined;
|
|
234
|
+
this.userId = undefined;
|
|
235
|
+
this.session = undefined;
|
|
236
|
+
this.successUrl = undefined;
|
|
237
|
+
this.cancelUrl = undefined;
|
|
238
|
+
this.failUrl = undefined;
|
|
239
|
+
this.sportsUrl = undefined;
|
|
240
|
+
this.casinoUrl = undefined;
|
|
241
|
+
this.contactUrl = undefined;
|
|
242
|
+
this.depositUrl = undefined;
|
|
236
243
|
this.currency = '';
|
|
237
|
-
/*
|
|
238
|
-
* Display bonus dropdown
|
|
239
|
-
*/
|
|
240
244
|
this.showBonusSelectionInput = 'true';
|
|
241
|
-
/*
|
|
242
|
-
* State of deposit - short cashier enabled or not
|
|
243
|
-
*/
|
|
244
245
|
this.isShortCashier = false;
|
|
246
|
+
this.homeUrl = undefined;
|
|
245
247
|
this.beforeRedirect = emptyFunction;
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.isMobile = isMobile(this.userAgent);
|
|
249
|
-
this.errorCodes = ["21123", "21122"];
|
|
248
|
+
this.dynamicHeight = undefined;
|
|
249
|
+
this.cashierInfoUrl = undefined;
|
|
250
250
|
}
|
|
251
251
|
get typeParameter() {
|
|
252
252
|
if (this.type === 'deposit') {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-1ef3a64c.js';
|
|
2
|
+
export { s as setNonce } from './index-1ef3a64c.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
-
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
-
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1020
1018
|
crossOrigin?: string;
|
|
1021
1019
|
crossorigin?: string;
|
|
1022
1020
|
loop?: boolean;
|
|
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
|
|
|
1566
1564
|
onSubmitCapture?: (event: Event) => void;
|
|
1567
1565
|
onInvalid?: (event: Event) => void;
|
|
1568
1566
|
onInvalidCapture?: (event: Event) => void;
|
|
1569
|
-
onBeforeToggle?: (event: Event) => void;
|
|
1570
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
|
1571
|
-
onToggle?: (event: Event) => void;
|
|
1572
|
-
onToggleCapture?: (event: Event) => void;
|
|
1573
1567
|
onLoad?: (event: Event) => void;
|
|
1574
1568
|
onLoadCapture?: (event: Event) => void;
|
|
1575
1569
|
onError?: (event: Event) => void;
|