web-mojo 2.1.965 → 2.1.970

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 (49) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.cjs.js.map +1 -1
  3. package/dist/admin.es.js +10 -12
  4. package/dist/admin.es.js.map +1 -1
  5. package/dist/auth.cjs.js +1 -1
  6. package/dist/auth.cjs.js.map +1 -1
  7. package/dist/auth.es.js +2 -2
  8. package/dist/auth.es.js.map +1 -1
  9. package/dist/charts.cjs.js +1 -1
  10. package/dist/charts.es.js +2 -2
  11. package/dist/chunks/ChatView-B7SuYLwL.js +2 -0
  12. package/dist/chunks/ChatView-B7SuYLwL.js.map +1 -0
  13. package/dist/chunks/{ChatView-CZas69B4.js → ChatView-Bc8uGufN.js} +20 -9
  14. package/dist/chunks/ChatView-Bc8uGufN.js.map +1 -0
  15. package/dist/chunks/{Dialog-PtWBLCxR.js → Dialog-CWlVHv1e.js} +3 -3
  16. package/dist/chunks/{Dialog-PtWBLCxR.js.map → Dialog-CWlVHv1e.js.map} +1 -1
  17. package/dist/chunks/{Dialog-BB9GfRUS.js → Dialog-DVud9izE.js} +2 -2
  18. package/dist/chunks/{Dialog-BB9GfRUS.js.map → Dialog-DVud9izE.js.map} +1 -1
  19. package/dist/chunks/{FormView-CVJSmGHp.js → FormView-B6RpE-xh.js} +2 -2
  20. package/dist/chunks/{FormView-CVJSmGHp.js.map → FormView-B6RpE-xh.js.map} +1 -1
  21. package/dist/chunks/{FormView-DI6XsGAt.js → FormView-DG32DDOa.js} +4 -1
  22. package/dist/chunks/FormView-DG32DDOa.js.map +1 -0
  23. package/dist/chunks/{MetricsMiniChartWidget-kfSscCJC.js → MetricsMiniChartWidget-CFoUehOz.js} +2 -2
  24. package/dist/chunks/{MetricsMiniChartWidget-kfSscCJC.js.map → MetricsMiniChartWidget-CFoUehOz.js.map} +1 -1
  25. package/dist/chunks/{MetricsMiniChartWidget-DV4PG0mu.js → MetricsMiniChartWidget-D3wJf0_r.js} +2 -2
  26. package/dist/chunks/{MetricsMiniChartWidget-DV4PG0mu.js.map → MetricsMiniChartWidget-D3wJf0_r.js.map} +1 -1
  27. package/dist/chunks/{PDFViewer-B_BAtt64.js → PDFViewer-CG4fmE25.js} +2 -2
  28. package/dist/chunks/{PDFViewer-B_BAtt64.js.map → PDFViewer-CG4fmE25.js.map} +1 -1
  29. package/dist/chunks/{PDFViewer-DH3JtwMX.js → PDFViewer-CYubJH5C.js} +2 -2
  30. package/dist/chunks/{PDFViewer-DH3JtwMX.js.map → PDFViewer-CYubJH5C.js.map} +1 -1
  31. package/dist/chunks/{TopNav-bvFc_RNs.js → TopNav--Yi8OpsJ.js} +2 -2
  32. package/dist/chunks/{TopNav-bvFc_RNs.js.map → TopNav--Yi8OpsJ.js.map} +1 -1
  33. package/dist/chunks/{TopNav-Boud6DBK.js → TopNav-D5XFAFhG.js} +2 -2
  34. package/dist/chunks/{TopNav-Boud6DBK.js.map → TopNav-D5XFAFhG.js.map} +1 -1
  35. package/dist/chunks/{WebApp-BuKF6sUG.js → WebApp-Dq9blJuq.js} +13 -13
  36. package/dist/chunks/{WebApp-BuKF6sUG.js.map → WebApp-Dq9blJuq.js.map} +1 -1
  37. package/dist/chunks/{WebApp-D5wBRHAI.js → WebApp-I1ndjEPg.js} +2 -2
  38. package/dist/chunks/{WebApp-D5wBRHAI.js.map → WebApp-I1ndjEPg.js.map} +1 -1
  39. package/dist/docit.cjs.js +1 -1
  40. package/dist/docit.es.js +3 -3
  41. package/dist/index.cjs.js +1 -1
  42. package/dist/index.es.js +7 -7
  43. package/dist/lightbox.cjs.js +1 -1
  44. package/dist/lightbox.es.js +3 -3
  45. package/package.json +1 -1
  46. package/dist/chunks/ChatView-CZas69B4.js.map +0 -1
  47. package/dist/chunks/ChatView-UJAFHqiy.js +0 -2
  48. package/dist/chunks/ChatView-UJAFHqiy.js.map +0 -1
  49. package/dist/chunks/FormView-DI6XsGAt.js.map +0 -1
