@everymatrix/user-transaction-history 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/cjs/{index-cf677425.js → index-8b5843ec.js} +74 -211
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/user-transaction-history.cjs.entry.js +9 -13
  4. package/dist/cjs/user-transaction-history.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/user-transaction-history/user-transaction-history.js +8 -30
  7. package/dist/esm/{index-12dd2b03.js → index-7c5e707a.js} +74 -211
  8. package/dist/esm/loader.js +2 -2
  9. package/dist/esm/user-transaction-history.entry.js +9 -13
  10. package/dist/esm/user-transaction-history.js +3 -3
  11. 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
  12. 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
  13. package/dist/types/stencil-public-runtime.d.ts +0 -6
  14. package/dist/user-transaction-history/p-437ed177.js +2 -0
  15. package/dist/user-transaction-history/p-a465efd0.entry.js +1 -0
  16. package/dist/user-transaction-history/user-transaction-history.esm.js +1 -1
  17. package/package.json +1 -1
  18. 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
  19. 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
  20. package/dist/user-transaction-history/p-71a8cd66.js +0 -2
  21. package/dist/user-transaction-history/p-ce923f40.entry.js +0 -1
  22. /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
  23. /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
  24. /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
  25. /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: 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: 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, modernPropertyDecls: 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 };
24
+ const BUILD = /* user-transaction-history */ { 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: 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.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | 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
- const ref = hostRefs.set(hostElement, hostRef);
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
- (importedModule) => {
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,40 +403,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
410
403
  }
411
404
  if (!appliedStyles.has(scopeId2)) {
412
405
  {
413
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
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) {
417
410
  styleElm.setAttribute("nonce", nonce);
418
411
  }
419
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
420
- if (styleContainerNode.nodeName === "HEAD") {
421
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
422
- 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
- );
427
- } else if ("host" in styleContainerNode) {
428
- if (supportsConstructableStylesheets) {
429
- const stylesheet = new CSSStyleSheet();
430
- stylesheet.replaceSync(style);
431
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
432
- } else {
433
- const existingStyleContainer = styleContainerNode.querySelector("style");
434
- if (existingStyleContainer) {
435
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
436
- } else {
437
- styleContainerNode.prepend(styleElm);
438
- }
439
- }
440
- } else {
441
- styleContainerNode.append(styleElm);
442
- }
443
- }
444
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
445
- styleContainerNode.insertBefore(styleElm, null);
446
- }
412
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
447
413
  }
448
414
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
449
415
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -466,25 +432,23 @@ var attachStyles = (hostRef) => {
466
432
  const scopeId2 = addStyle(
467
433
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
468
434
  cmpMeta);
469
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
435
+ if (flags & 10 /* needsScopedEncapsulation */) {
470
436
  elm["s-sc"] = scopeId2;
471
437
  elm.classList.add(scopeId2 + "-h");
472
438
  }
473
439
  endAttachStyles();
474
440
  };
475
441
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
476
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
442
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
477
443
  if (oldValue !== newValue) {
478
444
  let isProp = isMemberInElement(elm, memberName);
479
445
  let ln = memberName.toLowerCase();
480
446
  if (memberName === "class") {
481
447
  const classList = elm.classList;
482
448
  const oldClasses = parseClassList(oldValue);
483
- let newClasses = parseClassList(newValue);
484
- {
485
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
486
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
487
- }
449
+ const newClasses = parseClassList(newValue);
450
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
451
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
488
452
  } else if (memberName === "style") {
489
453
  {
490
454
  for (const prop in oldValue) {
@@ -537,13 +501,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
537
501
  if (memberName === "list") {
538
502
  isProp = false;
539
503
  } else if (oldValue == null || elm[memberName] != n) {
540
- if (typeof elm.__lookupSetter__(memberName) === "function") {
541
- elm[memberName] = n;
542
- } else {
543
- elm.setAttribute(memberName, n);
544
- }
504
+ elm[memberName] = n;
545
505
  }
546
- } else if (elm[memberName] !== newValue) {
506
+ } else {
547
507
  elm[memberName] = newValue;
548
508
  }
549
509
  } catch (e) {
@@ -576,44 +536,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
576
536
  }
577
537
  };
578
538
  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
- };
539
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
588
540
  var CAPTURE_EVENT_SUFFIX = "Capture";
589
541
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
590
542
 
591
543
  // src/runtime/vdom/update-element.ts
