@everymatrix/user-deposit-withdrawal 1.54.11 → 1.55.0
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-bcd33d7f.js → index-43a33fec.js} +72 -175
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-deposit-withdrawal.cjs.entry.js +26 -27
- package/dist/cjs/user-deposit-withdrawal.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.js +26 -71
- package/dist/esm/{index-45f4006f.js → index-657e7a14.js} +72 -175
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-deposit-withdrawal.entry.js +26 -27
- 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/user-deposit-withdrawal/p-0913d346.entry.js +1 -0
- package/dist/user-deposit-withdrawal/p-8690bdb0.js +2 -0
- package/dist/user-deposit-withdrawal/user-deposit-withdrawal.esm.js +1 -1
- package/package.json +1 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/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-619e843b.entry.js +0 -1
- package/dist/user-deposit-withdrawal/p-d1658e2e.js +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -21,27 +21,19 @@ 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: true, 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,
|
|
24
|
+
const BUILD = /* user-deposit-withdrawal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, 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 };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
31
31
|
for (var name in all)
|
|
32
32
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
// src/utils/constants.ts
|
|
36
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
37
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
38
|
-
|
|
39
|
-
// src/client/client-host-ref.ts
|
|
40
34
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
41
35
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
42
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
43
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
44
|
-
};
|
|
36
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
45
37
|
var registerHost = (hostElement, cmpMeta) => {
|
|
46
38
|
const hostRef = {
|
|
47
39
|
$flags$: 0,
|
|
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
54
46
|
hostElement["s-p"] = [];
|
|
55
47
|
hostElement["s-rc"] = [];
|
|
56
48
|
}
|
|
57
|
-
|
|
58
|
-
return ref;
|
|
49
|
+
return hostRefs.set(hostElement, hostRef);
|
|
59
50
|
};
|
|
60
51
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
61
52
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
92
83
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
93
84
|
/* webpackMode: "lazy" */
|
|
94
85
|
`./${bundleId}.entry.js${""}`
|
|
95
|
-
)); }).then(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
cmpModules.set(bundleId, importedModule);
|
|
99
|
-
}
|
|
100
|
-
return importedModule[exportName];
|
|
101
|
-
},
|
|
102
|
-
(e) => {
|
|
103
|
-
consoleError(e, hostRef.$hostElement$);
|
|
86
|
+
)); }).then((importedModule) => {
|
|
87
|
+
{
|
|
88
|
+
cmpModules.set(bundleId, importedModule);
|
|
104
89
|
}
|
|
105
|
-
|
|
90
|
+
return importedModule[exportName];
|
|
91
|
+
}, consoleError);
|
|
106
92
|
};
|
|
107
93
|
|
|
108
94
|
// src/client/client-style.ts
|
|
109
95
|
var styles = /* @__PURE__ */ new Map();
|
|
110
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
111
96
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
112
97
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
113
98
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -165,6 +150,14 @@ var flush = () => {
|
|
|
165
150
|
};
|
|
166
151
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
167
152
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
153
|
+
|
|
154
|
+
// src/utils/constants.ts
|
|
155
|
+
var EMPTY_OBJ = {};
|
|
156
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
157
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
158
|
+
|
|
159
|
+
// src/utils/helpers.ts
|
|
160
|
+
var isDef = (v) => v != null;
|
|
168
161
|
var isComplexType = (o) => {
|
|
169
162
|
o = typeof o;
|
|
170
163
|
return o === "object" || o === "function";
|
|
@@ -349,7 +342,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
349
342
|
}
|
|
350
343
|
if (!appliedStyles.has(scopeId2)) {
|
|
351
344
|
{
|
|
352
|
-
styleElm =
|
|
345
|
+
styleElm = doc.createElement("style");
|
|
353
346
|
styleElm.innerHTML = style;
|
|
354
347
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
355
348
|
if (nonce != null) {
|
|
@@ -359,10 +352,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
359
352
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
360
353
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
361
354
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
362
|
-
styleContainerNode.insertBefore(
|
|
363
|
-
styleElm,
|
|
364
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
365
|
-
);
|
|
355
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
366
356
|
} else if ("host" in styleContainerNode) {
|
|
367
357
|
if (supportsConstructableStylesheets) {
|
|
368
358
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -380,7 +370,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
380
370
|
styleContainerNode.append(styleElm);
|
|
381
371
|
}
|
|
382
372
|
}
|
|
383
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
373
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
384
374
|
styleContainerNode.insertBefore(styleElm, null);
|
|
385
375
|
}
|
|
386
376
|
}
|
|
@@ -405,25 +395,23 @@ var attachStyles = (hostRef) => {
|
|
|
405
395
|
const scopeId2 = addStyle(
|
|
406
396
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
407
397
|
cmpMeta);
|
|
408
|
-
if (
|
|
398
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
409
399
|
elm["s-sc"] = scopeId2;
|
|
410
400
|
elm.classList.add(scopeId2 + "-h");
|
|
411
401
|
}
|
|
412
402
|
endAttachStyles();
|
|
413
403
|
};
|
|
414
404
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
415
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
405
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
416
406
|
if (oldValue !== newValue) {
|
|
417
407
|
let isProp = isMemberInElement(elm, memberName);
|
|
418
408
|
let ln = memberName.toLowerCase();
|
|
419
409
|
if (memberName === "class") {
|
|
420
410
|
const classList = elm.classList;
|
|
421
411
|
const oldClasses = parseClassList(oldValue);
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
426
|
-
}
|
|
412
|
+
const newClasses = parseClassList(newValue);
|
|
413
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
414
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
427
415
|
} else if (memberName === "style") {
|
|
428
416
|
{
|
|
429
417
|
for (const prop in oldValue) {
|
|
@@ -482,7 +470,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
482
470
|
elm.setAttribute(memberName, n);
|
|
483
471
|
}
|
|
484
472
|
}
|
|
485
|
-
} else
|
|
473
|
+
} else {
|
|
486
474
|
elm[memberName] = newValue;
|
|
487
475
|
}
|
|
488
476
|
} catch (e) {
|
|
@@ -504,44 +492,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
504
492
|
}
|
|
505
493
|
};
|
|
506
494
|
var parseClassListRegex = /\s/;
|
|
507
|
-
var parseClassList = (value) =>
|
|
508
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
509
|
-
value = value.baseVal;
|
|
510
|
-
}
|
|
511
|
-
if (!value || typeof value !== "string") {
|
|
512
|
-
return [];
|
|
513
|
-
}
|
|
514
|
-
return value.split(parseClassListRegex);
|
|
515
|
-
};
|
|
495
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
516
496
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
517
497
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
518
498
|
|
|
519
499
|
// src/runtime/vdom/update-element.ts
|
|
520
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
500
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
521
501
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
522
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
523
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
502
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
503
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
524
504
|
{
|
|
525
505
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
526
506
|
if (!(memberName in newVnodeAttrs)) {
|
|
527
|
-
setAccessor(
|
|
528
|
-
elm,
|
|
529
|
-
memberName,
|
|
530
|
-
oldVnodeAttrs[memberName],
|
|
531
|
-
void 0,
|
|
532
|
-
isSvgMode2,
|
|
533
|
-
newVnode.$flags$);
|
|
507
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
534
508
|
}
|
|
535
509
|
}
|
|
536
510
|
}
|
|
537
511
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
538
|
-
setAccessor(
|
|
539
|
-
elm,
|
|
540
|
-
memberName,
|
|
541
|
-
oldVnodeAttrs[memberName],
|
|
542
|
-
newVnodeAttrs[memberName],
|
|
543
|
-
isSvgMode2,
|
|
544
|
-
newVnode.$flags$);
|
|
512
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
545
513
|
}
|
|
546
514
|
};
|
|
547
515
|
function sortedAttrNames(attrNames) {
|
|
@@ -553,10 +521,13 @@ function sortedAttrNames(attrNames) {
|
|
|
553
521
|
attrNames
|
|
554
522
|
);
|
|
555
523
|
}
|
|
524
|
+
|
|
525
|
+
// src/runtime/vdom/vdom-render.ts
|
|
526
|
+
var scopeId;
|
|
556
527
|
var hostTagName;
|
|
557
528
|
var useNativeShadowDom = false;
|
|
558
529
|
var isSvgMode = false;
|
|
559
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
530
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
560
531
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
561
532
|
let i2 = 0;
|
|
562
533
|
let elm;
|
|
@@ -577,6 +548,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
577
548
|
{
|
|
578
549
|
updateElement(null, newVNode2, isSvgMode);
|
|
579
550
|
}
|
|
551
|
+
const rootNode = elm.getRootNode();
|
|
552
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
553
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
554
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
555
|
+
}
|
|
580
556
|
if (newVNode2.$children$) {
|
|
581
557
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
582
558
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -713,9 +689,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
713
689
|
if (!isInitialRender) {
|
|
714
690
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
715
691
|
}
|
|
716
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
717
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
718
|
-
}
|
|
719
692
|
return true;
|
|
720
693
|
}
|
|
721
694
|
return false;
|
|
@@ -762,9 +735,8 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
762
735
|
}
|
|
763
736
|
};
|
|
764
737
|
var insertBefore = (parent, newNode, reference) => {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
}
|
|
738
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
739
|
+
return inserted;
|
|
768
740
|
};
|
|
769
741
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
770
742
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -789,21 +761,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
789
761
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
790
762
|
hostRef.$vnode$ = rootVnode;
|
|
791
763
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
792
|
-
|
|
764
|
+
{
|
|
765
|
+
scopeId = hostElm["s-sc"];
|
|
766
|
+
}
|
|
767
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
793
768
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
794
769
|
};
|
|
795
770
|
|
|
796
771
|
// src/runtime/update-component.ts
|
|
797
772
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
798
773
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
799
|
-
|
|
800
|
-
new Promise(
|
|
801
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
802
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
803
|
-
r();
|
|
804
|
-
}
|
|
805
|
-
)
|
|
806
|
-
);
|
|
774
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
807
775
|
}
|
|
808
776
|
};
|
|
809
777
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -830,7 +798,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
830
798
|
let maybePromise;
|
|
831
799
|
if (isInitialLoad) {
|
|
832
800
|
{
|
|
833
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
801
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
834
802
|
}
|
|
835
803
|
}
|
|
836
804
|
endSchedule();
|
|
@@ -899,7 +867,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
899
867
|
const instance = hostRef.$lazyInstance$ ;
|
|
900
868
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
901
869
|
{
|
|
902
|
-
safeCall(instance, "componentDidRender"
|
|
870
|
+
safeCall(instance, "componentDidRender");
|
|
903
871
|
}
|
|
904
872
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
905
873
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -907,7 +875,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
907
875
|
addHydratedFlag(elm);
|
|
908
876
|
}
|
|
909
877
|
{
|
|
910
|
-
safeCall(instance, "componentDidLoad"
|
|
878
|
+
safeCall(instance, "componentDidLoad");
|
|
911
879
|
}
|
|
912
880
|
endPostUpdate();
|
|
913
881
|
{
|
|
@@ -931,14 +899,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
931
899
|
}
|
|
932
900
|
};
|
|
933
901
|
var appDidLoad = (who) => {
|
|
902
|
+
{
|
|
903
|
+
addHydratedFlag(doc.documentElement);
|
|
904
|
+
}
|
|
934
905
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
935
906
|
};
|
|
936
|
-
var safeCall = (instance, method, arg
|
|
907
|
+
var safeCall = (instance, method, arg) => {
|
|
937
908
|
if (instance && instance[method]) {
|
|
938
909
|
try {
|
|
939
910
|
return instance[method](arg);
|
|
940
911
|
} catch (e) {
|
|
941
|
-
consoleError(e
|
|
912
|
+
consoleError(e);
|
|
942
913
|
}
|
|
943
914
|
}
|
|
944
915
|
return void 0;
|
|
@@ -997,68 +968,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
997
968
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
998
969
|
members.map(([memberName, [memberFlags]]) => {
|
|
999
970
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1000
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1001
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1002
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1003
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1004
|
-
Object.defineProperty(prototype, memberName, {
|
|
1005
|
-
get() {
|
|
1006
|
-
{
|
|
1007
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1008
|
-
return getValue(this, memberName);
|
|
1009
|
-
}
|
|
1010
|
-
const ref = getHostRef(this);
|
|
1011
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1012
|
-
if (!instance) return;
|
|
1013
|
-
return instance[memberName];
|
|
1014
|
-
}
|
|
1015
|
-
},
|
|
1016
|
-
configurable: true,
|
|
1017
|
-
enumerable: true
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
971
|
Object.defineProperty(prototype, memberName, {
|
|
972
|
+
get() {
|
|
973
|
+
return getValue(this, memberName);
|
|
974
|
+
},
|
|
1021
975
|
set(newValue) {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
1027
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1028
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1029
|
-
}
|
|
1030
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1031
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1032
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1033
|
-
return;
|
|
1034
|
-
}
|
|
1035
|
-
{
|
|
1036
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1037
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1038
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1039
|
-
ref.$onReadyPromise$.then(() => {
|
|
1040
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1041
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
1042
|
-
}
|
|
1043
|
-
});
|
|
1044
|
-
}
|
|
1045
|
-
return;
|
|
1046
|
-
}
|
|
1047
|
-
const setterSetVal = () => {
|
|
1048
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
1049
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1050
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1051
|
-
}
|
|
1052
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1053
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1054
|
-
};
|
|
1055
|
-
if (ref.$lazyInstance$) {
|
|
1056
|
-
setterSetVal();
|
|
1057
|
-
} else {
|
|
1058
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
976
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
977
|
+
},
|
|
978
|
+
configurable: true,
|
|
979
|
+
enumerable: true
|
|
1062
980
|
});
|
|
1063
981
|
}
|
|
1064
982
|
});
|
|
@@ -1068,7 +986,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1068
986
|
plt.jmp(() => {
|
|
1069
987
|
var _a2;
|
|
1070
988
|
const propName = attrNameToPropName.get(attrName);
|
|
1071
|
-
if (this.hasOwnProperty(propName)
|
|
989
|
+
if (this.hasOwnProperty(propName)) {
|
|
1072
990
|
newValue = this[propName];
|
|
1073
991
|
delete this[propName];
|
|
1074
992
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1088,11 +1006,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1088
1006
|
}
|
|
1089
1007
|
return;
|
|
1090
1008
|
}
|
|
1091
|
-
|
|
1092
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1093
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1094
|
-
this[propName] = newValue;
|
|
1095
|
-
}
|
|
1009
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1096
1010
|
});
|
|
1097
1011
|
};
|
|
1098
1012
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1121,7 +1035,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1121
1035
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1122
1036
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1123
1037
|
if (bundleId) {
|
|
1124
|
-
const CstrImport = loadModule(cmpMeta
|
|
1038
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1125
1039
|
if (CstrImport && "then" in CstrImport) {
|
|
1126
1040
|
const endLoad = uniqueTime();
|
|
1127
1041
|
Cstr = await CstrImport;
|
|
@@ -1146,7 +1060,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1146
1060
|
try {
|
|
1147
1061
|
new Cstr(hostRef);
|
|
1148
1062
|
} catch (e) {
|
|
1149
|
-
consoleError(e
|
|
1063
|
+
consoleError(e);
|
|
1150
1064
|
}
|
|
1151
1065
|
{
|
|
1152
1066
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1181,7 +1095,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1181
1095
|
schedule();
|
|
1182
1096
|
}
|
|
1183
1097
|
};
|
|
1184
|
-
var fireConnectedCallback = (instance
|
|
1098
|
+
var fireConnectedCallback = (instance) => {
|
|
1185
1099
|
};
|
|
1186
1100
|
|
|
1187
1101
|
// src/runtime/connected-callback.ts
|
|
@@ -1221,26 +1135,20 @@ var connectedCallback = (elm) => {
|
|
|
1221
1135
|
endConnected();
|
|
1222
1136
|
}
|
|
1223
1137
|
};
|
|
1224
|
-
var disconnectInstance = (instance
|
|
1138
|
+
var disconnectInstance = (instance) => {
|
|
1225
1139
|
{
|
|
1226
|
-
safeCall(instance, "disconnectedCallback"
|
|
1140
|
+
safeCall(instance, "disconnectedCallback");
|
|
1227
1141
|
}
|
|
1228
1142
|
};
|
|
1229
1143
|
var disconnectedCallback = async (elm) => {
|
|
1230
1144
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1231
1145
|
const hostRef = getHostRef(elm);
|
|
1232
1146
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1233
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
1147
|
+
disconnectInstance(hostRef.$lazyInstance$);
|
|
1234
1148
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1235
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1149
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1236
1150
|
}
|
|
1237
1151
|
}
|
|
1238
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1239
|
-
rootAppliedStyles.delete(elm);
|
|
1240
|
-
}
|
|
1241
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1242
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1243
|
-
}
|
|
1244
1152
|
};
|
|
1245
1153
|
|
|
1246
1154
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1321,17 +1229,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1321
1229
|
}
|
|
1322
1230
|
disconnectedCallback() {
|
|
1323
1231
|
plt.jmp(() => disconnectedCallback(this));
|
|
1324
|
-
plt.raf(() => {
|
|
1325
|
-
var _a3;
|
|
1326
|
-
const hostRef = getHostRef(this);
|
|
1327
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1328
|
-
if (i2 > -1) {
|
|
1329
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1330
|
-
}
|
|
1331
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1332
|
-
delete hostRef.$vnode$.$elm$;
|
|
1333
|
-
}
|
|
1334
|
-
});
|
|
1335
1232
|
}
|
|
1336
1233
|
componentOnReady() {
|
|
1337
1234
|
return getHostRef(this).$onReadyPromise$;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-43a33fec.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-43a33fec.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'hr', 'en-us', 'es-mx', 'pt-br', 'es', 'de', 'pt', 'tr'];
|
|
@@ -165,32 +165,6 @@ const emptyFunction = () => { };
|
|
|
165
165
|
const UserDepositWithdrawal = class {
|
|
166
166
|
constructor(hostRef) {
|
|
167
167
|
index.registerInstance(this, hostRef);
|
|
168
|
-
/**
|
|
169
|
-
* Client custom styling via inline style
|
|
170
|
-
*/
|
|
171
|
-
this.clientStyling = '';
|
|
172
|
-
/**
|
|
173
|
-
* Client custom styling via url
|
|
174
|
-
*/
|
|
175
|
-
this.clientStylingUrl = '';
|
|
176
|
-
/**
|
|
177
|
-
* Translations via URL
|
|
178
|
-
*/
|
|
179
|
-
this.translationUrl = '';
|
|
180
|
-
/*
|
|
181
|
-
* Operator selected currency
|
|
182
|
-
*/
|
|
183
|
-
this.currency = '';
|
|
184
|
-
/*
|
|
185
|
-
* Display bonus dropdown
|
|
186
|
-
*/
|
|
187
|
-
this.showBonusSelectionInput = 'true';
|
|
188
|
-
/*
|
|
189
|
-
* State of deposit - short cashier enabled or not
|
|
190
|
-
*/
|
|
191
|
-
this.isShortCashier = false;
|
|
192
|
-
this.beforeRedirect = emptyFunction;
|
|
193
|
-
this.limitStylingAppends = false;
|
|
194
168
|
this.bindedHandler = this.handleMessage.bind(this);
|
|
195
169
|
this.userAgent = window.navigator.userAgent;
|
|
196
170
|
this.isMobile = isMobile(this.userAgent);
|
|
@@ -213,6 +187,31 @@ const UserDepositWithdrawal = class {
|
|
|
213
187
|
console.log('error ', err);
|
|
214
188
|
});
|
|
215
189
|
};
|
|
190
|
+
this.clientStyling = '';
|
|
191
|
+
this.clientStylingUrl = '';
|
|
192
|
+
this.translationUrl = '';
|
|
193
|
+
this.endpoint = undefined;
|
|
194
|
+
this.type = undefined;
|
|
195
|
+
this.channel = undefined;
|
|
196
|
+
this.language = undefined;
|
|
197
|
+
this.productType = undefined;
|
|
198
|
+
this.userId = undefined;
|
|
199
|
+
this.session = undefined;
|
|
200
|
+
this.successUrl = undefined;
|
|
201
|
+
this.cancelUrl = undefined;
|
|
202
|
+
this.failUrl = undefined;
|
|
203
|
+
this.sportsUrl = undefined;
|
|
204
|
+
this.casinoUrl = undefined;
|
|
205
|
+
this.contactUrl = undefined;
|
|
206
|
+
this.depositUrl = undefined;
|
|
207
|
+
this.currency = '';
|
|
208
|
+
this.showBonusSelectionInput = 'true';
|
|
209
|
+
this.isShortCashier = false;
|
|
210
|
+
this.homeUrl = undefined;
|
|
211
|
+
this.beforeRedirect = emptyFunction;
|
|
212
|
+
this.limitStylingAppends = false;
|
|
213
|
+
this.dynamicHeight = undefined;
|
|
214
|
+
this.cashierInfoUrl = undefined;
|
|
216
215
|
}
|
|
217
216
|
get typeParameter() {
|
|
218
217
|
if (this.type === 'deposit') {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-43a33fec.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('user-deposit-withdrawal.cjs.js', document.baseURI).href));
|