web-mojo 2.4.0 → 2.4.1

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.
Files changed (47) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.es.js +1 -1
  3. package/dist/auth.cjs.js +1 -1
  4. package/dist/auth.es.js +1 -1
  5. package/dist/charts.cjs.js +1 -1
  6. package/dist/charts.es.js +1 -1
  7. package/dist/chunks/{AssistantPanelView-CJypCC34.js → AssistantPanelView-C2UrR8N7.js} +2 -2
  8. package/dist/chunks/{AssistantPanelView-CJypCC34.js.map → AssistantPanelView-C2UrR8N7.js.map} +1 -1
  9. package/dist/chunks/{AssistantPanelView-8sMO_xgC.js → AssistantPanelView-DVeXmhzx.js} +2 -2
  10. package/dist/chunks/{AssistantPanelView-8sMO_xgC.js.map → AssistantPanelView-DVeXmhzx.js.map} +1 -1
  11. package/dist/chunks/{ChatView-D7cll_OP.js → ChatView-B0xHv7Nq.js} +2 -2
  12. package/dist/chunks/{ChatView-D7cll_OP.js.map → ChatView-B0xHv7Nq.js.map} +1 -1
  13. package/dist/chunks/{ChatView-BLl2pOeL.js → ChatView-CUmRTKna.js} +2 -2
  14. package/dist/chunks/{ChatView-BLl2pOeL.js.map → ChatView-CUmRTKna.js.map} +1 -1
  15. package/dist/chunks/{Passkeys-Dpzvoi97.js → Passkeys-CMh9iSax.js} +2 -2
  16. package/dist/chunks/{Passkeys-DZC4MMYY.js.map → Passkeys-CMh9iSax.js.map} +1 -1
  17. package/dist/chunks/{Passkeys-DZC4MMYY.js → Passkeys-DF7mRGYj.js} +2 -2
  18. package/dist/chunks/{Passkeys-Dpzvoi97.js.map → Passkeys-DF7mRGYj.js.map} +1 -1
  19. package/dist/chunks/{UserProfileView-zJ3DkZZI.js → UserProfileView-B56WeGL1.js} +2 -2
  20. package/dist/chunks/{UserProfileView-zJ3DkZZI.js.map → UserProfileView-B56WeGL1.js.map} +1 -1
  21. package/dist/chunks/{UserProfileView-CcZHcQzP.js → UserProfileView-CrmACQjJ.js} +2 -2
  22. package/dist/chunks/{UserProfileView-CcZHcQzP.js.map → UserProfileView-CrmACQjJ.js.map} +1 -1
  23. package/dist/chunks/{admin-D1JFG-EB.js → admin-D3DtCOgt.js} +2 -2
  24. package/dist/chunks/{admin-D1JFG-EB.js.map → admin-D3DtCOgt.js.map} +1 -1
  25. package/dist/chunks/{admin-eo5ktjR2.js → admin-oYYbqLlb.js} +2 -2
  26. package/dist/chunks/{admin-eo5ktjR2.js.map → admin-oYYbqLlb.js.map} +1 -1
  27. package/dist/chunks/{index-Cdxr98ac.js → index-DTXotoXw.js} +2 -2
  28. package/dist/chunks/{index-Cdxr98ac.js.map → index-DTXotoXw.js.map} +1 -1
  29. package/dist/chunks/{index-_1JBT2F1.js → index-NXnA6T-5.js} +2 -2
  30. package/dist/chunks/{index-_1JBT2F1.js.map → index-NXnA6T-5.js.map} +1 -1
  31. package/dist/chunks/{version-VTxMn6hv.js → version-Bpfg5FM3.js} +2 -2
  32. package/dist/chunks/{version-VTxMn6hv.js.map → version-Bpfg5FM3.js.map} +1 -1
  33. package/dist/chunks/{version-BUOTqQj6.js → version-CopJeO_u.js} +2 -2
  34. package/dist/chunks/{version-BUOTqQj6.js.map → version-CopJeO_u.js.map} +1 -1
  35. package/dist/docit.cjs.js +1 -1
  36. package/dist/docit.es.js +1 -1
  37. package/dist/index.cjs.js +1 -1
  38. package/dist/index.es.js +1 -1
  39. package/dist/lightbox.cjs.js +1 -1
  40. package/dist/lightbox.es.js +1 -1
  41. package/dist/user-profile.cjs.js +1 -1
  42. package/dist/user-profile.es.js +1 -1
  43. package/dist/web-mojo.lite.iife.js +23 -6
  44. package/dist/web-mojo.lite.iife.js.map +1 -1
  45. package/dist/web-mojo.lite.iife.min.js +17 -17
  46. package/dist/web-mojo.lite.iife.min.js.map +1 -1
  47. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/UserProfileView-zJ3DkZZI.js"),i=require("./chunks/index-Cdxr98ac.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/UserProfileView-B56WeGL1.js"),i=require("./chunks/index-DTXotoXw.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
