@everymatrix/user-transaction-history 1.53.0 → 1.53.11

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 (20) hide show
  1. package/dist/cjs/{index-4252bc97.js → index-f8cad885.js} +167 -70
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/user-transaction-history.cjs.entry.js +13 -8
  4. package/dist/cjs/user-transaction-history.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/user-transaction-history/user-transaction-history.js +28 -7
  7. package/dist/esm/{index-e8249896.js → index-fc58390d.js} +167 -70
  8. package/dist/esm/loader.js +2 -2
  9. package/dist/esm/user-transaction-history.entry.js +13 -8
  10. package/dist/esm/user-transaction-history.js +3 -3
  11. 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 +2 -0
  12. 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 +2 -0
  13. package/dist/user-transaction-history/p-76051e8b.js +2 -0
  14. package/dist/user-transaction-history/p-ef0d053d.entry.js +1 -0
  15. package/dist/user-transaction-history/user-transaction-history.esm.js +1 -1
  16. package/package.json +1 -1
  17. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-transaction-history/.stencil/packages/stencil/user-transaction-history/stencil.config.d.ts +0 -2
  18. 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 +0 -2
  19. package/dist/user-transaction-history/p-380caf32.js +0 -2
  20. package/dist/user-transaction-history/p-7972bcc3.entry.js +0 -1
@@ -21,19 +21,27 @@ 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, 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: 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, 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 };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.25.1 | 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
34
40
  var hostRefs = /* @__PURE__ */ new WeakMap();
35
41
  var getHostRef = (ref) => hostRefs.get(ref);
36
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
42
+ var registerInstance = (lazyInstance, hostRef) => {
43
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
+ };
37
45
  var registerHost = (hostElement, cmpMeta) => {
38
46
  const hostRef = {
39
47
  $flags$: 0,
@@ -46,7 +54,8 @@ var registerHost = (hostElement, cmpMeta) => {
46
54
  hostElement["s-p"] = [];
47
55
  hostElement["s-rc"] = [];
48
56
  }
49
- return hostRefs.set(hostElement, hostRef);
57
+ const ref = hostRefs.set(hostElement, hostRef);
58
+ return ref;
50
59
  };
51
60
  var isMemberInElement = (elm, memberName) => memberName in elm;
52
61
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -83,16 +92,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
83
92
  /* webpackExclude: /\.system\.entry\.js$/ */
84
93
  /* webpackMode: "lazy" */
85
94
  `./${bundleId}.entry.js${""}`
86
- )); }).then((importedModule) => {
87
- {
88
- cmpModules.set(bundleId, importedModule);
95
+ )); }).then(
96
+ (importedModule) => {
97
+ {
98
+ cmpModules.set(bundleId, importedModule);
99
+ }
100
+ return importedModule[exportName];
101
+ },
102
+ (e) => {
103
+ consoleError(e, hostRef.$hostElement$);
89
104
  }
90
- return importedModule[exportName];
91
- }, consoleError);
105
+ );
92
106
  };
93
107
 
94
108
  // src/client/client-style.ts
95
109
  var styles = /* @__PURE__ */ new Map();
110
+ var HYDRATED_STYLE_ID = "sty-id";
96
111
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
97
112
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
98
113
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -173,14 +188,6 @@ var getAssetPath = (path) => {
173
188
  const assetUrl = new URL(path, plt.$resourcesUrl$);
174
189
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
175
190
  };
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;
184
191
  var isComplexType = (o) => {
185
192
  o = typeof o;
186
193
  return o === "object" || o === "function";
@@ -403,7 +410,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
403
410
  }