@@ -2,9 +2,9 @@ import { M as Model, C as Collection } from "./Collection-DaTm-2LH.js";
2
2
  import { r as rest, V as View, d as dataFormatter, a as Mustache } from "./Rest-CS4jRCAs.js";
3
3
  import { T as ToastService, G as GroupList, c as UserList } from "./ContextMenu-BuEqfeZS.js";
4
4
  import { P as Page } from "./Page-Deq4y2Kq.js";
5
- import Dialog from "./Dialog-PtWBLCxR.js";
5
+ import Dialog from "./Dialog-CWlVHv1e.js";
6
6
  import { L as ListViewItem, a as ListView } from "./ListView-BrsQ26R6.js";
7
- import { F as FormView, a as applyFileDropMixin } from "./FormView-DI6XsGAt.js";
7
+ import { F as FormView, a as applyFileDropMixin } from "./FormView-DG32DDOa.js";
8
8
  class S3Bucket extends Model {
9
9
  constructor(data = {}) {
10
10
  super(data, {
@@ -1720,6 +1720,12 @@ const CommonEventFields = [
1720
1720
  { value: "status_code", label: "Status Code", description: "Numeric status code (e.g., HTTP status)", meta: { type: "int" } },
1721
1721
  { value: "message", label: "Message", description: "Event message text", meta: { type: "str" } },
1722
1722
  { value: "path", label: "Path", description: "File path or URL path", meta: { type: "str" } },
1723
+ { value: "title", label: "Title", description: "OSSEC Title", meta: { type: "str" } },
1724
+ { value: "country_code", label: "Country Code", description: "Country code associated with event", meta: { type: "str" } },
1725
+ { value: "region", label: "Region", description: "Region associated with event", meta: { type: "str" } },
1726
+ { value: "city", label: "City", description: "City associated with event", meta: { type: "str" } },
1727
+ { value: "http_user_agent", label: "HTTP User Agent", description: "User agent string associated with event", meta: { type: "str" } },
1728
+ { value: "request_path", label: "Request Path", description: "Request path associated with event", meta: { type: "str" } },
1723
1729
  { value: "method", label: "Method", description: "HTTP method or function name", meta: { type: "str" } }
1724
1730
  ];
1725
1731
  class RuleSet extends Model {
@@ -2742,18 +2748,23 @@ class PushDeliveryList extends Collection {
2742
2748
  }
2743
2749
  }
2744
2750
  const PushConfigForms = {
2751
+ create: {
2752
+ title: "Create Push Configuration",
2753
+ fields: [
2754
+ { name: "name", label: "Name", required: true },
2755
+ { type: "collection", name: "group", label: "Group (optional)", Collection: GroupList, labelField: "name", valueField: "id" },
2756
+ { name: "fcm_sender_id", label: "FCM Sender ID" },
2757
+ { name: "fcm_server_key", label: "FCM Server Key", type: "textarea" }
2758
+ ]
2759
+ },
2745
2760
  edit: {
2746
2761
  title: "Edit Push Configuration",
2747
2762
  fields: [
2748
2763
  { name: "name", label: "Name", required: true },
2749
2764
  { type: "collection", name: "group", label: "Group (optional)", Collection: GroupList, labelField: "name", valueField: "id" },
2750
- { name: "fcm_enabled", label: "FCM Enabled", type: "switch" },
2751
2765
  { name: "fcm_sender_id", label: "FCM Sender ID" },
2752
- { name: "apns_enabled", label: "APNS Enabled", type: "switch" },
2753
- { name: "default_sound", label: "Default Sound" },
2754
- { name: "default_badge_count", label: "Default Badge Count", type: "number" },
2755
- { name: "test_mode", label: "Test Mode", type: "switch" },
2756
- { name: "is_active", label: "Is Active", type: "switch" }
2766
+ { name: "fcm_server_key", label: "FCM Server Key", type: "textarea" },
2767
+ { name: "is_active", label: "Is Active", type: "switch", value: true }
2757
2768
  ]
2758
2769
  }
2759
2770
  };
@@ -7126,4 +7137,4 @@ export {
7126
7137
  FileForms as y,
7127
7138
  IncidentEventList as z
7128
7139
  };
7129
- //# sourceMappingURL=ChatView-CZas69B4.js.map
7140
+ //# sourceMappingURL=ChatView-Bc8uGufN.js.map