@mx-cartographer/experiences 4.1.2-alpha.mega6 → 4.1.2-alpha.mega8

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,9 +1,9 @@
1
1
  import { GlobalStore } from '../../common';
2
2
  import { Config } from '../../common/types/Global';
3
+ import { HelpCategory } from '../../common/types/Help';
3
4
  export declare class HelpStore {
4
- private appConfig;
5
5
  private globalStore;
6
+ helpCategories: HelpCategory[];
6
7
  constructor(globalStore: GlobalStore);
7
8
  setAppConfig(config: Config): void;
8
- get helpCategories(): import('../../common/types/Help').HelpCategory[];
9
9
  }
package/dist/index.es.js CHANGED
@@ -12592,26 +12592,19 @@ const a1 = [
12592
12592
  }
12593
12593
  ], r1 = (e, A) => e.flags ? e.flags.every((n) => A[n]) : !1, i1 = (e) => a1.filter((A) => r1(A, e));
12594
12594
  class o1 {
12595
- appConfig;
12596
12595
  globalStore;
12596
+ helpCategories = [];
12597
12597
  constructor(A) {
12598
- console.log("start::"), console.log(A), this.globalStore = A, De(this);
12598
+ this.globalStore = A, De(this);
12599
12599
  }
12600
12600
  setAppConfig(A) {
12601
- this.appConfig = A;
12602
- }
12603
- get helpCategories() {
12604
12601
  const {
12605
- appData: { client_communication_profile: A, client_profile: n }
12602
+ appData: { client_communication_profile: n, client_profile: a }
12606
12603
  } = this.globalStore.appDataStore;
12607
- return console.log({
12608
- ...A,
12604
+ this.helpCategories = i1({
12609
12605
  ...n,
12610
- ...this.appConfig
12611
- }), i1({
12612
- ...A,
12613
- ...n,
12614
- ...this.appConfig
12606
+ ...a,
12607
+ ...A
12615
12608
  });
12616
12609
  }
12617
12610
  }
@@ -15965,12 +15958,12 @@ const Qm = () => {
15965
15958
  }, [n]);
15966
15959
  const a = () => {
15967
15960
  }, r = () => {
15968
- };
15969
- return /* @__PURE__ */ t(pA, { children: /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(
15961
+ }, i = g.useMemo(() => e, [e]);
15962
+ return console.log("storeHelpCategories::", i), /* @__PURE__ */ t(pA, { children: /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(
15970
15963
  Vm,
15971
15964
  {
15972
15965
  buttonText: Xn.button_text,
15973
- helpCategories: e,
15966
+ helpCategories: i,
15974
15967
  helpContent: Xn.help_content,
15975
15968
  helpTitle: Xn.help_title,
15976
15969
  onRequestHelp: a,