@pitcher/canvas-ui 2025.12.16-082349-beta → 2025.12.16-082908-beta
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/canvas-ui.js
CHANGED
|
@@ -88783,7 +88783,9 @@ const UI_API_METHOD_TYPES = {
|
|
|
88783
88783
|
UI_APP_LOADED: "ui_app_loaded",
|
|
88784
88784
|
UI_APP_RESIZE: "ui_app_resize",
|
|
88785
88785
|
UI_CLOSE_CANVAS_SECTION_EXECUTION: "ui_close_canvas_section_execution",
|
|
88786
|
-
UI_CLOSE_CANVAS_DRAWER: "ui_close_canvas_drawer"
|
|
88786
|
+
UI_CLOSE_CANVAS_DRAWER: "ui_close_canvas_drawer",
|
|
88787
|
+
UI_OPEN_GLOBAL_POPUP: "ui_open_global_popup",
|
|
88788
|
+
UI_CLOSE_GLOBAL_POPUP: "ui_close_global_popup"
|
|
88787
88789
|
};
|
|
88788
88790
|
const UI_MESSAGE_TYPES = {
|
|
88789
88791
|
UI_MEETING_CANCELED: "ui_meeting_canceled",
|
|
@@ -88835,10 +88837,25 @@ async function selectAgendaContent$1(payload = {}) {
|
|
|
88835
88837
|
const response = await pr.send(window.parent, UI_API_METHOD_TYPES.UI_SELECT_AGENDA_CONTENT, payload);
|
|
88836
88838
|
return response.data;
|
|
88837
88839
|
}
|
|
88840
|
+
async function openGlobalPopup(appName, extraContext) {
|
|
88841
|
+
const pr = await usePostRobot();
|
|
88842
|
+
const payload = {
|
|
88843
|
+
app_name: appName,
|
|
88844
|
+
extra_context: extraContext
|
|
88845
|
+
};
|
|
88846
|
+
const response = await pr.send(window.parent, UI_API_METHOD_TYPES.UI_OPEN_GLOBAL_POPUP, payload);
|
|
88847
|
+
return response.data;
|
|
88848
|
+
}
|
|
88849
|
+
async function closeGlobalPopup() {
|
|
88850
|
+
const pr = await usePostRobot();
|
|
88851
|
+
await pr.send(window.parent, UI_API_METHOD_TYPES.UI_CLOSE_GLOBAL_POPUP, {});
|
|
88852
|
+
}
|
|
88838
88853
|
|
|
88839
88854
|
const contentUi = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
88840
88855
|
__proto__: null,
|
|
88856
|
+
closeGlobalPopup,
|
|
88841
88857
|
open: open$1,
|
|
88858
|
+
openGlobalPopup,
|
|
88842
88859
|
preselectSfdcMeetingId,
|
|
88843
88860
|
selectAgendaContent: selectAgendaContent$1,
|
|
88844
88861
|
selectCollectionContent: selectCollectionContent$1,
|