web-mojo 2.1.867 → 2.1.936

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 (63) 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 +355 -61
  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 +3 -3
  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-8wuIN1zH.js → ChatView-DlSxjxah.js} +63 -6
  12. package/dist/chunks/ChatView-DlSxjxah.js.map +1 -0
  13. package/dist/chunks/ChatView-DnqrGXMC.js +2 -0
  14. package/dist/chunks/ChatView-DnqrGXMC.js.map +1 -0
  15. package/dist/chunks/{ContextMenu-DPxZgf69.js → ContextMenu-CE77rUmn.js} +2 -2
  16. package/dist/chunks/{ContextMenu-DPxZgf69.js.map → ContextMenu-CE77rUmn.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-Bem9gIL6.js → ContextMenu-KVxd0Kgd.js} +2 -2
  18. package/dist/chunks/{ContextMenu-Bem9gIL6.js.map → ContextMenu-KVxd0Kgd.js.map} +1 -1
  19. package/dist/chunks/{DataView-DhbOr4Wm.js → DataView-Vmjx4eCr.js} +11 -21
  20. package/dist/chunks/DataView-Vmjx4eCr.js.map +1 -0
  21. package/dist/chunks/DataView-XJbTQ5q0.js +2 -0
  22. package/dist/chunks/DataView-XJbTQ5q0.js.map +1 -0
  23. package/dist/chunks/{Dialog-gO9ln-ej.js → Dialog-BinTQTfO.js} +2 -2
  24. package/dist/chunks/{Dialog-gO9ln-ej.js.map → Dialog-BinTQTfO.js.map} +1 -1
  25. package/dist/chunks/{Dialog-CQA_WzmY.js → Dialog-D_rAf4gQ.js} +5 -5
  26. package/dist/chunks/{Dialog-CQA_WzmY.js.map → Dialog-D_rAf4gQ.js.map} +1 -1
  27. package/dist/chunks/{FormView-DbPm-jDU.js → FormView-CIriLDZY.js} +2 -2
  28. package/dist/chunks/{FormView-DbPm-jDU.js.map → FormView-CIriLDZY.js.map} +1 -1
  29. package/dist/chunks/{FormView-DkxYCmes.js → FormView-TPFsq8ZX.js} +2 -2
  30. package/dist/chunks/{FormView-DkxYCmes.js.map → FormView-TPFsq8ZX.js.map} +1 -1
  31. package/dist/chunks/{MetricsMiniChartWidget-Dz2d0GG2.js → MetricsMiniChartWidget-BolRZ-Ja.js} +3 -3
  32. package/dist/chunks/{MetricsMiniChartWidget-Dz2d0GG2.js.map → MetricsMiniChartWidget-BolRZ-Ja.js.map} +1 -1
  33. package/dist/chunks/{MetricsMiniChartWidget-C41dYV1K.js → MetricsMiniChartWidget-sONcM0pG.js} +2 -2
  34. package/dist/chunks/{MetricsMiniChartWidget-C41dYV1K.js.map → MetricsMiniChartWidget-sONcM0pG.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-BJT0-zQL.js → PDFViewer-D6SKOl85.js} +3 -3
  36. package/dist/chunks/{PDFViewer-BJT0-zQL.js.map → PDFViewer-D6SKOl85.js.map} +1 -1
  37. package/dist/chunks/{PDFViewer-DvTxpaXI.js → PDFViewer-UBhinN8A.js} +2 -2
  38. package/dist/chunks/{PDFViewer-DvTxpaXI.js.map → PDFViewer-UBhinN8A.js.map} +1 -1
  39. package/dist/chunks/{Page-CeYPFh_j.js → Page-B7L25Omb.js} +2 -2
  40. package/dist/chunks/{Page-CeYPFh_j.js.map → Page-B7L25Omb.js.map} +1 -1
  41. package/dist/chunks/{Page-xjtBxzqE.js → Page-CnvHhwLZ.js} +2 -2
  42. package/dist/chunks/{Page-xjtBxzqE.js.map → Page-CnvHhwLZ.js.map} +1 -1
  43. package/dist/chunks/{TopNav-baMWNGG2.js → TopNav-CPA884W7.js} +5 -5
  44. package/dist/chunks/{TopNav-baMWNGG2.js.map → TopNav-CPA884W7.js.map} +1 -1
  45. package/dist/chunks/{TopNav-CcS_qMvn.js → TopNav-Dcmcic-i.js} +2 -2
  46. package/dist/chunks/{TopNav-CcS_qMvn.js.map → TopNav-Dcmcic-i.js.map} +1 -1
  47. package/dist/chunks/{WebApp-DLAySO90.js → WebApp-El07OMHH.js} +13 -13
  48. package/dist/chunks/{WebApp-DLAySO90.js.map → WebApp-El07OMHH.js.map} +1 -1
  49. package/dist/chunks/{WebApp-DkJV3BmZ.js → WebApp-b9DQWz1d.js} +2 -2
  50. package/dist/chunks/{WebApp-DkJV3BmZ.js.map → WebApp-b9DQWz1d.js.map} +1 -1
  51. package/dist/docit.cjs.js +1 -1
  52. package/dist/docit.es.js +5 -5
  53. package/dist/index.cjs.js +1 -1
  54. package/dist/index.es.js +11 -11
  55. package/dist/lightbox.cjs.js +1 -1
  56. package/dist/lightbox.es.js +4 -4
  57. package/package.json +1 -1
  58. package/dist/chunks/ChatView-8wuIN1zH.js.map +0 -1
  59. package/dist/chunks/ChatView-BtoAS3jU.js +0 -2
  60. package/dist/chunks/ChatView-BtoAS3jU.js.map +0 -1
  61. package/dist/chunks/DataView-C9O8uelM.js +0 -2
  62. package/dist/chunks/DataView-C9O8uelM.js.map +0 -1
  63. package/dist/chunks/DataView-DhbOr4Wm.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsMiniChartWidget-C41dYV1K.js"),r=require("./chunks/WebApp-DkJV3BmZ.js");exports.BaseChart=e.BaseChart,exports.MetricsChart=e.MetricsChart,exports.MetricsMiniChart=e.MetricsMiniChart,exports.MetricsMiniChartWidget=e.MetricsMiniChartWidget,exports.MiniChart=e.MiniChart,exports.PieChart=e.PieChart,exports.SeriesChart=e.SeriesChart,exports.BUILD_TIME=r.BUILD_TIME,exports.VERSION=r.VERSION,exports.VERSION_INFO=r.VERSION_INFO,exports.VERSION_MAJOR=r.VERSION_MAJOR,exports.VERSION_MINOR=r.VERSION_MINOR,exports.VERSION_REVISION=r.VERSION_REVISION,exports.WebApp=r.WebApp;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsMiniChartWidget-sONcM0pG.js"),r=require("./chunks/WebApp-b9DQWz1d.js");exports.BaseChart=e.BaseChart,exports.MetricsChart=e.MetricsChart,exports.MetricsMiniChart=e.MetricsMiniChart,exports.MetricsMiniChartWidget=e.MetricsMiniChartWidget,exports.MiniChart=e.MiniChart,exports.PieChart=e.PieChart,exports.SeriesChart=e.SeriesChart,exports.BUILD_TIME=r.BUILD_TIME,exports.VERSION=r.VERSION,exports.VERSION_INFO=r.VERSION_INFO,exports.VERSION_MAJOR=r.VERSION_MAJOR,exports.VERSION_MINOR=r.VERSION_MINOR,exports.VERSION_REVISION=r.VERSION_REVISION,exports.WebApp=r.WebApp;