@@ -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 S,U as l}from"./chunks/UserProfileView-CcZHcQzP.js";import{ProfileActivitySection as p}from"./chunks/index-_1JBT2F1.js";export{e as PasskeySetupView,p 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,S as ProfileSessionsSection,l as 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 S,U as l}from"./chunks/UserProfileView-CrmACQjJ.js";import{ProfileActivitySection as p}from"./chunks/index-NXnA6T-5.js";export{e as PasskeySetupView,p 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,S as ProfileSessionsSection,l as UserProfileView};
2
2
  //# sourceMappingURL=user-profile.es.js.map
@@ -24756,13 +24756,13 @@ var MOJO = (function(exports) {
24756
24756
  * Build filter dialog field configuration
24757
24757
  */
24758
24758
  buildFilterDialogField(filterConfig, currentValue, filterKey) {
24759
+ const { name: _filterName, value: _filterValue, ...rest2 } = filterConfig;
24759
24760
  const field = {
24761
+ ...rest2,
24760
24762
  name: "filter_value",
24761
- label: filterConfig.label,
24763
+ label: rest2.label,
24762
24764
  value: currentValue,
24763
- ...filterConfig,
24764
- // Ensure placeholder is passed through (support both casings)
24765
- placeholder: filterConfig.placeholder || filterConfig.placeHolder
24765
+ placeholder: rest2.placeholder || rest2.placeHolder
24766
24766
  };
24767
24767
  if (filterConfig.type === "daterange") {
24768
24768
  field.startName = field.startName || "dr_start";
@@ -24912,8 +24912,25 @@ var MOJO = (function(exports) {
24912
24912
  async onActionClearAllFilters(event, element) {
24913
24913
  if (!this.collection) return;
24914
24914
  const { start, size, sort } = this.collection.params;
24915
- this.collection.params = { start, size };
24916
- if (sort) this.collection.params.sort = sort;
24915
+ const preserved = { start, size };
24916
+ if (sort) preserved.sort = sort;
24917
+ if (Array.isArray(this.hideActivePillNames) && this.hideActivePillNames.length > 0) {
24918
+ this.hideActivePillNames.forEach((key) => {
24919
+ if (this.collection.params[key] !== void 0) {
24920
+ preserved[key] = this.collection.params[key];
24921
+ }
24922
+ const filterConfig = this.getFilterConfig(key);
24923
+ if (filterConfig && filterConfig.type === "daterange") {
24924
+ const startName = filterConfig.startName || "dr_start";
24925
+ const endName = filterConfig.endName || "dr_end";
24926
+ const fieldName = filterConfig.fieldName || "dr_field";
24927
+ if (this.collection.params[startName] !== void 0) preserved[startName] = this.collection.params[startName];
24928
+ if (this.collection.params[endName] !== void 0) preserved[endName] = this.collection.params[endName];
24929
+ if (this.collection.params[fieldName] !== void 0) preserved[fieldName] = this.collection.params[fieldName];
24930
+ }
24931
+ });
24932
+ }
24933
+ this.collection.params = preserved;
24917
24934
  this.updateSearchInputs("");
24918
24935
  if (this.collection.restEnabled) {
24919
24936
  await this.collection.fetch();