web-mojo 2.4.5 → 2.4.6
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/admin.cjs.js +1 -1
- package/dist/admin.es.js +1 -1
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.es.js +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +1 -1
- package/dist/chunks/{AssistantPanelView-C4ZyIQoH.js → AssistantPanelView-CkQEcaFk.js} +2 -2
- package/dist/chunks/{AssistantPanelView-C4ZyIQoH.js.map → AssistantPanelView-CkQEcaFk.js.map} +1 -1
- package/dist/chunks/{AssistantPanelView-DlBgWeM_.js → AssistantPanelView-D1wEbgtM.js} +2 -2
- package/dist/chunks/{AssistantPanelView-DlBgWeM_.js.map → AssistantPanelView-D1wEbgtM.js.map} +1 -1
- package/dist/chunks/ChatView-D2WOSxPu.js +2 -0
- package/dist/chunks/ChatView-D2WOSxPu.js.map +1 -0
- package/dist/chunks/ChatView-kWguc444.js +2 -0
- package/dist/chunks/ChatView-kWguc444.js.map +1 -0
- package/dist/chunks/Passkeys-B1-Z4-16.js +2 -0
- package/dist/chunks/Passkeys-B1-Z4-16.js.map +1 -0
- package/dist/chunks/Passkeys-BlHx11-5.js +2 -0
- package/dist/chunks/Passkeys-BlHx11-5.js.map +1 -0
- package/dist/chunks/{TicketPanelView-DeeANyKv.js → TicketPanelView-DVePzWyJ.js} +2 -2
- package/dist/chunks/{TicketPanelView-DeeANyKv.js.map → TicketPanelView-DVePzWyJ.js.map} +1 -1
- package/dist/chunks/{TicketPanelView-if4ogL_D.js → TicketPanelView-TYh5iZiR.js} +2 -2
- package/dist/chunks/{TicketPanelView-if4ogL_D.js.map → TicketPanelView-TYh5iZiR.js.map} +1 -1
- package/dist/chunks/{UserProfileView-BPjz7uIp.js → UserProfileView-DDflzpTa.js} +2 -2
- package/dist/chunks/{UserProfileView-BPjz7uIp.js.map → UserProfileView-DDflzpTa.js.map} +1 -1
- package/dist/chunks/{UserProfileView-udbSWe1S.js → UserProfileView-cUF8ED9n.js} +2 -2
- package/dist/chunks/{UserProfileView-udbSWe1S.js.map → UserProfileView-cUF8ED9n.js.map} +1 -1
- package/dist/chunks/{admin-C3-HqQvC.js → admin-CHPo4iDn.js} +2 -2
- package/dist/chunks/{admin-C3-HqQvC.js.map → admin-CHPo4iDn.js.map} +1 -1
- package/dist/chunks/{admin-DrFBTXnB.js → admin-CucHFXfD.js} +2 -2
- package/dist/chunks/{admin-DrFBTXnB.js.map → admin-CucHFXfD.js.map} +1 -1
- package/dist/chunks/{index-dFX91Gwz.js → index-Cxffar1o.js} +2 -2
- package/dist/chunks/{index-dFX91Gwz.js.map → index-Cxffar1o.js.map} +1 -1
- package/dist/chunks/{index-Byf1pa3Z.js → index-DsID1QpB.js} +2 -2
- package/dist/chunks/{index-Byf1pa3Z.js.map → index-DsID1QpB.js.map} +1 -1
- package/dist/chunks/{version-C9vC8_Oy.js → version-BYy2UAT0.js} +2 -2
- package/dist/chunks/{version-C9vC8_Oy.js.map → version-BYy2UAT0.js.map} +1 -1
- package/dist/chunks/{version-CjNfmLdK.js → version-BxLEknar.js} +2 -2
- package/dist/chunks/{version-CjNfmLdK.js.map → version-BxLEknar.js.map} +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +1 -1
- package/dist/user-profile.cjs.js +1 -1
- package/dist/user-profile.es.js +1 -1
- package/dist/web-mojo.lite.iife.js +13 -0
- package/dist/web-mojo.lite.iife.js.map +1 -1
- package/dist/web-mojo.lite.iife.min.js +44 -44
- package/dist/web-mojo.lite.iife.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/ChatView-CcR1GR30.js +0 -2
- package/dist/chunks/ChatView-CcR1GR30.js.map +0 -1
- package/dist/chunks/ChatView-ChyTcmrd.js +0 -2
- package/dist/chunks/ChatView-ChyTcmrd.js.map +0 -1
- package/dist/chunks/Passkeys-DJn9yy-0.js +0 -2
- package/dist/chunks/Passkeys-DJn9yy-0.js.map +0 -1
- package/dist/chunks/Passkeys-WWAg5tKf.js +0 -2
- package/dist/chunks/Passkeys-WWAg5tKf.js.map +0 -1
package/dist/user-profile.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/UserProfileView-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/UserProfileView-cUF8ED9n.js"),i=require("./chunks/index-Cxffar1o.js");exports.PasskeySetupView=e.PasskeySetupView,exports.ProfileApiKeysSection=e.ProfileApiKeysSection,exports.ProfileConnectedSection=e.ProfileConnectedSection,exports.ProfileDevicesSection=e.ProfileDevicesSection,exports.ProfileGroupsSection=e.ProfileGroupsSection,exports.ProfileNotificationsSection=e.ProfileNotificationsSection,exports.ProfileOverviewSection=e.ProfileOverviewSection,exports.ProfilePermissionsSection=e.ProfilePermissionsSection,exports.ProfilePersonalSection=e.ProfilePersonalSection,exports.ProfileSecurityEventsSection=e.ProfileSecurityEventsSection,exports.ProfileSecuritySection=e.ProfileSecuritySection,exports.ProfileSessionsSection=e.ProfileSessionsSection,exports.UserProfileView=e.UserProfileView,exports.ProfileActivitySection=i.ProfileActivitySection;
|
|
2
2
|
//# sourceMappingURL=user-profile.cjs.js.map
|
package/dist/user-profile.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{P as e,a as i,b as o,c as s,d as r,e as n,f as t,g as c,h as a,i as f,j as P,k as l,U as S}from"./chunks/UserProfileView-
|
|
1
|
+
import{P as e,a as i,b as o,c as s,d as r,e as n,f as t,g as c,h as a,i as f,j as P,k as l,U as S}from"./chunks/UserProfileView-DDflzpTa.js";import{ProfileActivitySection as m}from"./chunks/index-DsID1QpB.js";export{e as PasskeySetupView,m as ProfileActivitySection,i as ProfileApiKeysSection,o as ProfileConnectedSection,s as ProfileDevicesSection,r as ProfileGroupsSection,n as ProfileNotificationsSection,t as ProfileOverviewSection,c as ProfilePermissionsSection,a as ProfilePersonalSection,f as ProfileSecurityEventsSection,P as ProfileSecuritySection,l as ProfileSessionsSection,S as UserProfileView};
|
|
2
2
|
//# sourceMappingURL=user-profile.es.js.map
|
|
@@ -23044,6 +23044,7 @@ var MOJO = (function(exports) {
|
|
|
23044
23044
|
this.filterable = options.filterable !== false;
|
|
23045
23045
|
this.paginated = options.paginated !== false;
|
|
23046
23046
|
this.clickAction = options.clickAction || "view";
|
|
23047
|
+
this.fetchOnView = options.fetchOnView !== false;
|
|
23047
23048
|
this.itemView = options.itemView;
|
|
23048
23049
|
this.addForm = options.addForm;
|
|
23049
23050
|
this.editForm = options.editForm;
|
|
@@ -23959,6 +23960,18 @@ var MOJO = (function(exports) {
|
|
|
23959
23960
|
await this.options.onItemView(event.model, event.event);
|
|
23960
23961
|
return;
|
|
23961
23962
|
}
|
|
23963
|
+
if (this.fetchOnView) {
|
|
23964
|
+
try {
|
|
23965
|
+
Modal.loading();
|
|
23966
|
+
await event.model.fetch();
|
|
23967
|
+
} catch (error) {
|
|
23968
|
+
Modal.hideLoading(true);
|
|
23969
|
+
Modal.showError(error?.data?.error || error?.message || "Failed to load item details");
|
|
23970
|
+
return;
|
|
23971
|
+
} finally {
|
|
23972
|
+
Modal.hideLoading(true);
|
|
23973
|
+
}
|
|
23974
|
+
}
|
|
23962
23975
|
const ViewClass = this.getItemViewClass(event.model);
|
|
23963
23976
|
if (ViewClass) {
|
|
23964
23977
|
const viewInstance = new ViewClass({ model: event.model, collection: this.collection });
|