2
2
  //# sourceMappingURL=charts.cjs.js.map
package/dist/charts.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B, M, b, c, a, P, S } from "./chunks/MetricsMiniChartWidget-Dz2d0GG2.js";
2
- import { B as B2, b as b2, a as a2, c as c2, e, f, W } from "./chunks/WebApp-DLAySO90.js";
1
+ import { B, M, b, c, a, P, S } from "./chunks/MetricsMiniChartWidget-BolRZ-Ja.js";
2
+ import { B as B2, b as b2, a as a2, c as c2, e, f, W } from "./chunks/WebApp-El07OMHH.js";
3
3
  export {
4
4
  B2 as BUILD_TIME,
5
5
  B as BaseChart,
@@ -1,8 +1,8 @@
1
- import { M as Model, C as Collection, T as ToastService, G as GroupList, d as UserList } from "./ContextMenu-DPxZgf69.js";
2
- import { r as rest, V as View, d as dataFormatter, M as Mustache } from "./WebApp-DLAySO90.js";
3
- import { P as Page } from "./Page-CeYPFh_j.js";
4
- import Dialog from "./Dialog-CQA_WzmY.js";
5
- import { F as FormView, a as applyFileDropMixin } from "./FormView-DbPm-jDU.js";
1
+ import { M as Model, C as Collection, T as ToastService, G as GroupList, d as UserList } from "./ContextMenu-CE77rUmn.js";
2
+ import { r as rest, V as View, d as dataFormatter, M as Mustache } from "./WebApp-El07OMHH.js";
3
+ import { P as Page } from "./Page-B7L25Omb.js";
4
+ import Dialog from "./Dialog-D_rAf4gQ.js";
5
+ import { F as FormView, a as applyFileDropMixin } from "./FormView-CIriLDZY.js";
6
6
  class S3Bucket extends Model {
7
7
  constructor(data = {}) {
8
8
  super(data, {
@@ -2732,6 +2732,59 @@ const PushTemplateForms = {
2732
2732
  };
2733
2733
  PushConfigForms.create = PushConfigForms.edit;
2734
2734
  PushTemplateForms.create = PushTemplateForms.edit;
2735
+ const GeoIPForms = {
2736
+ editLocation: {
2737
+ title: "Edit Location",
2738
+ size: "lg",
2739
+ fields: [
2740
+ { name: "ip_address", label: "IP Address", type: "text", required: true, readonly: true, cols: 6 },
2741
+ { name: "subnet", label: "Subnet", type: "text", cols: 6 },
2742
+ { name: "country_name", label: "Country", type: "text", cols: 6 },
2743
+ { name: "country_code", label: "Country Code", type: "text", cols: 6 },
2744
+ { name: "region", label: "Region", type: "text", cols: 6 },
2745
+ { name: "city", label: "City", type: "text", cols: 6 },
2746
+ { name: "postal_code", label: "Postal Code", type: "text", cols: 6 },
2747
+ { name: "timezone", label: "Timezone", type: "text", cols: 6 },
2748
+ { name: "latitude", label: "Latitude", type: "number", step: "any", cols: 6 },
2749
+ { name: "longitude", label: "Longitude", type: "number", step: "any", cols: 6 }
2750
+ ]
2751
+ },
2752
+ editSecurity: {
2753
+ title: "Edit Security",
2754
+ size: "md",
2755
+ fields: [
2756
+ {
2757
+ name: "threat_level",
2758
+ label: "Threat Level",
2759
+ type: "select",
2760
+ cols: 12,
2761
+ options: [
2762
+ { value: "", label: "None" },
2763
+ { value: "low", label: "Low" },
2764
+ { value: "medium", label: "Medium" },
2765
+ { value: "high", label: "High" },
2766
+ { value: "critical", label: "Critical" }
2767
+ ]
2768
+ },
2769
+ { name: "is_tor", label: "TOR Exit Node", type: "switch", cols: 6 },
2770
+ { name: "is_vpn", label: "VPN", type: "switch", cols: 6 },
2771
+ { name: "is_proxy", label: "Proxy", type: "switch", cols: 6 },
2772
+ { name: "is_cloud", label: "Cloud Provider", type: "switch", cols: 6 },
2773
+ { name: "is_datacenter", label: "Datacenter", type: "switch", cols: 6 }
2774
+ ]
2775
+ },
2776
+ editNetwork: {
2777
+ title: "Edit Network",
2778
+ size: "md",
2779
+ fields: [
2780
+ { name: "asn", label: "ASN", type: "text", cols: 6 },
2781
+ { name: "asn_org", label: "ASN Organization", type: "text", cols: 6 },
2782
+ { name: "isp", label: "ISP", type: "text", cols: 12 },
2783
+ { name: "connection_type", label: "Connection Type", type: "text", cols: 6 },
2784
+ { name: "provider", label: "Provider", type: "text", cols: 6 }
2785
+ ]
2786
+ }
2787
+ };
2735
2788
  class GeoLocatedIP extends Model {
2736
2789
  constructor(data = {}) {
2737
2790
  super(data, {
@@ -2747,6 +2800,10 @@ class GeoLocatedIP extends Model {
2747
2800
  return null;
2748
2801
  }
2749
2802
  }
2803
+ GeoLocatedIP.EDIT_FORM = GeoIPForms.editLocation;
2804
+ GeoLocatedIP.EDIT_LOCATION_FORM = GeoIPForms.editLocation;
2805
+ GeoLocatedIP.EDIT_SECURITY_FORM = GeoIPForms.editSecurity;
2806
+ GeoLocatedIP.EDIT_NETWORK_FORM = GeoIPForms.editNetwork;
2750
2807
  class GeoLocatedIPList extends Collection {
2751
2808
  constructor(options = {}) {
2752
2809
  super({
@@ -7515,4 +7572,4 @@ export {
7515
7572
  FileList as y,
7516
7573
  FileForms as z
7517
7574
  };
7518
- //# sourceMappingURL=ChatView-8wuIN1zH.js.map
7575
+ //# sourceMappingURL=ChatView-DlSxjxah.js.map