592
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
544
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
593
545
  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$ || {};
546
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
547
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
596
548
  {
597
549
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
598
550
  if (!(memberName in newVnodeAttrs)) {
599
- setAccessor(
600
- elm,
601
- memberName,
602
- oldVnodeAttrs[memberName],
603
- void 0,
604
- isSvgMode2,
605
- newVnode.$flags$);
551
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
606
552
  }
607
553
  }
608
554
  }
609
555
  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$);
556
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
617
557
  }
618
558
  };
619
559
  function sortedAttrNames(attrNames) {
@@ -625,10 +565,13 @@ function sortedAttrNames(attrNames) {
625
565
  attrNames
626
566
  );
627
567
  }
568
+
569
+ // src/runtime/vdom/vdom-render.ts
570
+ var scopeId;
628
571
  var hostTagName;
629
572
  var useNativeShadowDom = false;
630
573
  var isSvgMode = false;
631
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
574
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
632
575
  const newVNode2 = newParentVNode.$children$[childIndex];
633
576
  let i2 = 0;
634
577
  let elm;
@@ -649,6 +592,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
649
592
  {
650
593
  updateElement(null, newVNode2, isSvgMode);
651
594
  }
595
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
596
+ elm.classList.add(elm["s-si"] = scopeId);
597
+ }
652
598
  if (newVNode2.$children$) {
653
599
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
654
600
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -785,9 +731,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
785
731
  if (!isInitialRender) {
786
732
  return leftVNode.$key$ === rightVNode.$key$;
787
733
  }
788
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
789
- leftVNode.$key$ = rightVNode.$key$;
790
- }
791
734
  return true;
792
735
  }
793
736
  return false;
@@ -814,10 +757,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
814
757
  elm.textContent = "";
815
758
  }
816
759
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
817
- } else if (
818
- // don't do this on initial render as it can cause non-hydrated content to be removed
819
- !isInitialRender && BUILD.updatable && oldChildren !== null
820
- ) {
760
+ } else if (oldChildren !== null) {
821
761
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
822
762
  }
823
763
  if (isSvgMode && tag === "svg") {
@@ -834,9 +774,8 @@ var nullifyVNodeRefs = (vNode) => {
834
774
  }
835
775
  };
836
776
  var insertBefore = (parent, newNode, reference) => {
837
- {
838
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
839
- }
777
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
778
+ return inserted;
840
779
  };
841
780
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
842
781
  const hostElm = hostRef.$hostElement$;
@@ -861,21 +800,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
861
800
  rootVnode.$flags$ |= 4 /* isHost */;
862
801
  hostRef.$vnode$ = rootVnode;
863
802
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
864
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
803
+ {
804
+ scopeId = hostElm["s-sc"];
805
+ }
806
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
865
807
  patch(oldVNode, rootVnode, isInitialLoad);
866
808
  };
867
809
 
868
810
  // src/runtime/update-component.ts
869
811
  var attachToAncestor = (hostRef, ancestorComponent) => {
870
812
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
871
- const index = ancestorComponent["s-p"].push(
872
- new Promise(
873
- (r) => hostRef.$onRenderResolve$ = () => {
874
- ancestorComponent["s-p"].splice(index - 1, 1);
875
- r();
876
- }
877
- )
878
- );
813
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
879
814
  }
880
815
  };
881
816
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -904,12 +839,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
904
839
  {
905
840
  hostRef.$flags$ |= 256 /* isListenReady */;
906
841
  if (hostRef.$queuedListeners$) {
907
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
842
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
908
843
  hostRef.$queuedListeners$ = void 0;
909
844
  }
910
845
  }
911
846
  {
912
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
847
+ maybePromise = safeCall(instance, "componentWillLoad");
913
848
  }
914
849
  }
915
850
  endSchedule();
