@mx-cartographer/experiences 6.26.0-alpha.sms4 → 6.26.0-alpha.sms6
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/CHANGELOG.md +4 -0
- package/dist/common/stores/GlobalStore.d.ts +1 -1
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -65,6 +65,6 @@ export declare class GlobalStore {
|
|
|
65
65
|
globalUiStore: GlobalUiStore;
|
|
66
66
|
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
67
67
|
get isInitialized(): boolean;
|
|
68
|
-
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }
|
|
68
|
+
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
69
69
|
}
|
|
70
70
|
export {};
|
package/dist/index.es.js
CHANGED
|
@@ -6574,7 +6574,7 @@ class gg {
|
|
|
6574
6574
|
};
|
|
6575
6575
|
loadCategories = async (n) => {
|
|
6576
6576
|
try {
|
|
6577
|
-
const i = n
|
|
6577
|
+
const i = n || await this.api.getCategories(), { default_categories: a } = this.globalStore.copyStore.copy.categories;
|
|
6578
6578
|
Q(() => {
|
|
6579
6579
|
this.categories = i.map((o) => ({
|
|
6580
6580
|
...o,
|
|
@@ -14924,6 +14924,7 @@ const I1 = x(({ goal: e }) => {
|
|
|
14924
14924
|
alignSelf: "center",
|
|
14925
14925
|
flexDirection: r ? "row" : "column",
|
|
14926
14926
|
gap: r ? 16 : 0,
|
|
14927
|
+
px: r ? 0 : 24,
|
|
14927
14928
|
...i
|
|
14928
14929
|
},
|
|
14929
14930
|
children: [
|
|
@@ -24407,7 +24408,7 @@ class H0 {
|
|
|
24407
24408
|
}
|
|
24408
24409
|
loadAppData = async (n) => {
|
|
24409
24410
|
try {
|
|
24410
|
-
const i = n
|
|
24411
|
+
const i = n || await this.api.getAppData();
|
|
24411
24412
|
Q(() => {
|
|
24412
24413
|
this.appData = i, this.bannerApi = new gr(i.address?.bullseye || "/");
|
|
24413
24414
|
});
|
|
@@ -24505,7 +24506,7 @@ class W0 {
|
|
|
24505
24506
|
}
|
|
24506
24507
|
loadUserFeatures = async (n) => {
|
|
24507
24508
|
try {
|
|
24508
|
-
const i = n
|
|
24509
|
+
const i = n || await this.api.getUserFeatures();
|
|
24509
24510
|
Q(() => {
|
|
24510
24511
|
this.userFeatures = i;
|
|
24511
24512
|
});
|
|
@@ -24575,7 +24576,7 @@ class _4 {
|
|
|
24575
24576
|
transactionRules: s,
|
|
24576
24577
|
transactions: c,
|
|
24577
24578
|
userFeatures: d
|
|
24578
|
-
}) => {
|
|
24579
|
+
} = {}) => {
|
|
24579
24580
|
await Promise.all([
|
|
24580
24581
|
// Load copy, config and quser data
|
|
24581
24582
|
this.copyStore.loadCopy(),
|