@mx-cartographer/experiences 4.1.2-alpha.mega24 → 4.1.2-alpha.mega25
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/dist/common/types/Help.d.ts +4 -1
- package/dist/help/{Help.d.ts → HelpWidget.d.ts} +2 -0
- package/dist/help/index.d.ts +1 -1
- package/dist/help/store/HelpStore.d.ts +1 -1
- package/dist/help/utils/index.d.ts +1 -5
- package/dist/index.es.js +14 -16
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ClientCommunicationProfile, ClientProfile } from './Client';
|
|
1
2
|
export interface HelpCategory {
|
|
2
3
|
flags?: string[];
|
|
3
4
|
guid: string;
|
|
@@ -6,9 +7,9 @@ export interface HelpCategory {
|
|
|
6
7
|
topics: HelpTopic[];
|
|
7
8
|
}
|
|
8
9
|
export interface HelpListProps {
|
|
9
|
-
helpTitle: string;
|
|
10
10
|
helpCategories: HelpCategory[];
|
|
11
11
|
helpContent: string;
|
|
12
|
+
helpTitle: string;
|
|
12
13
|
buttonText: string;
|
|
13
14
|
onRequestHelp: () => void;
|
|
14
15
|
onTopicSelect: (topicKey: string) => void;
|
|
@@ -17,3 +18,5 @@ export interface HelpTopic {
|
|
|
17
18
|
label: string;
|
|
18
19
|
topicKey: string;
|
|
19
20
|
}
|
|
21
|
+
export interface Profile extends ClientCommunicationProfile, ClientProfile {
|
|
22
|
+
}
|
package/dist/help/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as HelpWidget } from './HelpWidget';
|
|
2
2
|
export { HelpList } from './HelpList';
|
|
@@ -4,6 +4,6 @@ export declare class HelpStore {
|
|
|
4
4
|
appConfig: Config | undefined;
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
constructor(globalStore: GlobalStore);
|
|
7
|
-
|
|
7
|
+
loadAppConfig: (config: Config) => Config;
|
|
8
8
|
get helpCategories(): import('../../common/types/Help').HelpCategory[];
|
|
9
9
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { HelpCategory } from '../../common/types/Help';
|
|
3
|
-
interface Profile extends ClientCommunicationProfile, ClientProfile {
|
|
4
|
-
}
|
|
1
|
+
import { HelpCategory, Profile } from '../../common/types/Help';
|
|
5
2
|
export declare const getAccessibleHelpCategories: (profile: Profile) => HelpCategory[];
|
|
6
|
-
export {};
|
package/dist/index.es.js
CHANGED
|
@@ -12597,11 +12597,9 @@ class o1 {
|
|
|
12597
12597
|
constructor(A) {
|
|
12598
12598
|
this.globalStore = A, De(this);
|
|
12599
12599
|
}
|
|
12600
|
-
|
|
12600
|
+
loadAppConfig = (A) => this.appConfig = A;
|
|
12601
12601
|
get helpCategories() {
|
|
12602
|
-
const {
|
|
12603
|
-
appData: { client_communication_profile: A, client_profile: n }
|
|
12604
|
-
} = this.globalStore.appDataStore;
|
|
12602
|
+
const { client_communication_profile: A, client_profile: n } = this.globalStore.appDataStore.appData;
|
|
12605
12603
|
return i1({
|
|
12606
12604
|
...A,
|
|
12607
12605
|
...n,
|
|
@@ -15952,25 +15950,25 @@ const Qm = () => {
|
|
|
15952
15950
|
button_text: "Request Help",
|
|
15953
15951
|
help_content: "Find answers, get support, and learn how to make the most of your experience.",
|
|
15954
15952
|
help_title: "Help Tool"
|
|
15955
|
-
}, Jm = () => {
|
|
15956
|
-
const { isInitialized:
|
|
15953
|
+
}, Jm = ({ sx: e }) => {
|
|
15954
|
+
const { isInitialized: A } = Sn(), { appConfig: n, helpCategories: a, loadAppConfig: r } = yl(), i = window.app?.config;
|
|
15957
15955
|
g.useEffect(() => {
|
|
15958
|
-
!
|
|
15959
|
-
}, [
|
|
15960
|
-
const
|
|
15961
|
-
},
|
|
15956
|
+
!A || !i || r(i);
|
|
15957
|
+
}, [A, i]);
|
|
15958
|
+
const o = () => {
|
|
15959
|
+
}, s = () => {
|
|
15962
15960
|
};
|
|
15963
|
-
return !
|
|
15961
|
+
return !A || !n ? /* @__PURE__ */ t(We, {}) : /* @__PURE__ */ t(pA, { sx: e, children: /* @__PURE__ */ t(
|
|
15964
15962
|
Vm,
|
|
15965
15963
|
{
|
|
15966
15964
|
buttonText: jn.button_text,
|
|
15967
|
-
helpCategories:
|
|
15965
|
+
helpCategories: a,
|
|
15968
15966
|
helpContent: jn.help_content,
|
|
15969
15967
|
helpTitle: jn.help_title,
|
|
15970
|
-
onRequestHelp:
|
|
15971
|
-
onTopicSelect:
|
|
15968
|
+
onRequestHelp: o,
|
|
15969
|
+
onTopicSelect: s
|
|
15972
15970
|
}
|
|
15973
|
-
) })
|
|
15971
|
+
) });
|
|
15974
15972
|
}, Q8 = T(Jm), Ba = ({
|
|
15975
15973
|
bgcolor: e = "background.default",
|
|
15976
15974
|
children: A
|
|
@@ -19459,8 +19457,8 @@ export {
|
|
|
19459
19457
|
n1 as GoalStore,
|
|
19460
19458
|
ea as GoalType,
|
|
19461
19459
|
R8 as GoalsWidget,
|
|
19462
|
-
Q8 as Help,
|
|
19463
19460
|
Vm as HelpList,
|
|
19461
|
+
Q8 as HelpWidget,
|
|
19464
19462
|
Y8 as HiddenInsightsDrawer,
|
|
19465
19463
|
Ca as INCOME_ACCOUNT_TYPES,
|
|
19466
19464
|
VA as IconBacking,
|