@@ -978,7 +913,7 @@ var postUpdateComponent = (hostRef) => {
978
913
  const instance = hostRef.$lazyInstance$ ;
979
914
  const ancestorComponent = hostRef.$ancestorComponent$;
980
915
  {
981
- safeCall(instance, "componentDidRender", void 0, elm);
916
+ safeCall(instance, "componentDidRender");
982
917
  }
983
918
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
984
919
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -986,7 +921,7 @@ var postUpdateComponent = (hostRef) => {
986
921
  addHydratedFlag(elm);
987
922
  }
988
923
  {
989
- safeCall(instance, "componentDidLoad", void 0, elm);
924
+ safeCall(instance, "componentDidLoad");
990
925
  }
991
926
  endPostUpdate();
992
927
  {
@@ -1010,14 +945,17 @@ var postUpdateComponent = (hostRef) => {
1010
945
  }
1011
946
  };
1012
947
  var appDidLoad = (who) => {
948
+ {
949
+ addHydratedFlag(doc.documentElement);
950
+ }
1013
951
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1014
952
  };
1015
- var safeCall = (instance, method, arg, elm) => {
953
+ var safeCall = (instance, method, arg) => {
1016
954
  if (instance && instance[method]) {
1017
955
  try {
1018
956
  return instance[method](arg);
1019
957
  } catch (e) {
1020
- consoleError(e, elm);
958
+ consoleError(e);
1021
959
  }
1022
960
  }
1023
961
  return void 0;
@@ -1076,68 +1014,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1076
1014
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1077
1015
  members.map(([memberName, [memberFlags]]) => {
1078
1016
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1079
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1080
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1081
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1082
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1083
- Object.defineProperty(prototype, memberName, {
1084
- get() {
1085
- {
1086
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1087
- return getValue(this, memberName);
1088
- }
1089
- const ref = getHostRef(this);
1090
- const instance = ref ? ref.$lazyInstance$ : prototype;
1091
- if (!instance) return;
1092
- return instance[memberName];
1093
- }
1094
- },
1095
- configurable: true,
1096
- enumerable: true
1097
- });
1098
- }
1099
1017
  Object.defineProperty(prototype, memberName, {
1018
+ get() {
1019
+ return getValue(this, memberName);
1020
+ },
1100
1021
  set(newValue) {
1101
- const ref = getHostRef(this);
1102
- if (origSetter) {
1103
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1104
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1105
- newValue = ref.$instanceValues$.get(memberName);
1106
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1107
- ref.$instanceValues$.set(memberName, currentValue);
1108
- }
1109
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1110
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1111
- setValue(this, memberName, newValue, cmpMeta);
1112
- return;
1113
- }
1114
- {
1115
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1116
- setValue(this, memberName, newValue, cmpMeta);
1117
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1118
- ref.$onReadyPromise$.then(() => {
1119
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1120
- ref.$lazyInstance$[memberName] = newValue;
1121
- }
1122
- });
1123
- }
1124
- return;
1125
- }
1126
- const setterSetVal = () => {
1127
- const currentValue = ref.$lazyInstance$[memberName];
1128
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1129
- ref.$instanceValues$.set(memberName, currentValue);
1130
- }
1131
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1132
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1133
- };
1134
- if (ref.$lazyInstance$) {
1135
- setterSetVal();
1136
- } else {
1137
- ref.$onReadyPromise$.then(() => setterSetVal());
1138
- }
1139
- }
1140
- }
1022
+ setValue(this, memberName, newValue, cmpMeta);
1023
+ },
1024
+ configurable: true,
1025
+ enumerable: true
1141
1026
  });
1142
1027
  }
1143
1028
  });
@@ -1147,11 +1032,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1147
1032
  plt.jmp(() => {
1148
1033
  var _a2;
1149
1034
  const propName = attrNameToPropName.get(attrName);
1150
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1035
+ if (this.hasOwnProperty(propName)) {
1151
1036
  newValue = this[propName];
1152
1037
  delete this[propName];
1153
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1154
- this[propName] == newValue) {
1038
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1155
1039
  return;
1156
1040
  } else if (propName == null) {
1157
1041
  const hostRef = getHostRef(this);
@@ -1167,11 +1051,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1167
1051
  }
1168
1052
  return;
1169
1053
  }
1170
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1171
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1172
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1173
- this[propName] = newValue;
1174
- }
1054
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1175
1055
  });
1176
1056
  };