404
411
  if (!appliedStyles.has(scopeId2)) {
405
412
  {
406
- styleElm = doc.createElement("style");
413
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
407
414
  styleElm.innerHTML = style;
408
415
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
409
416
  if (nonce != null) {
@@ -413,7 +420,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
413
420
  if (styleContainerNode.nodeName === "HEAD") {
414
421
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
415
422
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
416
- styleContainerNode.insertBefore(styleElm, referenceNode2);
423
+ styleContainerNode.insertBefore(
424
+ styleElm,
425
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
426
+ );
417
427
  } else if ("host" in styleContainerNode) {
418
428
  if (supportsConstructableStylesheets) {
419
429
  const stylesheet = new CSSStyleSheet();
@@ -463,16 +473,18 @@ var attachStyles = (hostRef) => {
463
473
  endAttachStyles();
464
474
  };
465
475
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
466
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
476
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
467
477
  if (oldValue !== newValue) {
468
478
  let isProp = isMemberInElement(elm, memberName);
469
479
  let ln = memberName.toLowerCase();
470
480
  if (memberName === "class") {
471
481
  const classList = elm.classList;
472
482
  const oldClasses = parseClassList(oldValue);
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)));
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
+ }
476
488
  } else if (memberName === "style") {
477
489
  {
478
490
  for (const prop in oldValue) {
@@ -531,7 +543,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
531
543
  elm.setAttribute(memberName, n);
532
544
  }
533
545
  }
534
- } else {
546
+ } else if (elm[memberName] !== newValue) {
535
547
  elm[memberName] = newValue;
536
548
  }
537
549
  } catch (e) {
@@ -564,24 +576,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
564
576
  }
565
577
  };
566
578
  var parseClassListRegex = /\s/;
567
- var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
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
+ };
568
588
  var CAPTURE_EVENT_SUFFIX = "Capture";
569
589
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
570
590
 
571
591
  // src/runtime/vdom/update-element.ts
572
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
592
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
573
593
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
574
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
575
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
594
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
595
+ const newVnodeAttrs = newVnode.$attrs$ || {};
576
596
  {
577
597
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
578
598
  if (!(memberName in newVnodeAttrs)) {
579
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
599
+ setAccessor(
600
+ elm,
601
+ memberName,
602
+ oldVnodeAttrs[memberName],
603
+ void 0,
604
+ isSvgMode2,
605
+ newVnode.$flags$);
580
606
  }
581
607
  }
582
608
  }
583
609
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
584
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
610
+ setAccessor(
611
+ elm,
612
+ memberName,
613
+ oldVnodeAttrs[memberName],
614
+ newVnodeAttrs[memberName],
615
+ isSvgMode2,
616
+ newVnode.$flags$);
585
617
  }
586
618
  };
587
619
  function sortedAttrNames(attrNames) {
@@ -593,13 +625,10 @@ function sortedAttrNames(attrNames) {
593
625
  attrNames
594
626
  );
595
627
  }
596
-
597
- // src/runtime/vdom/vdom-render.ts
598
- var scopeId;
599
628
  var hostTagName;
600
629
  var useNativeShadowDom = false;
601
630
  var isSvgMode = false;
602
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
631
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
603
632
  const newVNode2 = newParentVNode.$children$[childIndex];
604
633
  let i2 = 0;
605
634
  let elm;
@@ -620,11 +649,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
620
649
  {
621
650
  updateElement(null, newVNode2, isSvgMode);
622
651
  }
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
- }
628
652
  if (newVNode2.$children$) {
629
653
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
630
654
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -761,6 +785,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
761
785
  if (!isInitialRender) {
762
786
  return leftVNode.$key$ === rightVNode.$key$;
763
787
  }
788
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
789
+ leftVNode.$key$ = rightVNode.$key$;
790
+ }
764
791
  return true;
765
792
  }
766
793
  return false;
@@ -807,8 +834,9 @@ var nullifyVNodeRefs = (vNode) => {
807
834
  }
808
835
  };
809
836
  var insertBefore = (parent, newNode, reference) => {
810
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
811
- return inserted;
837
+ {
838
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
839
+ }
812
840
  };
