@everymatrix/pam-statement-history 0.0.28 → 0.0.30

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.
@@ -1 +1 @@
1
- export{P as pam_statement_history}from"./pam-statement-history-dc238928.js";import"./index-02b4ec70.js";
1
+ export{P as pam_statement_history}from"./pam-statement-history-bbad60d1.js";import"./index-50c7699a.js";
@@ -1 +1 @@
1
- import{p as e,b as t}from"./index-02b4ec70.js";export{s as setNonce}from"./index-02b4ec70.js";import{g as a}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t([["pam-statement-history",[[1,"pam-statement-history",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],session:[1],playerid:[1],endpoint:[1],statementenabled:[1],postMessage:[516,"post-message"],language:[1],quickFiltersActive:[516,"quick-filters-active"],clientStylingUrlContent:[513,"client-styling-url-content"],dateformat:[1],translationUrl:[513,"translation-url"],activeTab:[32],activeFilter:[32],transactions:[32],isLoading:[32],errorMessage:[32],customStartDate:[32],customEndDate:[32],currentPage:[32],hasNextPage:[32],itemsPerPage:[32],copiedId:[32],isStatementEnabled:[32]},null,{statementenabled:["handleStatementEnabledChange"],activeTab:["handleTabChange"],activeFilter:["handleFilterChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],session:["handleAuthDataChange"],playerid:["handleAuthDataChange"],endpoint:["handleAuthDataChange"]}]]]],e))));
1
+ import{p as e,b as t}from"./index-50c7699a.js";export{s as setNonce}from"./index-50c7699a.js";import{g as a}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t([["pam-statement-history",[[1,"pam-statement-history",{mbsource:[1],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],session:[1],playerid:[1],endpoint:[1],statementenabled:[1],postMessage:[516,"post-message"],language:[1],quickFiltersActive:[516,"quick-filters-active"],clientStylingUrlContent:[513,"client-styling-url-content"],dateformat:[1],translationUrl:[513,"translation-url"],activeTab:[32],activeFilter:[32],transactions:[32],isLoading:[32],errorMessage:[32],customStartDate:[32],customEndDate:[32],currentPage:[32],hasNextPage:[32],itemsPerPage:[32],copiedId:[32],isStatementEnabled:[32]},null,{statementenabled:["handleStatementEnabledChange"],activeTab:["handleTabChange"],activeFilter:["handleFilterChange"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbsource:["handlembsourceChange"],session:["handleAuthDataChange"],playerid:["handleAuthDataChange"],endpoint:["handleAuthDataChange"]}]]]],e))));
@@ -12,7 +12,7 @@ interface UnifiedTransaction {
12
12
  timestamp: number;
13
13
  }
14
14
  export declare class PamStatementHistory {
15
- mbSource: string;
15
+ mbsource: string;
16
16
  clientStyling: string;
17
17
  clientStylingUrl: string;
18
18
  session: string;
@@ -39,9 +39,11 @@ export declare class PamStatementHistory {
39
39
  isStatementEnabled: boolean;
40
40
  private statementContainer;
41
41
  private stylingSubscription;
42
+ private stylingInitialized;
42
43
  private calendarMaxDate;
43
44
  private fetchToken;
44
45
  private translate;
46
+ private initStyling;
45
47
  private formatCurrencyAmount;
46
48
  private isDateRangeExceeded;
47
49
  componentWillLoad(): Promise<void>;
@@ -50,8 +52,9 @@ export declare class PamStatementHistory {
50
52
  handleFilterChange(newValue: string): void;
51
53
  handleClientStylingChange(newValue: string, oldValue: string): void;
52
54
  handleClientStylingUrlChange(newValue: string, oldValue: string): void;
53
- handleMbSourceChange(newValue: string, oldValue: string): void;
55
+ handlembsourceChange(newValue: string, oldValue: string): void;
54
56
  handleAuthDataChange(): void;
57
+ componentDidUpdate(): void;
55
58
  componentDidLoad(): void;
56
59
  disconnectedCallback(): void;
57
60
  private resetPaginationAndFetch;
@@ -13,7 +13,7 @@ export namespace Components {
13
13
  "dateformat": string;
14
14
  "endpoint": string;
15
15
  "language": string;
16
- "mbSource": string;
16
+ "mbsource": string;
17
17
  "playerid": string;
18
18
  "postMessage": boolean;
19
19
  "quickFiltersActive": boolean;
@@ -41,7 +41,7 @@ declare namespace LocalJSX {
41
41
  "dateformat"?: string;
42
42
  "endpoint"?: string;
43
43
  "language"?: string;
44
- "mbSource": string;
44
+ "mbsource"?: string;
45
45
  "playerid"?: string;
46
46
  "postMessage"?: boolean;
47
47
  "quickFiltersActive"?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/pam-statement-history",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",