@everymatrix/user-transaction-history 1.54.12 → 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-affbdde9.js → index-4252bc97.js} +70 -173
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-transaction-history.cjs.entry.js +8 -13
- package/dist/cjs/user-transaction-history.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/user-transaction-history/user-transaction-history.js +7 -28
- package/dist/esm/{index-0a27499c.js → index-e8249896.js} +70 -173
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-transaction-history.entry.js +8 -13
- package/dist/esm/user-transaction-history.js +3 -3
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/packages/stencil/user-transaction-history/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/packages/stencil/user-transaction-history/stencil.config.dev.d.ts +2 -0
- package/dist/user-transaction-history/p-380caf32.js +2 -0
- package/dist/user-transaction-history/p-7972bcc3.entry.js +1 -0
- package/dist/user-transaction-history/user-transaction-history.esm.js +1 -1
- package/package.json +1 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/packages/stencil/user-transaction-history/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/packages/stencil/user-transaction-history/stencil.config.dev.d.ts +0 -2
- package/dist/user-transaction-history/p-2782f82e.entry.js +0 -1
- package/dist/user-transaction-history/p-6e36bace.js +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-transaction-history/.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-transaction-history/.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-transaction-history/.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-transaction-history';
|
|
24
|
-
const BUILD = /* user-transaction-history */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, 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,
|
|
24
|
+
const BUILD = /* user-transaction-history */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, 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: true, 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 XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
@@ -188,6 +173,14 @@ var getAssetPath = (path) => {
|
|
|
188
173
|
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
189
174
|
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
190
175
|
};
|
|
176
|
+
|
|
177
|
+
// src/utils/constants.ts
|
|
178
|
+
var EMPTY_OBJ = {};
|
|
179
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
180
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
181
|
+
|
|
182
|
+
// src/utils/helpers.ts
|
|
183
|
+
var isDef = (v) => v != null;
|
|
191
184
|
var isComplexType = (o) => {
|
|
192
185
|
o = typeof o;
|
|
193
186
|
return o === "object" || o === "function";
|
|
@@ -410,7 +403,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
410
403
|
}
|
|
411
404
|
if (!appliedStyles.has(scopeId2)) {
|
|
412
405
|
{
|
|
413
|
-
styleElm =
|
|
406
|
+
styleElm = doc.createElement("style");
|
|
414
407
|
styleElm.innerHTML = style;
|
|
415
408
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
416
409
|
if (nonce != null) {
|
|
@@ -420,10 +413,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
420
413
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
421
414
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
422
415
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
423
|
-
styleContainerNode.insertBefore(
|
|
424
|
-
styleElm,
|
|
425
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
426
|
-
);
|
|
416
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
427
417
|
} else if ("host" in styleContainerNode) {
|
|
428
418
|
if (supportsConstructableStylesheets) {
|
|
429
419
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -441,7 +431,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
441
431
|
styleContainerNode.append(styleElm);
|
|
442
432
|
}
|
|
443
433
|
}
|
|
444
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
434
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
445
435
|
styleContainerNode.insertBefore(styleElm, null);
|
|
446
436
|
}
|
|
447
437
|
}
|
|
@@ -466,25 +456,23 @@ var attachStyles = (hostRef) => {
|
|
|
466
456
|
const scopeId2 = addStyle(
|
|
467
457
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
468
458
|
cmpMeta);
|
|
469
|
-
if (
|
|
459
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
470
460
|
elm["s-sc"] = scopeId2;
|
|
471
461
|
elm.classList.add(scopeId2 + "-h");
|
|
472
462
|
}
|
|
473
463
|
endAttachStyles();
|
|
474
464
|
};
|
|
475
465
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
476
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
466
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
477
467
|
if (oldValue !== newValue) {
|
|
478
468
|
let isProp = isMemberInElement(elm, memberName);
|
|
479
469
|
let ln = memberName.toLowerCase();
|
|
480
470
|
if (memberName === "class") {
|
|
481
471
|
const classList = elm.classList;
|
|
482
472
|
const oldClasses = parseClassList(oldValue);
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
487
|
-
}
|
|
473
|
+
const newClasses = parseClassList(newValue);
|
|
474
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
475
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
488
476
|
} else if (memberName === "style") {
|
|
489
477
|
{
|
|
490
478
|
for (const prop in oldValue) {
|
|
@@ -543,7 +531,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
543
531
|
elm.setAttribute(memberName, n);
|
|
544
532
|
}
|
|
545
533
|
}
|
|
546
|
-
} else
|
|
534
|
+
} else {
|
|
547
535
|
elm[memberName] = newValue;
|
|
548
536
|
}
|
|
549
537
|
} catch (e) {
|
|
@@ -576,44 +564,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
576
564
|
}
|
|
577
565
|
};
|
|
578
566
|
var parseClassListRegex = /\s/;
|
|
579
|
-
var parseClassList = (value) =>
|
|
580
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
581
|
-
value = value.baseVal;
|
|
582
|
-
}
|
|
583
|
-
if (!value || typeof value !== "string") {
|
|
584
|
-
return [];
|
|
585
|
-
}
|
|
586
|
-
return value.split(parseClassListRegex);
|
|
587
|
-
};
|
|
567
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
588
568
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
589
569
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
590
570
|
|
|
591
571
|
// src/runtime/vdom/update-element.ts
|
|
592
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
572
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
593
573
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
594
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
595
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
574
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
575
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
596
576
|
{
|
|
597
577
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
598
578
|
if (!(memberName in newVnodeAttrs)) {
|
|
599
|
-
setAccessor(
|
|
600
|
-
elm,
|
|
601
|
-
memberName,
|
|
602
|
-
oldVnodeAttrs[memberName],
|
|
603
|
-
void 0,
|
|
604
|
-
isSvgMode2,
|
|
605
|
-
newVnode.$flags$);
|
|
579
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
606
580
|
}
|
|
607
581
|
}
|
|
608
582
|
}
|
|
609
583
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
610
|
-
setAccessor(
|
|
611
|
-
elm,
|
|
612
|
-
memberName,
|
|
613
|
-
oldVnodeAttrs[memberName],
|
|
614
|
-
newVnodeAttrs[memberName],
|
|
615
|
-
isSvgMode2,
|
|
616
|
-
newVnode.$flags$);
|
|
584
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
617
585
|
}
|
|
618
586
|
};
|
|
619
587
|
function sortedAttrNames(attrNames) {
|
|
@@ -625,10 +593,13 @@ function sortedAttrNames(attrNames) {
|
|
|
625
593
|
attrNames
|
|
626
594
|
);
|
|
627
595
|
}
|
|
596
|
+
|
|
597
|
+
// src/runtime/vdom/vdom-render.ts
|
|
598
|
+
var scopeId;
|
|
628
599
|
var hostTagName;
|
|
629
600
|
var useNativeShadowDom = false;
|
|
630
601
|
var isSvgMode = false;
|
|
631
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
602
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
632
603
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
633
604
|
let i2 = 0;
|
|
634
605
|
let elm;
|
|
@@ -649,6 +620,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
649
620
|
{
|
|
650
621
|
updateElement(null, newVNode2, isSvgMode);
|
|
651
622
|
}
|
|
623
|
+
const rootNode = elm.getRootNode();
|
|
624
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
625
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
626
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
627
|
+
}
|
|
652
628
|
if (newVNode2.$children$) {
|
|
653
629
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
654
630
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -785,9 +761,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
785
761
|
if (!isInitialRender) {
|
|
786
762
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
787
763
|
}
|
|
788
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
789
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
790
|
-
}
|
|
791
764
|
return true;
|
|
792
765
|
}
|
|
793
766
|
return false;
|
|
@@ -834,9 +807,8 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
834
807
|
}
|
|
835
808
|
};
|
|
836
809
|
var insertBefore = (parent, newNode, reference) => {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}
|
|
810
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
811
|
+
return inserted;
|
|
840
812
|
};
|
|
841
813
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
842
814
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -861,21 +833,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
861
833
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
862
834
|
hostRef.$vnode$ = rootVnode;
|
|
863
835
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
864
|
-
|
|
836
|
+
{
|
|
837
|
+
scopeId = hostElm["s-sc"];
|
|
838
|
+
}
|
|
839
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
865
840
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
866
841
|
};
|
|
867
842
|
|
|
868
843
|
// src/runtime/update-component.ts
|
|
869
844
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
870
845
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
871
|
-
|
|
872
|
-
new Promise(
|
|
873
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
874
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
875
|
-
r();
|
|
876
|
-
}
|
|
877
|
-
)
|
|
878
|
-
);
|
|
846
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
879
847
|
}
|
|
880
848
|
};
|
|
881
849
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -904,12 +872,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
904
872
|
{
|
|
905
873
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
906
874
|
if (hostRef.$queuedListeners$) {
|
|
907
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event
|
|
875
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
908
876
|
hostRef.$queuedListeners$ = void 0;
|
|
909
877
|
}
|
|
910
878
|
}
|
|
911
879
|
{
|
|
912
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
880
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
913
881
|
}
|
|
914
882
|
}
|
|
915
883
|
endSchedule();
|
|
@@ -978,7 +946,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
978
946
|
const instance = hostRef.$lazyInstance$ ;
|
|
979
947
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
980
948
|
{
|
|
981
|
-
safeCall(instance, "componentDidRender"
|
|
949
|
+
safeCall(instance, "componentDidRender");
|
|
982
950
|
}
|
|
983
951
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
984
952
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -1007,14 +975,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1007
975
|
}
|
|
1008
976
|
};
|
|
1009
977
|
var appDidLoad = (who) => {
|
|
978
|
+
{
|
|
979
|
+
addHydratedFlag(doc.documentElement);
|
|
980
|
+
}
|
|
1010
981
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1011
982
|
};
|
|
1012
|
-
var safeCall = (instance, method, arg
|
|
983
|
+
var safeCall = (instance, method, arg) => {
|
|
1013
984
|
if (instance && instance[method]) {
|
|
1014
985
|
try {
|
|
1015
986
|
return instance[method](arg);
|
|
1016
987
|
} catch (e) {
|
|
1017
|
-
consoleError(e
|
|
988
|
+
consoleError(e);
|
|
1018
989
|
}
|
|
1019
990
|
}
|
|
1020
991
|
return void 0;
|
|
@@ -1073,68 +1044,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1073
1044
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1074
1045
|
members.map(([memberName, [memberFlags]]) => {
|
|
1075
1046
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1076
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1077
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1078
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1079
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1080
|
-
Object.defineProperty(prototype, memberName, {
|
|
1081
|
-
get() {
|
|
1082
|
-
{
|
|
1083
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1084
|
-
return getValue(this, memberName);
|
|
1085
|
-
}
|
|
1086
|
-
const ref = getHostRef(this);
|
|
1087
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1088
|
-
if (!instance) return;
|
|
1089
|
-
return instance[memberName];
|
|
1090
|
-
}
|
|
1091
|
-
},
|
|
1092
|
-
configurable: true,
|
|
1093
|
-
enumerable: true
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
1047
|
Object.defineProperty(prototype, memberName, {
|
|
1048
|
+
get() {
|
|
1049
|
+
return getValue(this, memberName);
|
|
1050
|
+
},
|
|
1097
1051
|
set(newValue) {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
1103
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1104
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1105
|
-
}
|
|
1106
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1107
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1108
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1109
|
-
return;
|
|
1110
|
-
}
|
|
1111
|
-
{
|
|
1112
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1113
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1114
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1115
|
-
ref.$onReadyPromise$.then(() => {
|
|
1116
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1117
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
1118
|
-
}
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
return;
|
|
1122
|
-
}
|
|
1123
|
-
const setterSetVal = () => {
|
|
1124
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
1125
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1126
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1127
|
-
}
|
|
1128
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1129
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1130
|
-
};
|
|
1131
|
-
if (ref.$lazyInstance$) {
|
|
1132
|
-
setterSetVal();
|
|
1133
|
-
} else {
|
|
1134
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1052
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1053
|
+
},
|
|
1054
|
+
configurable: true,
|
|
1055
|
+
enumerable: true
|
|
1138
1056
|
});
|
|
1139
1057
|
}
|
|
1140
1058
|
});
|
|
@@ -1144,7 +1062,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1144
1062
|
plt.jmp(() => {
|
|
1145
1063
|
var _a2;
|
|
1146
1064
|
const propName = attrNameToPropName.get(attrName);
|
|
1147
|
-
if (this.hasOwnProperty(propName)
|
|
1065
|
+
if (this.hasOwnProperty(propName)) {
|
|
1148
1066
|
newValue = this[propName];
|
|
1149
1067
|
delete this[propName];
|
|
1150
1068
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1164,11 +1082,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1164
1082
|
}
|
|
1165
1083
|
return;
|
|
1166
1084
|
}
|
|
1167
|
-
|
|
1168
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1169
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1170
|
-
this[propName] = newValue;
|
|
1171
|
-
}
|
|
1085
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1172
1086
|
});
|
|
1173
1087
|
};
|
|
1174
1088
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1197,7 +1111,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1197
1111
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1198
1112
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1199
1113
|
if (bundleId) {
|
|
1200
|
-
const CstrImport = loadModule(cmpMeta
|
|
1114
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1201
1115
|
if (CstrImport && "then" in CstrImport) {
|
|
1202
1116
|
const endLoad = uniqueTime();
|
|
1203
1117
|
Cstr = await CstrImport;
|
|
@@ -1222,7 +1136,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1222
1136
|
try {
|
|
1223
1137
|
new Cstr(hostRef);
|
|
1224
1138
|
} catch (e) {
|
|
1225
|
-
consoleError(e
|
|
1139
|
+
consoleError(e);
|
|
1226
1140
|
}
|
|
1227
1141
|
{
|
|
1228
1142
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1257,7 +1171,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1257
1171
|
schedule();
|
|
1258
1172
|
}
|
|
1259
1173
|
};
|
|
1260
|
-
var fireConnectedCallback = (instance
|
|
1174
|
+
var fireConnectedCallback = (instance) => {
|
|
1261
1175
|
};
|
|
1262
1176
|
|
|
1263
1177
|
// src/runtime/connected-callback.ts
|
|
@@ -1298,7 +1212,7 @@ var connectedCallback = (elm) => {
|
|
|
1298
1212
|
endConnected();
|
|
1299
1213
|
}
|
|
1300
1214
|
};
|
|
1301
|
-
var disconnectInstance = (instance
|
|
1215
|
+
var disconnectInstance = (instance) => {
|
|
1302
1216
|
};
|
|
1303
1217
|
var disconnectedCallback = async (elm) => {
|
|
1304
1218
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1313,12 +1227,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1313
1227
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1314
1228
|
}
|
|
1315
1229
|
}
|
|
1316
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1317
|
-
rootAppliedStyles.delete(elm);
|
|
1318
|
-
}
|
|
1319
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1320
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1321
|
-
}
|
|
1322
1230
|
};
|
|
1323
1231
|
|
|
1324
1232
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1403,17 +1311,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1403
1311
|
}
|
|
1404
1312
|
disconnectedCallback() {
|
|
1405
1313
|
plt.jmp(() => disconnectedCallback(this));
|
|
1406
|
-
plt.raf(() => {
|
|
1407
|
-
var _a3;
|
|
1408
|
-
const hostRef = getHostRef(this);
|
|
1409
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1410
|
-
if (i2 > -1) {
|
|
1411
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1412
|
-
}
|
|
1413
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1414
|
-
delete hostRef.$vnode$.$elm$;
|
|
1415
|
-
}
|
|
1416
|
-
});
|
|
1417
1314
|
}
|
|
1418
1315
|
componentOnReady() {
|
|
1419
1316
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -1477,7 +1374,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1477
1374
|
}
|
|
1478
1375
|
}
|
|
1479
1376
|
} catch (e) {
|
|
1480
|
-
consoleError(e
|
|
1377
|
+
consoleError(e);
|
|
1481
1378
|
}
|
|
1482
1379
|
};
|
|
1483
1380
|
var getHostListenerTarget = (elm, flags) => {
|
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-4252bc97.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-4252bc97.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_TRANSLATIONS = {
|
|
8
8
|
"en": {
|
|
@@ -192,26 +192,21 @@ const UserTransactionHistory = class {
|
|
|
192
192
|
this.pageSizes = [10, 25, 50];
|
|
193
193
|
this.pagination = null;
|
|
194
194
|
this.stylingAppended = false;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
*/
|
|
195
|
+
this.endpoint = undefined;
|
|
196
|
+
this.session = undefined;
|
|
198
197
|
this.language = Localization.defaultLanguage;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
*/
|
|
198
|
+
this.userId = undefined;
|
|
199
|
+
this.translationUrl = undefined;
|
|
202
200
|
this.mobile = false;
|
|
203
|
-
/*
|
|
204
|
-
* Client styling via inline styles.
|
|
205
|
-
*/
|
|
206
201
|
this.clientStyling = null;
|
|
207
|
-
/*
|
|
208
|
-
* The path to file with styles in `css` format.
|
|
209
|
-
*/
|
|
210
202
|
this.clientStylingUrl = null;
|
|
211
203
|
this.page = 0;
|
|
212
204
|
this.pageSize = this.pageSizes[0];
|
|
213
205
|
this.showMobileFilter = false;
|
|
206
|
+
this.to = undefined;
|
|
207
|
+
this.from = undefined;
|
|
214
208
|
this.type = '0';
|
|
209
|
+
this.transactions = undefined;
|
|
215
210
|
this.showLoader = true;
|
|
216
211
|
}
|
|
217
212
|
watchMultiple() {
|
|
@@ -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-4252bc97.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-transaction-history.cjs.js', document.baseURI).href));
|
|
@@ -10,26 +10,21 @@ export class UserTransactionHistory {
|
|
|
10
10
|
this.pageSizes = [10, 25, 50];
|
|
11
11
|
this.pagination = null;
|
|
12
12
|
this.stylingAppended = false;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
13
|
+
this.endpoint = undefined;
|
|
14
|
+
this.session = undefined;
|
|
16
15
|
this.language = Localization.defaultLanguage;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
16
|
+
this.userId = undefined;
|
|
17
|
+
this.translationUrl = undefined;
|
|
20
18
|
this.mobile = false;
|
|
21
|
-
/*
|
|
22
|
-
* Client styling via inline styles.
|
|
23
|
-
*/
|
|
24
19
|
this.clientStyling = null;
|
|
25
|
-
/*
|
|
26
|
-
* The path to file with styles in `css` format.
|
|
27
|
-
*/
|
|
28
20
|
this.clientStylingUrl = null;
|
|
29
21
|
this.page = 0;
|
|
30
22
|
this.pageSize = this.pageSizes[0];
|
|
31
23
|
this.showMobileFilter = false;
|
|
24
|
+
this.to = undefined;
|
|
25
|
+
this.from = undefined;
|
|
32
26
|
this.type = '0';
|
|
27
|
+
this.transactions = undefined;
|
|
33
28
|
this.showLoader = true;
|
|
34
29
|
}
|
|
35
30
|
watchMultiple() {
|
|
@@ -179,8 +174,6 @@ export class UserTransactionHistory {
|
|
|
179
174
|
"tags": [],
|
|
180
175
|
"text": ""
|
|
181
176
|
},
|
|
182
|
-
"getter": false,
|
|
183
|
-
"setter": false,
|
|
184
177
|
"attribute": "endpoint",
|
|
185
178
|
"reflect": true
|
|
186
179
|
},
|
|
@@ -198,8 +191,6 @@ export class UserTransactionHistory {
|
|
|
198
191
|
"tags": [],
|
|
199
192
|
"text": ""
|
|
200
193
|
},
|
|
201
|
-
"getter": false,
|
|
202
|
-
"setter": false,
|
|
203
194
|
"attribute": "session",
|
|
204
195
|
"reflect": true
|
|
205
196
|
},
|
|
@@ -217,8 +208,6 @@ export class UserTransactionHistory {
|
|
|
217
208
|
"tags": [],
|
|
218
209
|
"text": ""
|
|
219
210
|
},
|
|
220
|
-
"getter": false,
|
|
221
|
-
"setter": false,
|
|
222
211
|
"attribute": "language",
|
|
223
212
|
"reflect": true,
|
|
224
213
|
"defaultValue": "Localization.defaultLanguage"
|
|
@@ -237,8 +226,6 @@ export class UserTransactionHistory {
|
|
|
237
226
|
"tags": [],
|
|
238
227
|
"text": ""
|
|
239
228
|
},
|
|
240
|
-
"getter": false,
|
|
241
|
-
"setter": false,
|
|
242
229
|
"attribute": "user-id",
|
|
243
230
|
"reflect": true
|
|
244
231
|
},
|
|
@@ -256,8 +243,6 @@ export class UserTransactionHistory {
|
|
|
256
243
|
"tags": [],
|
|
257
244
|
"text": ""
|
|
258
245
|
},
|
|
259
|
-
"getter": false,
|
|
260
|
-
"setter": false,
|
|
261
246
|
"attribute": "translation-url",
|
|
262
247
|
"reflect": true
|
|
263
248
|
},
|
|
@@ -275,8 +260,6 @@ export class UserTransactionHistory {
|
|
|
275
260
|
"tags": [],
|
|
276
261
|
"text": ""
|
|
277
262
|
},
|
|
278
|
-
"getter": false,
|
|
279
|
-
"setter": false,
|
|
280
263
|
"attribute": "mobile",
|
|
281
264
|
"reflect": true,
|
|
282
265
|
"defaultValue": "false"
|
|
@@ -295,8 +278,6 @@ export class UserTransactionHistory {
|
|
|
295
278
|
"tags": [],
|
|
296
279
|
"text": ""
|
|
297
280
|
},
|
|
298
|
-
"getter": false,
|
|
299
|
-
"setter": false,
|
|
300
281
|
"attribute": "client-styling",
|
|
301
282
|
"reflect": true,
|
|
302
283
|
"defaultValue": "null"
|
|
@@ -315,8 +296,6 @@ export class UserTransactionHistory {
|
|
|
315
296
|
"tags": [],
|
|
316
297
|
"text": ""
|
|
317
298
|
},
|
|
318
|
-
"getter": false,
|
|
319
|
-
"setter": false,
|
|
320
299
|
"attribute": "client-styling-url",
|
|
321
300
|
"reflect": true,
|
|
322
301
|
"defaultValue": "null"
|