813
841
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
814
842
  const hostElm = hostRef.$hostElement$;
@@ -833,9 +861,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
833
861
  rootVnode.$flags$ |= 4 /* isHost */;
834
862
  hostRef.$vnode$ = rootVnode;
835
863
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
836
- {
837
- scopeId = hostElm["s-sc"];
838
- }
839
864
  useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
840
865
  patch(oldVNode, rootVnode, isInitialLoad);
841
866
  };
@@ -843,7 +868,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
843
868
  // src/runtime/update-component.ts
844
869
  var attachToAncestor = (hostRef, ancestorComponent) => {
845
870
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
846
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
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
+ );
847
879
  }
848
880
  };
849
881
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -872,12 +904,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
872
904
  {
873
905
  hostRef.$flags$ |= 256 /* isListenReady */;
874
906
  if (hostRef.$queuedListeners$) {
875
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
907
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
876
908
  hostRef.$queuedListeners$ = void 0;
877
909
  }
878
910
  }
879
911
  {
880
- maybePromise = safeCall(instance, "componentWillLoad");
912
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
881
913
  }
882
914
  }
883
915
  endSchedule();
@@ -946,7 +978,7 @@ var postUpdateComponent = (hostRef) => {
946
978
  const instance = hostRef.$lazyInstance$ ;
947
979
  const ancestorComponent = hostRef.$ancestorComponent$;
948
980
  {
949
- safeCall(instance, "componentDidRender");
981
+ safeCall(instance, "componentDidRender", void 0, elm);
950
982
  }
951
983
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
952
984
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -980,12 +1012,12 @@ var appDidLoad = (who) => {
980
1012
  }
981
1013
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
982
1014
  };
983
- var safeCall = (instance, method, arg) => {
1015
+ var safeCall = (instance, method, arg, elm) => {
984
1016
  if (instance && instance[method]) {
985
1017
  try {
986
1018
  return instance[method](arg);
987
1019
  } catch (e) {
988
- consoleError(e);
1020
+ consoleError(e, elm);
989
1021
  }
990
1022
  }
991
1023
  return void 0;
@@ -1044,15 +1076,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1044
1076
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1045
1077
  members.map(([memberName, [memberFlags]]) => {
1046
1078
  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
+ }
1047
1099
  Object.defineProperty(prototype, memberName, {
1048
- get() {
1049
- return getValue(this, memberName);
1050
- },
1051
1100
  set(newValue) {
1052
- setValue(this, memberName, newValue, cmpMeta);
1053
- },
1054
- configurable: true,
1055
- enumerable: true
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
+ }
1056
1141
  });
1057
1142
  }
1058
1143
  });
@@ -1062,7 +1147,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1062
1147
  plt.jmp(() => {
1063
1148
  var _a2;
1064
1149
  const propName = attrNameToPropName.get(attrName);
1065
- if (this.hasOwnProperty(propName)) {
1150
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1066
1151
  newValue = this[propName];
1067
1152
  delete this[propName];
1068
1153
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1082,7 +1167,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1082
1167
  }
1083
1168
  return;
1084
1169
  }
1085
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
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
+ }
1086
1175
  });
1087
1176
  };
1088
1177
  Cstr.observedAttributes = Array.from(
@@ -1109,9 +1198,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1109
1198
  let Cstr;
1110
1199
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1111
1200
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1112
- const bundleId = cmpMeta.$lazyBundleId$;
1113
- if (bundleId) {
1114
- const CstrImport = loadModule(cmpMeta);
1201
+ {
1202
+ const CstrImport = loadModule(cmpMeta, hostRef);
1115
1203
  if (CstrImport && "then" in CstrImport) {
1116
1204
  const endLoad = uniqueTime();
1117
1205
  Cstr = await CstrImport;
@@ -1136,7 +1224,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1136
1224
  try {
1137
1225
  new Cstr(hostRef);
1138
1226
  } catch (e) {
1139
- consoleError(e);
1227
+ consoleError(e, elm);
1140
1228
  }
1141
1229
  {
1142
1230
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1145,10 +1233,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1145
1233
  hostRef.$flags$ |= 128 /* isWatchReady */;
1146
1234
  }
1147
1235
  endNewInstance();
1148
- } else {
1149
- Cstr = elm.constructor;
1150
- const cmpTag = elm.localName;
1151
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1152
1236
  }
1153
1237
  if (Cstr && Cstr.style) {
1154
1238
  let style;
@@ -1171,7 +1255,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1171
1255
  schedule();
1172
1256
  }
1173
1257
  };
1174
- var fireConnectedCallback = (instance) => {
1258
+ var fireConnectedCallback = (instance, elm) => {
1175
1259
  };
1176
1260
 
1177
1261
  // src/runtime/connected-callback.ts
@@ -1212,7 +1296,7 @@ var connectedCallback = (elm) => {
1212
1296
  endConnected();
1213
1297
  }
1214
1298
  };
1215
- var disconnectInstance = (instance) => {
1299
+ var disconnectInstance = (instance, elm) => {
1216
1300
  };
1217
1301
  var disconnectedCallback = async (elm) => {
1218
1302
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1227,6 +1311,12 @@ var disconnectedCallback = async (elm) => {
1227
1311
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1228
1312
  }
1229
1313
  }
1314
+ if (rootAppliedStyles.has(elm)) {
1315
+ rootAppliedStyles.delete(elm);
1316
+ }
1317
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1318
+ rootAppliedStyles.delete(elm.shadowRoot);
1319
+ }
1230
1320
  };
1231
1321
 
1232
1322
  // src/runtime/bootstrap-lazy.ts
@@ -1311,6 +1401,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1311
1401
  }
1312
1402
  disconnectedCallback() {
1313
1403
  plt.jmp(() => disconnectedCallback(this));
1404
+ plt.raf(() => {
1405
+ var _a3;
1406
+ const hostRef = getHostRef(this);
1407
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1408
+ delete hostRef.$vnode$.$elm$;
1409
+ }
1410
+ });
1314
1411
  }
1315
1412
  componentOnReady() {
1316
1413
  return getHostRef(this).$onReadyPromise$;
@@ -1374,7 +1471,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1374
1471
  }
1375
1472
  }
1376
1473
  } catch (e) {
1377
- consoleError(e);
1474
+ consoleError(e, hostRef.$hostElement$);
1378
1475
  }
1379
1476
  };
1380
1477
  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-4252bc97.js');
5
+ const index = require('./index-f8cad885.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-4252bc97.js');
5
+ const index = require('./index-f8cad885.js');
6
6
 
7
7
  const DEFAULT_TRANSLATIONS = {
8
8
  "en": {
@@ -192,21 +192,26 @@ const UserTransactionHistory = class {
192
192
  this.pageSizes = [10, 25, 50];
193
193
  this.pagination = null;
194
194
  this.stylingAppended = false;
195
- this.endpoint = undefined;
196
- this.session = undefined;
195
+ /*
196
+ * Language of the application.
197
+ */
197
198
  this.language = Localization.defaultLanguage;
198
- this.userId = undefined;
199
- this.translationUrl = undefined;
199
+ /*
200
+ * Is mobile mode on. Default value `false`.
201
+ */
200
202
  this.mobile = false;
203
+ /*
204
+ * Client styling via inline styles.
205
+ */
201
206
  this.clientStyling = null;
207
+ /*
208
+ * The path to file with styles in `css` format.
209
+ */
202
210
  this.clientStylingUrl = null;
203
211
  this.page = 0;
204
212
  this.pageSize = this.pageSizes[0];
205
213
  this.showMobileFilter = false;
206
- this.to = undefined;
207
- this.from = undefined;
208
214
  this.type = '0';
209
- this.transactions = undefined;
210
215
  this.showLoader = true;
211
216
  }
212
217
  watchMultiple() {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4252bc97.js');
5
+ const index = require('./index-f8cad885.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.25.1 | 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,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
7
+ "version": "4.25.1",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -10,21 +10,26 @@ export class UserTransactionHistory {
10
10
  this.pageSizes = [10, 25, 50];
11
11
  this.pagination = null;
12
12
  this.stylingAppended = false;
13
- this.endpoint = undefined;
14
- this.session = undefined;
13
+ /*
14
+ * Language of the application.
15
+ */
15
16
  this.language = Localization.defaultLanguage;
16
- this.userId = undefined;
17
- this.translationUrl = undefined;
17
+ /*
18
+ * Is mobile mode on. Default value `false`.
19
+ */
18
20
  this.mobile = false;
21
+ /*
22
+ * Client styling via inline styles.
23
+ */
19
24
  this.clientStyling = null;
25
+ /*
26
+ * The path to file with styles in `css` format.
27
+ */
20
28
  this.clientStylingUrl = null;
21
29
  this.page = 0;
22
30
  this.pageSize = this.pageSizes[0];
23
31
  this.showMobileFilter = false;
24
- this.to = undefined;
25
- this.from = undefined;
26
32
  this.type = '0';
27
- this.transactions = undefined;
28
33
  this.showLoader = true;
29
34
  }
30
35
  watchMultiple() {
@@ -174,6 +179,8 @@ export class UserTransactionHistory {
174
179
  "tags": [],
175
180
  "text": ""
176
181
  },
182
+ "getter": false,
183
+ "setter": false,
177
184
  "attribute": "endpoint",
178
185
  "reflect": true
179
186
  },
@@ -191,6 +198,8 @@ export class UserTransactionHistory {
191
198
  "tags": [],
192
199
  "text": ""
193
200
  },
201
+ "getter": false,
202
+ "setter": false,
194
203
  "attribute": "session",
195
204
  "reflect": true
196
205
  },
@@ -208,6 +217,8 @@ export class UserTransactionHistory {
208
217
  "tags": [],
209
218
  "text": ""
210
219
  },
220
+ "getter": false,
221
+ "setter": false,
211
222
  "attribute": "language",
212
223
  "reflect": true,
213
224
  "defaultValue": "Localization.defaultLanguage"
@@ -226,6 +237,8 @@ export class UserTransactionHistory {
226
237
  "tags": [],
227
238
  "text": ""
228
239
  },
240
+ "getter": false,
241
+ "setter": false,
229
242
  "attribute": "user-id",
230
243
  "reflect": true
231
244
  },
@@ -243,6 +256,8 @@ export class UserTransactionHistory {
243
256
  "tags": [],
244
257
  "text": ""
245
258
  },
259
+ "getter": false,
260
+ "setter": false,
246
261
  "attribute": "translation-url",
247
262
  "reflect": true
248
263
  },
@@ -260,6 +275,8 @@ export class UserTransactionHistory {
260
275
  "tags": [],
261
276
  "text": ""
262
277
  },
278
+ "getter": false,
279
+ "setter": false,
263
280
  "attribute": "mobile",
264
281
  "reflect": true,
265
282
  "defaultValue": "false"
@@ -278,6 +295,8 @@ export class UserTransactionHistory {
278
295
  "tags": [],
279
296
  "text": ""
280
297
  },
298
+ "getter": false,
299
+ "setter": false,
281
300
  "attribute": "client-styling",
282
301
  "reflect": true,
283
302
  "defaultValue": "null"
@@ -296,6 +315,8 @@ export class UserTransactionHistory {
296
315
  "tags": [],
297
316
  "text": ""
298
317
  },
318
+ "getter": false,
319
+ "setter": false,
299
320
  "attribute": "client-styling-url",
300
321
  "reflect": true,
301
322
  "defaultValue": "null"