1177
1057
  Cstr.observedAttributes = Array.from(
@@ -1200,7 +1080,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1200
1080
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1201
1081
  const bundleId = cmpMeta.$lazyBundleId$;
1202
1082
  if (bundleId) {
1203
- const CstrImport = loadModule(cmpMeta, hostRef);
1083
+ const CstrImport = loadModule(cmpMeta);
1204
1084
  if (CstrImport && "then" in CstrImport) {
1205
1085
  const endLoad = uniqueTime();
1206
1086
  Cstr = await CstrImport;
@@ -1225,7 +1105,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1225
1105
  try {
1226
1106
  new Cstr(hostRef);
1227
1107
  } catch (e) {
1228
- consoleError(e, elm);
1108
+ consoleError(e);
1229
1109
  }
1230
1110
  {
1231
1111
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1260,7 +1140,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1260
1140
  schedule();
1261
1141
  }
1262
1142
  };
1263
- var fireConnectedCallback = (instance, elm) => {
1143
+ var fireConnectedCallback = (instance) => {
1264
1144
  };
1265
1145
 
1266
1146
  // src/runtime/connected-callback.ts
@@ -1301,9 +1181,9 @@ var connectedCallback = (elm) => {
1301
1181
  endConnected();
1302
1182
  }
1303
1183
  };
1304
- var disconnectInstance = (instance, elm) => {
1184
+ var disconnectInstance = (instance) => {
1305
1185
  {
1306
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1186
+ safeCall(instance, "disconnectedCallback");
1307
1187
  }
1308
1188
  };
1309
1189
  var disconnectedCallback = async (elm) => {
@@ -1316,17 +1196,11 @@ var disconnectedCallback = async (elm) => {
1316
1196
  }
1317
1197
  }
1318
1198
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1319
- disconnectInstance(hostRef.$lazyInstance$, elm);
1199
+ disconnectInstance(hostRef.$lazyInstance$);
1320
1200
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1321
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1201
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1322
1202
  }
1323
1203
  }
1324
- if (rootAppliedStyles.has(elm)) {
1325
- rootAppliedStyles.delete(elm);
1326
- }
1327
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1328
- rootAppliedStyles.delete(elm.shadowRoot);
1329
- }
1330
1204
  };
1331
1205
 
1332
1206
  // src/runtime/bootstrap-lazy.ts
@@ -1411,17 +1285,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1411
1285
  }
1412
1286
  disconnectedCallback() {
1413
1287
  plt.jmp(() => disconnectedCallback(this));
1414
- plt.raf(() => {
1415
- var _a3;
1416
- const hostRef = getHostRef(this);
1417
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1418
- if (i2 > -1) {
1419
- deferredConnectedCallbacks.splice(i2, 1);
1420
- }
1421
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1422
- delete hostRef.$vnode$.$elm$;
1423
- }
1424
- });
1425
1288
  }
1426
1289
  componentOnReady() {
1427
1290
  return getHostRef(this).$onReadyPromise$;
@@ -1485,7 +1348,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1485
1348
  }
1486
1349
  }
1487
1350
  } catch (e) {
1488
- consoleError(e, hostRef.$hostElement$);
1351
+ consoleError(e);
1489
1352
  }
1490
1353
  };
1491
1354
  var getHostListenerTarget = (elm, flags) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-cf677425.js');
5
+ const index = require('./index-8b5843ec.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-cf677425.js');
5
+ const index = require('./index-8b5843ec.js');
6
6
 
7
7
  const DEFAULT_TRANSLATIONS = {
8
8
  "en": {
@@ -248,26 +248,22 @@ const UserTransactionHistory = class {
248
248
  index.registerInstance(this, hostRef);
249
249
  this.pageSizes = [10, 25, 50];
250
250
  this.pagination = null;
251
- /*
252
- * Language of the application.
253
- */
251
+ this.endpoint = undefined;
252
+ this.session = undefined;
254
253
  this.language = Localization.defaultLanguage;
255
- /*
256
- * Is mobile mode on. Default value `false`.
257
- */
254
+ this.userId = undefined;
255
+ this.translationUrl = undefined;
258
256
  this.mobile = false;
259
- /*
260
- * Client styling via inline styles.
261
- */
262
257
  this.clientStyling = null;
263
- /*
264
- * The path to file with styles in `css` format.
265
- */
266
258
  this.clientStylingUrl = null;
259
+ this.mbSource = undefined;
267
260
  this.page = 0;
268
261
  this.pageSize = this.pageSizes[0];
269
262
  this.showMobileFilter = false;
263
+ this.to = undefined;
264
+ this.from = undefined;
270
265
  this.type = '0';
266
+ this.transactions = undefined;
271
267
  this.showLoader = true;
272
268
  }
273
269
  watchMultiple() {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-cf677425.js');
5
+ const index = require('./index-8b5843ec.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.19.2 | 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));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []