@ws-ui/store 0.1.2 → 0.1.4

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/dist/index.es.js CHANGED
@@ -8536,13 +8536,13 @@ function pR(e) {
8536
8536
  }
8537
8537
  var hR = /* @__PURE__ */ pR();
8538
8538
  ZO(Aw);
8539
- const NP = () => fR(), wn = hR, dg = Y(
8539
+ const LP = () => fR(), wn = hR, dg = Y(
8540
8540
  (e) => e,
8541
8541
  (e) => e.catalog.state === "loaded" ? e.catalog.model : null
8542
- ), LP = Y(
8542
+ ), FP = Y(
8543
8543
  (e) => e,
8544
8544
  ({ catalog: e }) => e.state
8545
- ), FP = Y(dg, (e) => e ? e.dataClasses : []), kP = Y(dg, (e) => e ? e.methods : []), pg = (e) => Y(
8545
+ ), gR = Y(dg, (e) => e ? e.dataClasses : []), kP = Y(gR, (e) => Object.values(e).filter(({ virtual: n }) => n)), jP = Y(dg, (e) => e ? e.methods : []), pg = (e) => Y(
8546
8546
  (n) => n,
8547
8547
  (n) => {
8548
8548
  switch (n.catalog.state) {
@@ -8553,29 +8553,29 @@ const NP = () => fR(), wn = hR, dg = Y(
8553
8553
  return [];
8554
8554
  }
8555
8555
  }
8556
- ), jP = (e) => wn(pg(e), cg), gR = (e, n) => Y(
8556
+ ), WP = (e) => wn(pg(e), cg), vR = (e, n) => Y(
8557
8557
  pg(e),
8558
8558
  (t) => t.find((a) => `${a.applyTo}.${a.name}` === n)
8559
- ), WP = (e, n, t) => wn(
8560
- gR(e, `${t}.${n}`),
8559
+ ), BP = (e, n, t) => wn(
8560
+ vR(e, `${t}.${n}`),
8561
8561
  cg
8562
- ), vR = Y(
8562
+ ), yR = Y(
8563
8563
  (e) => e,
8564
8564
  (e) => e
8565
- ), BP = (e) => Y(En, (n) => {
8565
+ ), UP = (e) => Y(En, (n) => {
8566
8566
  var i;
8567
8567
  const t = n.tabs.find(({ path: s }) => s === e), a = t == null ? void 0 : t.content.components;
8568
8568
  return !t || !a ? [] : (i = Object.keys(a)) == null ? void 0 : i.map((s) => ({
8569
8569
  id: s,
8570
8570
  ...a[s]
8571
8571
  }));
8572
- }), yR = (e) => Y(En, (n) => {
8572
+ }), mR = (e) => Y(En, (n) => {
8573
8573
  var a, i;
8574
8574
  const t = n.tabs.find(
8575
8575
  ({ path: s }) => s === e
8576
8576
  );
8577
8577
  return ((i = (a = t == null ? void 0 : t.content) == null ? void 0 : a.metadata) == null ? void 0 : i.datasources) || [];
8578
- }), UP = (e, n, t) => Y(vR, (a) => {
8578
+ }), HP = (e, n, t) => Y(yR, (a) => {
8579
8579
  var i, s;
8580
8580
  if (n) {
8581
8581
  const c = a.sharedDatasources.sources[n];
@@ -8584,15 +8584,15 @@ const NP = () => fR(), wn = hR, dg = Y(
8584
8584
  const c = a.root.tabs.find((d) => d.path === t);
8585
8585
  return c ? (s = (i = c.content.metadata) == null ? void 0 : i.datasources) == null ? void 0 : s.find((d) => d.id === e) : void 0;
8586
8586
  }
8587
- }), mR = Y(
8587
+ }), bR = Y(
8588
8588
  (e) => e,
8589
8589
  (e) => {
8590
8590
  var n;
8591
8591
  return ((n = e.sharedDatasources) == null ? void 0 : n.sources) || [];
8592
8592
  }
8593
- ), HP = (e, n, t, a) => Y(
8594
- yR(e),
8595
- mR,
8593
+ ), GP = (e, n, t, a) => Y(
8594
+ mR(e),
8595
+ bR,
8596
8596
  (i, s) => {
8597
8597
  const c = Ke.flatten(Ke.values(s)), f = [
8598
8598
  ...n !== "private" ? i : [],
@@ -8606,7 +8606,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8606
8606
  ) || t.includes("objectFromArray") && d.dataType === "object" && d.from))
8607
8607
  ) : f;
8608
8608
  }
8609
- ), GP = Y(
8609
+ ), qP = Y(
8610
8610
  (e) => e.debugger,
8611
8611
  (e) => e.meta
8612
8612
  ), xa = Y(
@@ -8615,24 +8615,24 @@ const NP = () => fR(), wn = hR, dg = Y(
8615
8615
  ), qt = Y(
8616
8616
  (e) => e.debugger,
8617
8617
  (e) => e.sessions
8618
- ), qP = Y(
8618
+ ), YP = Y(
8619
8619
  qt,
8620
8620
  (e) => e.length
8621
8621
  ), va = (e, n, t, a) => e.find(
8622
8622
  (i) => i.filePath === n && i.methodName === t && (!a || i.className === a)
8623
- ), yt = (e, n) => e.find((t) => t.threadId === n), bR = (e, n) => e.find((t) => t.tabPath === n), YP = (e, n) => Y(
8623
+ ), yt = (e, n) => e.find((t) => t.threadId === n), _R = (e, n) => e.find((t) => t.tabPath === n), zP = (e, n) => Y(
8624
8624
  xa,
8625
8625
  (t) => {
8626
8626
  var a;
8627
8627
  return ((a = va(t, e, n)) == null ? void 0 : a.breakpoints.saved.locations) || [];
8628
8628
  }
8629
- ), zP = (e, n) => Y(
8629
+ ), VP = (e, n) => Y(
8630
8630
  xa,
8631
8631
  (t) => {
8632
8632
  var a;
8633
8633
  return ((a = va(t, e, n)) == null ? void 0 : a.breakpoints.draft.locations) || [];
8634
8634
  }
8635
- ), VP = (e) => Y(xa, (n) => n.filter((t) => t.filePath === e).reduce(
8635
+ ), KP = (e) => Y(xa, (n) => n.filter((t) => t.filePath === e).reduce(
8636
8636
  (t, a) => [
8637
8637
  ...t,
8638
8638
  ...a.breakpoints.saved.locations.map((i) => ({
@@ -8641,7 +8641,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8641
8641
  }))
8642
8642
  ],
8643
8643
  []
8644
- ).sort((t, a) => t.line - a.line)), KP = (e) => Y(xa, (n) => n.filter((t) => t.filePath === e).reduce(
8644
+ ).sort((t, a) => t.line - a.line)), JP = (e) => Y(xa, (n) => n.filter((t) => t.filePath === e).reduce(
8645
8645
  (t, a) => [
8646
8646
  ...t,
8647
8647
  ...a.breakpoints.draft.locations.map((i) => ({
@@ -8650,76 +8650,76 @@ const NP = () => fR(), wn = hR, dg = Y(
8650
8650
  }))
8651
8651
  ],
8652
8652
  []
8653
- ).sort((t, a) => t.line - a.line)), JP = (e) => Y(qt, (n) => {
8653
+ ).sort((t, a) => t.line - a.line)), XP = (e) => Y(qt, (n) => {
8654
8654
  const t = yt(n, e);
8655
8655
  return t != null && t.stopped ? t.highlightedLines : null;
8656
- }), XP = (e) => Y(qt, (n) => {
8656
+ }), ZP = (e) => Y(qt, (n) => {
8657
8657
  const t = yt(n, e);
8658
8658
  return t != null && t.stopped ? t.activeLine : null;
8659
- }), ZP = (e) => Y(
8659
+ }), QP = (e) => Y(
8660
8660
  qt,
8661
8661
  (n) => {
8662
8662
  var t;
8663
8663
  return ((t = yt(n, e)) == null ? void 0 : t.expressions) || [];
8664
8664
  }
8665
- ), QP = (e) => Y(
8665
+ ), eI = (e) => Y(
8666
8666
  qt,
8667
8667
  (n) => {
8668
8668
  var t;
8669
8669
  return ((t = yt(n, e)) == null ? void 0 : t.stopped) || !1;
8670
8670
  }
8671
- ), eI = (e, n) => Y(
8671
+ ), tI = (e, n) => Y(
8672
8672
  xa,
8673
8673
  (t) => {
8674
8674
  var a;
8675
8675
  return (a = va(t, e, n)) == null ? void 0 : a.source;
8676
8676
  }
8677
- ), tI = (e) => Y(
8677
+ ), rI = (e) => Y(
8678
8678
  qt,
8679
8679
  (n) => {
8680
8680
  var t;
8681
- return ((t = bR(n, e)) == null ? void 0 : t.threadId) || -1;
8681
+ return ((t = _R(n, e)) == null ? void 0 : t.threadId) || -1;
8682
8682
  }
8683
- ), rI = (e) => Y(
8683
+ ), nI = (e) => Y(
8684
8684
  qt,
8685
8685
  (n) => {
8686
8686
  var t, a;
8687
8687
  return (a = (t = yt(n, e)) == null ? void 0 : t.currentStackFrame) == null ? void 0 : a.source;
8688
8688
  }
8689
- ), nI = (e) => Y(
8689
+ ), aI = (e) => Y(
8690
8690
  qt,
8691
8691
  (n) => {
8692
8692
  var t;
8693
8693
  return (t = yt(n, e)) == null ? void 0 : t.currentStackFrame;
8694
8694
  }
8695
- ), aI = Y(
8695
+ ), oI = Y(
8696
8696
  qt,
8697
8697
  (e) => e.map(({ channelId: n, threadId: t }) => ({
8698
8698
  id: n,
8699
8699
  threadId: t
8700
8700
  }))
8701
- ), oI = (e) => Y(
8701
+ ), iI = (e) => Y(
8702
8702
  qt,
8703
8703
  (n) => {
8704
8704
  var t;
8705
8705
  return ((t = yt(n, e)) == null ? void 0 : t.stackFrames) || [];
8706
8706
  }
8707
- ), iI = (e) => Y(
8707
+ ), sI = (e) => Y(
8708
8708
  qt,
8709
8709
  (n) => {
8710
8710
  var t, a;
8711
8711
  return ((a = (t = yt(n, e)) == null ? void 0 : t.variables) == null ? void 0 : a.callchain) || [];
8712
8712
  }
8713
- ), sI = (e) => Y(
8713
+ ), uI = (e) => Y(
8714
8714
  qt,
8715
8715
  (n) => {
8716
8716
  var t, a;
8717
8717
  return ((a = (t = yt(n, e)) == null ? void 0 : t.variables) == null ? void 0 : a.expressions) || [];
8718
8718
  }
8719
- ), uI = (e, n = "saved") => Y(xa, (t) => {
8719
+ ), cI = (e, n = "saved") => Y(xa, (t) => {
8720
8720
  const a = t.find((i) => i.filePath === e);
8721
8721
  return (a == null ? void 0 : a.breakpoints[n].offset) || 0;
8722
- }), cI = (e, n, t, a) => Y(qt, (i) => {
8722
+ }), fI = (e, n, t, a) => Y(qt, (i) => {
8723
8723
  var p;
8724
8724
  const s = ((p = yt(i, e)) == null ? void 0 : p.exceptions) || [], c = n === V.CLASS, f = c && a ? `${a}.${t}` : t;
8725
8725
  return (f ? s.filter((h) => h.location === f) : s).map((h) => ({
@@ -8730,36 +8730,36 @@ const NP = () => fR(), wn = hR, dg = Y(
8730
8730
  }), En = Y(
8731
8731
  (e) => e.root,
8732
8732
  (e) => e
8733
- ), po = Y(En, (e) => e.tabs), fI = Y(
8733
+ ), po = Y(En, (e) => e.tabs), lI = Y(
8734
8734
  En,
8735
8735
  (e) => e.activeTab
8736
- ), lI = Y(
8736
+ ), dI = Y(
8737
8737
  En,
8738
8738
  (e) => e.recent.filter(({ type: n }) => n !== V.DEBUGGER)
8739
- ), dI = Y(
8739
+ ), pI = Y(
8740
8740
  En,
8741
8741
  ({ tabs: e, activeTab: n }) => e.find(({ path: t }) => t === n)
8742
- ), pI = Y(En, ({ tabs: e }) => e.reduce((t, a) => (a == null ? void 0 : a.weight) > ((t == null ? void 0 : t.weight) || 0) ? a : t, null)), hI = Y(
8742
+ ), hI = Y(En, ({ tabs: e }) => e.reduce((t, a) => (a == null ? void 0 : a.weight) > ((t == null ? void 0 : t.weight) || 0) ? a : t, null)), gI = Y(
8743
8743
  po,
8744
8744
  (e) => e.filter(
8745
8745
  ({ type: n, flags: t }) => n === V.WEBFORM && t.enabled === !1
8746
8746
  ).map(({ path: n }) => n)
8747
- ), gI = Y(
8747
+ ), vI = Y(
8748
8748
  po,
8749
8749
  (e) => e.length > 0
8750
8750
  ), Yi = (e) => Y(
8751
8751
  En,
8752
8752
  (n) => n.tabs.find(({ path: t }) => t === e)
8753
- ), _R = (e, n = "") => Y(Yi(e), (t) => !t || !t.content || typeof t.content == "string" ? t == null ? void 0 : t.content : Ke.get(t.content, n)), vI = (e) => Y(Yi(e), (n) => n == null ? void 0 : n.extra), yI = (e, n = (t) => t) => Y(
8754
- _R(e, "components"),
8753
+ ), wR = (e, n = "") => Y(Yi(e), (t) => !t || !t.content || typeof t.content == "string" ? t == null ? void 0 : t.content : Ke.get(t.content, n)), yI = (e) => Y(Yi(e), (n) => n == null ? void 0 : n.extra), mI = (e, n = (t) => t) => Y(
8754
+ wR(e, "components"),
8755
8755
  (t) => n(t || {})
8756
8756
  ), hg = Y(
8757
8757
  po,
8758
8758
  (e) => e.filter((n) => n.flags.touched)
8759
- ), mI = Y(
8759
+ ), bI = Y(
8760
8760
  hg,
8761
8761
  (e) => e.length
8762
- ), bI = Y(
8762
+ ), _I = Y(
8763
8763
  qt,
8764
8764
  (e) => e.map(
8765
8765
  ({ threadId: n, currentStackFrame: { source: t }, tabPath: a }) => ({
@@ -8771,79 +8771,79 @@ const NP = () => fR(), wn = hR, dg = Y(
8771
8771
  extra: { source: t }
8772
8772
  })
8773
8773
  )
8774
- ), _I = Y(
8774
+ ), wI = Y(
8775
8775
  (e) => e,
8776
8776
  (e) => e.explorer || []
8777
- ), wR = Y(
8777
+ ), ER = Y(
8778
8778
  (e) => e,
8779
8779
  (e) => e.explorer.find((n) => n.path === lt.WEBFORMS)
8780
- ), ER = Y(
8780
+ ), SR = Y(
8781
8781
  (e) => e,
8782
8782
  (e) => e.explorer.find((n) => n.path === lt.METHODS)
8783
- ), SR = Y(
8783
+ ), TR = Y(
8784
8784
  (e) => e,
8785
8785
  (e) => e.explorer.find((n) => n.path === lt.CLASSES)
8786
- ), wI = Y(
8787
- ER,
8788
- (e) => (e == null ? void 0 : e.children) || []
8789
8786
  ), EI = Y(
8790
- wR,
8787
+ SR,
8791
8788
  (e) => (e == null ? void 0 : e.children) || []
8792
8789
  ), SI = Y(
8793
- SR,
8790
+ ER,
8794
8791
  (e) => (e == null ? void 0 : e.children) || []
8795
8792
  ), TI = Y(
8793
+ TR,
8794
+ (e) => (e == null ? void 0 : e.children) || []
8795
+ ), xI = Y(
8796
8796
  (e) => e.modals,
8797
8797
  (e) => e.list
8798
- ), xI = Y(
8798
+ ), CI = Y(
8799
8799
  (e) => e.roles,
8800
8800
  (e) => Jc(e)
8801
- ), CI = Y(
8801
+ ), OI = Y(
8802
8802
  (e) => e.roles,
8803
8803
  ({ roles: e }) => e
8804
- ), OI = Y(
8804
+ ), RI = Y(
8805
8805
  (e) => e.roles,
8806
8806
  ({ privileges: e }) => e
8807
- ), RI = Y(
8807
+ ), AI = Y(
8808
8808
  (e) => e.roles,
8809
8809
  ({ privileges: e }) => Object.values(e).find(({ privilege: n }) => n === "guest")
8810
- ), AI = Y(
8810
+ ), PI = Y(
8811
8811
  (e) => e.roles,
8812
8812
  ({ flags: e }) => e
8813
- ), PI = Y(
8813
+ ), II = Y(
8814
8814
  (e) => e.roles,
8815
8815
  ({ selectedTab: e }) => e
8816
- ), II = Y(
8816
+ ), DI = Y(
8817
8817
  (e) => e.roles,
8818
8818
  ({ forceLogin: e }) => e
8819
- ), DI = Y(
8819
+ ), $I = Y(
8820
8820
  (e) => e.roles,
8821
8821
  ({ date: e }) => e
8822
8822
  ), gg = Y(
8823
8823
  (e) => e.settings,
8824
8824
  (e) => e.session
8825
- ), $I = (...e) => Y(
8825
+ ), MI = (...e) => Y(
8826
8826
  gg,
8827
8827
  (n) => e.length > 0 ? Ke.pick(n, e) : n
8828
- ), MI = Y(
8828
+ ), NI = Y(
8829
8829
  (e) => e.settings,
8830
8830
  (e) => e.project
8831
- ), NI = Y(
8831
+ ), LI = Y(
8832
8832
  (e) => e.settings,
8833
8833
  (e) => e
8834
8834
  ), vg = Y(
8835
8835
  (e) => e.settings,
8836
8836
  (e) => e.server
8837
- ), LI = Y(
8837
+ ), FI = Y(
8838
8838
  vg,
8839
8839
  (e) => e.remoteDebuggerMode
8840
- ), FI = Y(
8840
+ ), kI = Y(
8841
8841
  vg,
8842
8842
  (e) => e.qodly
8843
- ), kI = Y(
8843
+ ), jI = Y(
8844
8844
  gg,
8845
8845
  (e) => e["monaco.zoom"]
8846
- ), TR = [
8846
+ ), xR = [
8847
8847
  "rounded-full",
8848
8848
  "rounded-lg",
8849
8849
  "border-gray-400",
@@ -8877,7 +8877,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8877
8877
  "shadow-lg",
8878
8878
  "shadow-xl",
8879
8879
  "shadow-2xl"
8880
- ], yg = TR.map((e) => ({
8880
+ ], yg = xR.map((e) => ({
8881
8881
  id: Mc(),
8882
8882
  content: "",
8883
8883
  name: e,
@@ -8889,7 +8889,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8889
8889
  var t, a;
8890
8890
  return ((a = (t = n == null ? void 0 : n.content) == null ? void 0 : t.metadata) == null ? void 0 : a.styles) || [];
8891
8891
  }
8892
- ), jI = (e, n) => Y(
8892
+ ), WI = (e, n) => Y(
8893
8893
  mg(e),
8894
8894
  (t) => n.map((a) => {
8895
8895
  switch (!0) {
@@ -8904,7 +8904,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8904
8904
  return [];
8905
8905
  }
8906
8906
  }).flat()
8907
- ), WI = (e) => Y(
8907
+ ), BI = (e) => Y(
8908
8908
  mg(e),
8909
8909
  (n) => [
8910
8910
  ...n.map((t) => ({
@@ -8913,7 +8913,7 @@ const NP = () => fR(), wn = hR, dg = Y(
8913
8913
  })),
8914
8914
  ...yg
8915
8915
  ]
8916
- ), BI = Y(
8916
+ ), UI = Y(
8917
8917
  (e) => e,
8918
8918
  (e) => {
8919
8919
  var n;
@@ -8924,36 +8924,36 @@ const NP = () => fR(), wn = hR, dg = Y(
8924
8924
  }))
8925
8925
  ];
8926
8926
  }
8927
- ), UI = (e) => Y(Yi(e), (n) => n == null ? void 0 : n.flags), zi = Y(
8927
+ ), HI = (e) => Y(Yi(e), (n) => n == null ? void 0 : n.flags), zi = Y(
8928
8928
  (e) => e.webforms,
8929
8929
  (e) => e
8930
- ), xR = Y(
8930
+ ), CR = Y(
8931
8931
  zi,
8932
8932
  (e) => (e == null ? void 0 : e.components) || []
8933
8933
  ), qc = Y(
8934
8934
  zi,
8935
8935
  (e) => e.inspector
8936
- ), HI = Y(
8936
+ ), GI = Y(
8937
8937
  qc,
8938
8938
  (e) => e.css
8939
- ), GI = Y(
8939
+ ), qI = Y(
8940
8940
  qc,
8941
8941
  (e) => e.datasource
8942
- ), CR = Y(
8942
+ ), OR = Y(
8943
8943
  zi,
8944
8944
  (e) => e.templates || {
8945
8945
  data: []
8946
8946
  }
8947
- ), qI = Y(
8948
- CR,
8947
+ ), YI = Y(
8948
+ OR,
8949
8949
  (e) => e.data || []
8950
- ), YI = (e) => Y(
8951
- xR,
8950
+ ), zI = (e) => Y(
8951
+ CR,
8952
8952
  (n) => n.find((t) => t.id === e)
8953
- ), zI = (e) => Y(qc, (n) => n[e]), VI = Y(
8953
+ ), VI = (e) => Y(qc, (n) => n[e]), KI = Y(
8954
8954
  zi,
8955
8955
  (e) => e.datasources.theme
8956
- ), KI = Y(
8956
+ ), JI = Y(
8957
8957
  (e) => e.catalog,
8958
8958
  (e) => e.sharedDatasources,
8959
8959
  (e) => e.sharedCSS,
@@ -8961,15 +8961,15 @@ const NP = () => fR(), wn = hR, dg = Y(
8961
8961
  (a) => ["loaded", "error"].includes(a)
8962
8962
  )
8963
8963
  );
8964
- var bg = /* @__PURE__ */ ((e) => (e.SHOW_AFTER_TIMEOUT = "show_after_timeout", e.HIDE_AFTER_TIMEOUT = "hide_after_timeout", e))(bg || {}), _g = /* @__PURE__ */ ((e) => (e.AIRY = "airy", e.COMPACT = "neutral", e))(_g || {}), si, OR = new Uint8Array(16);
8964
+ var bg = /* @__PURE__ */ ((e) => (e.SHOW_AFTER_TIMEOUT = "show_after_timeout", e.HIDE_AFTER_TIMEOUT = "hide_after_timeout", e))(bg || {}), _g = /* @__PURE__ */ ((e) => (e.AIRY = "airy", e.COMPACT = "neutral", e))(_g || {}), si, RR = new Uint8Array(16);
8965
8965
  function wg() {
8966
8966
  if (!si && (si = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !si))
8967
8967
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
8968
- return si(OR);
8968
+ return si(RR);
8969
8969
  }
8970
- const RR = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
8970
+ const AR = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
8971
8971
  function Vi(e) {
8972
- return typeof e == "string" && RR.test(e);
8972
+ return typeof e == "string" && AR.test(e);
8973
8973
  }
8974
8974
  var Tt = [];
8975
8975
  for (var Pu = 0; Pu < 256; ++Pu)
@@ -8981,7 +8981,7 @@ function Ki(e) {
8981
8981
  return t;
8982
8982
  }
8983
8983
  var Dp, Iu, Du = 0, $u = 0;
8984
- function AR(e, n, t) {
8984
+ function PR(e, n, t) {
8985
8985
  var a = n && t || 0, i = n || new Array(16);
8986
8986
  e = e || {};
8987
8987
  var s = e.node || Dp, c = e.clockseq !== void 0 ? e.clockseq : Iu;
@@ -9007,16 +9007,16 @@ function Eg(e) {
9007
9007
  var n, t = new Uint8Array(16);
9008
9008
  return t[0] = (n = parseInt(e.slice(0, 8), 16)) >>> 24, t[1] = n >>> 16 & 255, t[2] = n >>> 8 & 255, t[3] = n & 255, t[4] = (n = parseInt(e.slice(9, 13), 16)) >>> 8, t[5] = n & 255, t[6] = (n = parseInt(e.slice(14, 18), 16)) >>> 8, t[7] = n & 255, t[8] = (n = parseInt(e.slice(19, 23), 16)) >>> 8, t[9] = n & 255, t[10] = (n = parseInt(e.slice(24, 36), 16)) / 1099511627776 & 255, t[11] = n / 4294967296 & 255, t[12] = n >>> 24 & 255, t[13] = n >>> 16 & 255, t[14] = n >>> 8 & 255, t[15] = n & 255, t;
9009
9009
  }
9010
- function PR(e) {
9010
+ function IR(e) {
9011
9011
  e = unescape(encodeURIComponent(e));
9012
9012
  for (var n = [], t = 0; t < e.length; ++t)
9013
9013
  n.push(e.charCodeAt(t));
9014
9014
  return n;
9015
9015
  }
9016
- var IR = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", DR = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
9016
+ var DR = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", $R = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
9017
9017
  function Sg(e, n, t) {
9018
9018
  function a(i, s, c, f) {
9019
- if (typeof i == "string" && (i = PR(i)), typeof s == "string" && (s = Eg(s)), s.length !== 16)
9019
+ if (typeof i == "string" && (i = IR(i)), typeof s == "string" && (s = Eg(s)), s.length !== 16)
9020
9020
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
9021
9021
  var d = new Uint8Array(16 + i.length);
9022
9022
  if (d.set(s), d.set(i, s.length), d = t(d), d[6] = d[6] & 15 | n, d[8] = d[8] & 63 | 128, c) {
@@ -9031,18 +9031,18 @@ function Sg(e, n, t) {
9031
9031
  a.name = e;
9032
9032
  } catch {
9033
9033
  }
9034
- return a.DNS = IR, a.URL = DR, a;
9034
+ return a.DNS = DR, a.URL = $R, a;
9035
9035
  }
9036
- function $R(e) {
9036
+ function MR(e) {
9037
9037
  if (typeof e == "string") {
9038
9038
  var n = unescape(encodeURIComponent(e));
9039
9039
  e = new Uint8Array(n.length);
9040
9040
  for (var t = 0; t < n.length; ++t)
9041
9041
  e[t] = n.charCodeAt(t);
9042
9042
  }
9043
- return MR(NR(LR(e), e.length * 8));
9043
+ return NR(LR(FR(e), e.length * 8));
9044
9044
  }
9045
- function MR(e) {
9045
+ function NR(e) {
9046
9046
  for (var n = [], t = e.length * 32, a = "0123456789abcdef", i = 0; i < t; i += 8) {
9047
9047
  var s = e[i >> 5] >>> i % 32 & 255, c = parseInt(a.charAt(s >>> 4 & 15) + a.charAt(s & 15), 16);
9048
9048
  n.push(c);
@@ -9052,7 +9052,7 @@ function MR(e) {
9052
9052
  function Tg(e) {
9053
9053
  return (e + 64 >>> 9 << 4) + 14 + 1;
9054
9054
  }
9055
- function NR(e, n) {
9055
+ function LR(e, n) {
9056
9056
  e[n >> 5] |= 128 << n % 32, e[Tg(n) - 1] = n;
9057
9057
  for (var t = 1732584193, a = -271733879, i = -1732584194, s = 271733878, c = 0; c < e.length; c += 16) {
9058
9058
  var f = t, d = a, p = i, h = s;
@@ -9060,7 +9060,7 @@ function NR(e, n) {
9060
9060
  }
9061
9061
  return [t, a, i, s];
9062
9062
  }
9063
- function LR(e) {
9063
+ function FR(e) {
9064
9064
  if (e.length === 0)
9065
9065
  return [];
9066
9066
  for (var n = e.length * 8, t = new Uint32Array(Tg(n)), a = 0; a < n; a += 8)
@@ -9071,11 +9071,11 @@ function vn(e, n) {
9071
9071
  var t = (e & 65535) + (n & 65535), a = (e >> 16) + (n >> 16) + (t >> 16);
9072
9072
  return a << 16 | t & 65535;
9073
9073
  }
9074
- function FR(e, n) {
9074
+ function kR(e, n) {
9075
9075
  return e << n | e >>> 32 - n;
9076
9076
  }
9077
9077
  function Ji(e, n, t, a, i, s) {
9078
- return vn(FR(vn(vn(n, e), vn(a, s)), i), t);
9078
+ return vn(kR(vn(vn(n, e), vn(a, s)), i), t);
9079
9079
  }
9080
9080
  function Ot(e, n, t, a, i, s, c) {
9081
9081
  return Ji(n & t | ~n & a, e, n, i, s, c);
@@ -9089,9 +9089,9 @@ function At(e, n, t, a, i, s, c) {
9089
9089
  function Pt(e, n, t, a, i, s, c) {
9090
9090
  return Ji(t ^ (n | ~a), e, n, i, s, c);
9091
9091
  }
9092
- var kR = Sg("v3", 48, $R);
9093
- const jR = kR;
9094
- function WR(e, n, t) {
9092
+ var jR = Sg("v3", 48, MR);
9093
+ const WR = jR;
9094
+ function BR(e, n, t) {
9095
9095
  e = e || {};
9096
9096
  var a = e.random || (e.rng || wg)();
9097
9097
  if (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, n) {
@@ -9102,7 +9102,7 @@ function WR(e, n, t) {
9102
9102
  }
9103
9103
  return Ki(a);
9104
9104
  }
9105
- function BR(e, n, t, a) {
9105
+ function UR(e, n, t, a) {
9106
9106
  switch (e) {
9107
9107
  case 0:
9108
9108
  return n & t ^ ~n & a;
@@ -9117,7 +9117,7 @@ function BR(e, n, t, a) {
9117
9117
  function Mu(e, n) {
9118
9118
  return e << n | e >>> 32 - n;
9119
9119
  }
9120
- function UR(e) {
9120
+ function HR(e) {
9121
9121
  var n = [1518500249, 1859775393, 2400959708, 3395469782], t = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
9122
9122
  if (typeof e == "string") {
9123
9123
  var a = unescape(encodeURIComponent(e));
@@ -9139,32 +9139,32 @@ function UR(e) {
9139
9139
  for (var S = 16; S < 80; ++S)
9140
9140
  _[S] = Mu(_[S - 3] ^ _[S - 8] ^ _[S - 14] ^ _[S - 16], 1);
9141
9141
  for (var x = t[0], D = t[1], P = t[2], W = t[3], $ = t[4], F = 0; F < 80; ++F) {
9142
- var R = Math.floor(F / 20), K = Mu(x, 5) + BR(R, D, P, W) + $ + n[R] + _[F] >>> 0;
9142
+ var R = Math.floor(F / 20), K = Mu(x, 5) + UR(R, D, P, W) + $ + n[R] + _[F] >>> 0;
9143
9143
  $ = W, W = P, P = Mu(D, 30) >>> 0, D = x, x = K;
9144
9144
  }
9145
9145
  t[0] = t[0] + x >>> 0, t[1] = t[1] + D >>> 0, t[2] = t[2] + P >>> 0, t[3] = t[3] + W >>> 0, t[4] = t[4] + $ >>> 0;
9146
9146
  }
9147
9147
  return [t[0] >> 24 & 255, t[0] >> 16 & 255, t[0] >> 8 & 255, t[0] & 255, t[1] >> 24 & 255, t[1] >> 16 & 255, t[1] >> 8 & 255, t[1] & 255, t[2] >> 24 & 255, t[2] >> 16 & 255, t[2] >> 8 & 255, t[2] & 255, t[3] >> 24 & 255, t[3] >> 16 & 255, t[3] >> 8 & 255, t[3] & 255, t[4] >> 24 & 255, t[4] >> 16 & 255, t[4] >> 8 & 255, t[4] & 255];
9148
9148
  }
9149
- var HR = Sg("v5", 80, UR);
9150
- const GR = HR, qR = "00000000-0000-0000-0000-000000000000";
9151
- function YR(e) {
9149
+ var GR = Sg("v5", 80, HR);
9150
+ const qR = GR, YR = "00000000-0000-0000-0000-000000000000";
9151
+ function zR(e) {
9152
9152
  if (!Vi(e))
9153
9153
  throw TypeError("Invalid UUID");
9154
9154
  return parseInt(e.substr(14, 1), 16);
9155
9155
  }
9156
- const zR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9156
+ const VR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9157
9157
  __proto__: null,
9158
- NIL: qR,
9158
+ NIL: YR,
9159
9159
  parse: Eg,
9160
9160
  stringify: Ki,
9161
- v1: AR,
9162
- v3: jR,
9163
- v4: WR,
9164
- v5: GR,
9161
+ v1: PR,
9162
+ v3: WR,
9163
+ v4: BR,
9164
+ v5: qR,
9165
9165
  validate: Vi,
9166
- version: YR
9167
- }, Symbol.toStringTag, { value: "Module" })), VR = /* @__PURE__ */ ME(zR);
9166
+ version: zR
9167
+ }, Symbol.toStringTag, { value: "Module" })), KR = /* @__PURE__ */ ME(VR);
9168
9168
  function Yc(e, n) {
9169
9169
  if (!e || !n || !e.length || !n.length)
9170
9170
  throw new Error("Bad alphabet");
@@ -9191,9 +9191,9 @@ Yc.prototype.isValid = function(e) {
9191
9191
  return !1;
9192
9192
  return !0;
9193
9193
  };
9194
- var KR = Yc, JR = KR;
9194
+ var JR = Yc, XR = JR;
9195
9195
  function ho(e, n) {
9196
- var t = new JR(e, n);
9196
+ var t = new XR(e, n);
9197
9197
  return function(a) {
9198
9198
  return t.convert(a);
9199
9199
  };
@@ -9202,8 +9202,8 @@ ho.BIN = "01";
9202
9202
  ho.OCT = "01234567";
9203
9203
  ho.DEC = "0123456789";
9204
9204
  ho.HEX = "0123456789abcdef";
9205
- var XR = ho;
9206
- const { v4: Nu } = VR, ui = XR, Lu = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ", ZR = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~", QR = {
9205
+ var ZR = ho;
9206
+ const { v4: Nu } = KR, ui = ZR, Lu = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ", QR = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~", eA = {
9207
9207
  consistentLength: !0
9208
9208
  };
9209
9209
  let Fu;
@@ -9213,16 +9213,16 @@ const $p = (e, n, t) => {
9213
9213
  t.shortIdLength,
9214
9214
  t.paddingChar
9215
9215
  );
9216
- }, eA = (e, n) => {
9216
+ }, tA = (e, n) => {
9217
9217
  const a = n(e).padStart(32, "0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);
9218
9218
  return [a[1], a[2], a[3], a[4], a[5]].join("-");
9219
- }, tA = (e) => Math.ceil(Math.log(2 ** 128) / Math.log(e));
9219
+ }, rA = (e) => Math.ceil(Math.log(2 ** 128) / Math.log(e));
9220
9220
  var Ii = (() => {
9221
9221
  const e = (n, t) => {
9222
- const a = n || Lu, i = { ...QR, ...t };
9222
+ const a = n || Lu, i = { ...eA, ...t };
9223
9223
  if ([...new Set(Array.from(a))].length !== a.length)
9224
9224
  throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");
9225
- const s = tA(a.length), c = {
9225
+ const s = rA(a.length), c = {
9226
9226
  shortIdLength: s,
9227
9227
  consistentLength: i.consistentLength,
9228
9228
  paddingChar: a[0]
@@ -9231,7 +9231,7 @@ var Ii = (() => {
9231
9231
  generate: p,
9232
9232
  uuid: Nu,
9233
9233
  fromUUID: (b) => $p(b, f, c),
9234
- toUUID: (b) => eA(b, d),
9234
+ toUUID: (b) => tA(b, d),
9235
9235
  alphabet: a,
9236
9236
  maxLength: s
9237
9237
  };
@@ -9239,10 +9239,10 @@ var Ii = (() => {
9239
9239
  };
9240
9240
  return e.constants = {
9241
9241
  flickrBase58: Lu,
9242
- cookieBase90: ZR
9242
+ cookieBase90: QR
9243
9243
  }, e.uuid = Nu, e.generate = () => (Fu || (Fu = e(Lu).generate), Fu()), e;
9244
9244
  })(), We = /* @__PURE__ */ ((e) => (e.DATACLASS = "dataclass", e.METHOD = "method", e.ATTRIBUTE = "attribute", e.DATASTORE = "datastore", e))(We || {});
9245
- const rA = [
9245
+ const nA = [
9246
9246
  We.DATASTORE,
9247
9247
  We.DATACLASS,
9248
9248
  We.ATTRIBUTE,
@@ -9316,7 +9316,7 @@ const rA = [
9316
9316
  function Er(e, ...n) {
9317
9317
  return Array.from(/* @__PURE__ */ new Set([...e, ...n]));
9318
9318
  }
9319
- function nA(e) {
9319
+ function aA(e) {
9320
9320
  const n = {}, t = /* @__PURE__ */ new Map();
9321
9321
  e.forEach((d) => {
9322
9322
  const p = d.id || Ii.generate();
@@ -9337,7 +9337,7 @@ function nA(e) {
9337
9337
  includes: h
9338
9338
  };
9339
9339
  });
9340
- const a = aA(n), i = /* @__PURE__ */ new Set();
9340
+ const a = oA(n), i = /* @__PURE__ */ new Set();
9341
9341
  function s(d) {
9342
9342
  i.add(d.id), d.includes = d.includes.filter((p) => !i.has(p));
9343
9343
  }
@@ -9359,7 +9359,7 @@ function nA(e) {
9359
9359
  ...n
9360
9360
  };
9361
9361
  }
9362
- function aA(e) {
9362
+ function oA(e) {
9363
9363
  return Object.values(e).sort(
9364
9364
  (n, t) => n.parents.length - t.parents.length
9365
9365
  );
@@ -9378,14 +9378,14 @@ function hc(e, n) {
9378
9378
  a = Er(a, ...hc(i, n), i);
9379
9379
  }), a;
9380
9380
  }
9381
- function JI(e, n) {
9381
+ function XI(e, n) {
9382
9382
  const t = n[e];
9383
9383
  if (!t)
9384
9384
  return [];
9385
9385
  const a = [e, ...Vc(e, n), ...t.includes];
9386
9386
  return Object.keys(n).filter((i) => !a.includes(i));
9387
9387
  }
9388
- function XI(e, n) {
9388
+ function ZI(e, n) {
9389
9389
  return n[e] ? Object.keys(n).reduce((a, i) => i === e ? a : {
9390
9390
  ...a,
9391
9391
  [i]: {
@@ -9395,7 +9395,7 @@ function XI(e, n) {
9395
9395
  }
9396
9396
  }, {}) : n;
9397
9397
  }
9398
- function ZI(e, n, t) {
9398
+ function QI(e, n, t) {
9399
9399
  const a = t[e], i = t[n];
9400
9400
  return !a || !i ? t : {
9401
9401
  ...t,
@@ -9409,7 +9409,7 @@ function ZI(e, n, t) {
9409
9409
  }
9410
9410
  };
9411
9411
  }
9412
- function QI(e, n, t) {
9412
+ function eD(e, n, t) {
9413
9413
  const a = t[e], i = t[n];
9414
9414
  return !a || !i ? t : {
9415
9415
  ...t,
@@ -9423,7 +9423,7 @@ function QI(e, n, t) {
9423
9423
  }
9424
9424
  };
9425
9425
  }
9426
- function oA(e, n) {
9426
+ function iA(e, n) {
9427
9427
  Qp(e), Object.entries(n).forEach(([, { privilege: a }]) => {
9428
9428
  if (e.toLowerCase() === a.toLowerCase())
9429
9429
  throw new Error(`There's already a Privilege with the name ${e}`);
@@ -9440,12 +9440,12 @@ function oA(e, n) {
9440
9440
  ...n
9441
9441
  };
9442
9442
  }
9443
- function eD(e, n, t, a, i) {
9444
- let s = oA(e, i);
9443
+ function tD(e, n, t, a, i) {
9444
+ let s = iA(e, i);
9445
9445
  const c = Object.entries(s).find(
9446
9446
  ([, f]) => f.privilege === e
9447
9447
  );
9448
- return c ? (s = cA(
9448
+ return c ? (s = fA(
9449
9449
  c[1].id,
9450
9450
  n,
9451
9451
  t,
@@ -9453,7 +9453,7 @@ function eD(e, n, t, a, i) {
9453
9453
  s
9454
9454
  ), s) : i;
9455
9455
  }
9456
- function tD(e, n, t) {
9456
+ function rD(e, n, t) {
9457
9457
  if (!e)
9458
9458
  throw new Error("Please enter a name");
9459
9459
  if (!t[n])
@@ -9469,13 +9469,13 @@ function tD(e, n, t) {
9469
9469
  }
9470
9470
  };
9471
9471
  }
9472
- function rD(e, n) {
9472
+ function nD(e, n) {
9473
9473
  return e.map((t) => Sn(t, n));
9474
9474
  }
9475
9475
  function Sn(e, n) {
9476
9476
  return n[e] ? n[e] : null;
9477
9477
  }
9478
- function iA({ applyTo: e, type: n, ...t }) {
9478
+ function sA({ applyTo: e, type: n, ...t }) {
9479
9479
  return Object.entries(t).reduce((a, [i, s]) => {
9480
9480
  const c = Ke.find(zc, ["key", i]);
9481
9481
  return !c || !c.canApplyTo.includes(n) || (typeof s == "string" ? s.split(",") : s).forEach((d) => {
@@ -9509,10 +9509,10 @@ function xg(e) {
9509
9509
  type: e.type
9510
9510
  };
9511
9511
  }
9512
- function sA(e, n) {
9513
- const t = uA(n), a = {};
9514
- return e.filter(({ type: i }) => rA.includes(i)).forEach((i) => {
9515
- const s = iA(i);
9512
+ function uA(e, n) {
9513
+ const t = cA(n), a = {};
9514
+ return e.filter(({ type: i }) => nA.includes(i)).forEach((i) => {
9515
+ const s = sA(i);
9516
9516
  Object.entries(s).forEach(([c, f]) => {
9517
9517
  var h;
9518
9518
  const d = (h = t[c]) == null ? void 0 : h.id;
@@ -9533,7 +9533,7 @@ function sA(e, n) {
9533
9533
  ...a
9534
9534
  };
9535
9535
  }
9536
- function uA(e) {
9536
+ function cA(e) {
9537
9537
  return Object.values(e).reduce(
9538
9538
  (n, t) => ({
9539
9539
  ...n,
@@ -9544,10 +9544,10 @@ function uA(e) {
9544
9544
  }
9545
9545
  function Kc(e) {
9546
9546
  var t;
9547
- const n = nA(e.privileges || []);
9547
+ const n = aA(e.privileges || []);
9548
9548
  return {
9549
9549
  forceLogin: e == null ? void 0 : e.forceLogin,
9550
- privileges: sA(((t = e.permissions) == null ? void 0 : t.allowed) || [], n),
9550
+ privileges: uA(((t = e.permissions) == null ? void 0 : t.allowed) || [], n),
9551
9551
  roles: (e.roles || []).map(({ id: a = Ii.generate(), role: i, privileges: s = [] }) => ({
9552
9552
  id: a,
9553
9553
  role: i,
@@ -9605,7 +9605,7 @@ function Jc(e) {
9605
9605
  }))
9606
9606
  };
9607
9607
  }
9608
- function nD(e, n) {
9608
+ function aD(e, n) {
9609
9609
  const t = n[e], a = {
9610
9610
  children: [],
9611
9611
  links: [],
@@ -9650,7 +9650,7 @@ function nD(e, n) {
9650
9650
  ...c([[e], ...a.children], "includes")
9651
9651
  ], a;
9652
9652
  }
9653
- function aD(e, n, t) {
9653
+ function oD(e, n, t) {
9654
9654
  const a = Sn(e, t);
9655
9655
  if (!a || Ke.find(a.resources, {
9656
9656
  resource: n.applyTo,
@@ -9666,7 +9666,7 @@ function aD(e, n, t) {
9666
9666
  [e]: i
9667
9667
  };
9668
9668
  }
9669
- function oD(e, n, t) {
9669
+ function iD(e, n, t) {
9670
9670
  const a = Sn(e, t);
9671
9671
  if (!a)
9672
9672
  return t;
@@ -9681,7 +9681,7 @@ function oD(e, n, t) {
9681
9681
  [e]: i
9682
9682
  };
9683
9683
  }
9684
- function iD(e, n) {
9684
+ function sD(e, n) {
9685
9685
  const t = Sn(e, n);
9686
9686
  if (!t)
9687
9687
  return n;
@@ -9697,7 +9697,7 @@ function iD(e, n) {
9697
9697
  [e]: a
9698
9698
  };
9699
9699
  }
9700
- function cA(e, n, t, a, i) {
9700
+ function fA(e, n, t, a, i) {
9701
9701
  const s = Sn(e, i);
9702
9702
  if (!s)
9703
9703
  return i;
@@ -9740,7 +9740,7 @@ function cA(e, n, t, a, i) {
9740
9740
  [e]: f
9741
9741
  };
9742
9742
  }
9743
- function sD(e, n, t, a) {
9743
+ function uD(e, n, t, a) {
9744
9744
  const i = Sn(e, a);
9745
9745
  if (!i)
9746
9746
  return a;
@@ -9776,9 +9776,9 @@ function sD(e, n, t, a) {
9776
9776
  [e]: c
9777
9777
  };
9778
9778
  }
9779
- function uD(e, n) {
9779
+ function cD(e, n) {
9780
9780
  var d;
9781
- const t = fA(e, n) || [], a = ((d = Sn(e, n)) == null ? void 0 : d.resources) || [], c = ([...t, ...a].filter(({ type: p }) => p === We.METHOD) || []).map(({ resource: p }) => p);
9781
+ const t = lA(e, n) || [], a = ((d = Sn(e, n)) == null ? void 0 : d.resources) || [], c = ([...t, ...a].filter(({ type: p }) => p === We.METHOD) || []).map(({ resource: p }) => p);
9782
9782
  return Object.entries(n).reduce(
9783
9783
  (p, [h, { resources: b }]) => (b.filter(
9784
9784
  ({ resource: _, type: w }) => w === We.METHOD && c.includes(_)
@@ -9791,7 +9791,7 @@ function uD(e, n) {
9791
9791
  {}
9792
9792
  );
9793
9793
  }
9794
- function fA(e, n) {
9794
+ function lA(e, n) {
9795
9795
  var c;
9796
9796
  const t = Sn(e, n);
9797
9797
  if (!t)
@@ -9838,15 +9838,15 @@ function fA(e, n) {
9838
9838
  )
9839
9839
  );
9840
9840
  }
9841
- const cD = (e) => e.reduce((n, t) => ({
9841
+ const fD = (e) => e.reduce((n, t) => ({
9842
9842
  ...n,
9843
9843
  [t.id]: {
9844
9844
  ...t
9845
9845
  }
9846
- }), {}), fD = (e, n) => n[e] ? Object.values(n).reduce((t, a) => e === a.id || a.role === "" ? t : {
9846
+ }), {}), lD = (e, n) => n[e] ? Object.values(n).reduce((t, a) => e === a.id || a.role === "" ? t : {
9847
9847
  ...t,
9848
9848
  [a.id]: a
9849
- }, {}) : n, lD = (e, n, t) => t[e] ? Object.values(t).reduce((a, i) => e === i.id ? {
9849
+ }, {}) : n, dD = (e, n, t) => t[e] ? Object.values(t).reduce((a, i) => e === i.id ? {
9850
9850
  ...a,
9851
9851
  [i.id]: {
9852
9852
  ...i,
@@ -9855,7 +9855,7 @@ const cD = (e) => e.reduce((n, t) => ({
9855
9855
  } : {
9856
9856
  ...a,
9857
9857
  [i.id]: i
9858
- }, {}) : t, dD = (e, n) => {
9858
+ }, {}) : t, pD = (e, n) => {
9859
9859
  const t = {
9860
9860
  id: e,
9861
9861
  role: "",
@@ -9865,7 +9865,7 @@ const cD = (e) => e.reduce((n, t) => ({
9865
9865
  ...n,
9866
9866
  [t.id]: t
9867
9867
  };
9868
- }, pD = (e, n) => {
9868
+ }, hD = (e, n) => {
9869
9869
  if (Qp(e.role), Object.values(n).find((a) => a.role === e.role))
9870
9870
  throw new Error(`a role with the name ${e.role} already exists`);
9871
9871
  return Object.values(n).reduce((a, i) => e.id === i.id ? {
@@ -9875,11 +9875,11 @@ const cD = (e) => e.reduce((n, t) => ({
9875
9875
  ...a,
9876
9876
  [i.id]: i
9877
9877
  }, {});
9878
- }, lA = {
9878
+ }, dA = {
9879
9879
  list: []
9880
9880
  }, Mp = (e, n) => e.list.filter((t) => t.id !== n), Cg = lr({
9881
9881
  name: "modals",
9882
- initialState: lA,
9882
+ initialState: dA,
9883
9883
  reducers: {
9884
9884
  createModal: (e, n) => {
9885
9885
  e.list.push(n.payload);
@@ -9903,7 +9903,7 @@ const cD = (e) => e.reduce((n, t) => ({
9903
9903
  e.list = Mp(e, t);
9904
9904
  }
9905
9905
  }
9906
- }), { createModal: dA, removeModal: pA, closeModal: hD, editModal: gD } = Cg.actions;
9906
+ }), { createModal: pA, removeModal: hA, closeModal: gD, editModal: vD } = Cg.actions;
9907
9907
  var vc = { exports: {} }, la = {};
9908
9908
  /*
9909
9909
  object-assign
@@ -9966,7 +9966,7 @@ function Og() {
9966
9966
  * LICENSE file in the root directory of this source tree.
9967
9967
  */
9968
9968
  var Lp;
9969
- function hA() {
9969
+ function gA() {
9970
9970
  if (Lp)
9971
9971
  return la;
9972
9972
  Lp = 1, Og();
@@ -9998,7 +9998,7 @@ var Fp = {};
9998
9998
  * LICENSE file in the root directory of this source tree.
9999
9999
  */
10000
10000
  var kp;
10001
- function gA() {
10001
+ function vA() {
10002
10002
  return kp || (kp = 1, function(e) {
10003
10003
  process.env.NODE_ENV !== "production" && function() {
10004
10004
  var n = ba, t = Og(), a = 60103, i = 60106;
@@ -10564,9 +10564,9 @@ Check the top-level render call using <` + I + ">.");
10564
10564
  }();
10565
10565
  }(Fp)), Fp;
10566
10566
  }
10567
- process.env.NODE_ENV === "production" ? vc.exports = hA() : vc.exports = gA();
10567
+ process.env.NODE_ENV === "production" ? vc.exports = gA() : vc.exports = vA();
10568
10568
  var Vr = vc.exports;
10569
- const vA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10569
+ const yA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10570
10570
  "path",
10571
10571
  {
10572
10572
  fillRule: "evenodd",
@@ -10574,7 +10574,7 @@ const vA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", v
10574
10574
  d: "M11 21c5.523 0 10-4.477 10-10S16.523 1 11 1 1 5.477 1 11s4.477 10 10 10Zm0-14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 1.5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h.5v4h-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H12V8.5Z",
10575
10575
  fill: "currentColor"
10576
10576
  }
10577
- ) }), yA = (e) => /* @__PURE__ */ Vr.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: [
10577
+ ) }), mA = (e) => /* @__PURE__ */ Vr.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: [
10578
10578
  /* @__PURE__ */ Vr.jsx(
10579
10579
  "path",
10580
10580
  {
@@ -10591,7 +10591,7 @@ const vA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", v
10591
10591
  fill: "currentColor"
10592
10592
  }
10593
10593
  )
10594
- ] }), mA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10594
+ ] }), bA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10595
10595
  "path",
10596
10596
  {
10597
10597
  fillRule: "evenodd",
@@ -10599,7 +10599,7 @@ const vA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", v
10599
10599
  d: "M16.076 2.203a.5.5 0 0 0-.354-.146H3.001a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8.335a.5.5 0 0 0-.147-.354l-5.778-5.778ZM12 19.057a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-8-14.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-4Z",
10600
10600
  fill: "currentColor"
10601
10601
  }
10602
- ) }), bA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10602
+ ) }), _A = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ Vr.jsx(
10603
10603
  "path",
10604
10604
  {
10605
10605
  fillRule: "evenodd",
@@ -10607,17 +10607,17 @@ const vA = (e) => /* @__PURE__ */ Vr.jsx("svg", { width: "1em", height: "1em", v
10607
10607
  d: "M12.953 3.53c-.393-.707-1.513-.707-1.906 0L2.114 19.612c-.354.638.16 1.388.953 1.388h17.866c.792 0 1.307-.75.953-1.388L12.953 3.53ZM11.508 8a.504.504 0 0 0-.507.531l.491 8A.505.505 0 0 0 12 17c.269 0 .49-.205.508-.469l.492-8A.504.504 0 0 0 12.492 8h-.984ZM12 20c.561 0 1.016-.448 1.016-1s-.455-1-1.016-1c-.561 0-1.016.448-1.016 1s.455 1 1.016 1Z",
10608
10608
  fill: "currentColor"
10609
10609
  }
10610
- ) }), vD = {
10611
- FdSave: mA,
10612
- FdWarningDanger: bA,
10613
- FdInfoCircle: yA,
10614
- FdInfoBold: vA
10610
+ ) }), yD = {
10611
+ FdSave: bA,
10612
+ FdWarningDanger: _A,
10613
+ FdInfoCircle: mA,
10614
+ FdInfoBold: yA
10615
10615
  };
10616
10616
  var tr = /* @__PURE__ */ ((e) => (e.ALERT = "alert", e.CONFIRM = "confirm", e))(tr || {}), en = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.WARNING = "warning", e.DANGER = "danger", e))(en || {}), Rg = /* @__PURE__ */ ((e) => (e.CONFIRMED = "confirmed", e.CANCELED = "canceled", e))(Rg || {});
10617
10617
  const Sr = re("modals/open", async (e, { dispatch: n }) => {
10618
- const { type: t = tr.ALERT, store: a = OP() } = e, i = Mc();
10618
+ const { type: t = tr.ALERT, store: a = RP() } = e, i = Mc();
10619
10619
  switch (n(
10620
- dA({
10620
+ pA({
10621
10621
  id: i,
10622
10622
  type: t,
10623
10623
  isOpen: !0,
@@ -10637,7 +10637,7 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10637
10637
  }),
10638
10638
  {}
10639
10639
  );
10640
- n(pA(i)), c(), s({ confirmed: h, options: b });
10640
+ n(hA(i)), c(), s({ confirmed: h, options: b });
10641
10641
  }
10642
10642
  });
10643
10643
  });
@@ -10690,7 +10690,7 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10690
10690
  ...a,
10691
10691
  content: Kc(a.content)
10692
10692
  };
10693
- }), _A = re("roles/fetchRolesChanges", async (e, { getState: n }) => {
10693
+ }), wA = re("roles/fetchRolesChanges", async (e, { getState: n }) => {
10694
10694
  const { tabs: t } = n().root;
10695
10695
  if (t.find((i) => i.path === Dt)) {
10696
10696
  const { date: i } = n().roles;
@@ -10816,7 +10816,7 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10816
10816
  ...n.flags,
10817
10817
  ...t.payload
10818
10818
  }
10819
- }).addCase(_A.fulfilled, (n, t) => ({
10819
+ }).addCase(wA.fulfilled, (n, t) => ({
10820
10820
  ...n,
10821
10821
  flags: {
10822
10822
  ...n.flags,
@@ -10829,21 +10829,21 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10829
10829
  });
10830
10830
  }
10831
10831
  }), {
10832
- updatePrivileges: wA,
10833
- updateRoles: EA,
10832
+ updatePrivileges: EA,
10833
+ updateRoles: SA,
10834
10834
  setRolesContent: $g,
10835
- toggleTab: yD,
10836
- toggleForceLogin: mD,
10835
+ toggleTab: mD,
10836
+ toggleForceLogin: bD,
10837
10837
  updateRolesAndPrivileges: Mg
10838
- } = Dg.actions, SA = Dg.reducer, Ng = re("settings/fetch", async () => await Qr({
10838
+ } = Dg.actions, TA = Dg.reducer, Ng = re("settings/fetch", async () => await Qr({
10839
10839
  verb: dt.GET_INFO,
10840
10840
  path: Yn,
10841
10841
  content: !0,
10842
10842
  as: "json"
10843
- })), TA = re(
10843
+ })), xA = re(
10844
10844
  "settings/app",
10845
10845
  lw
10846
- ), xA = BS(), Wp = {
10846
+ ), CA = BS(), Wp = {
10847
10847
  session: {
10848
10848
  "studio.tips": !0,
10849
10849
  "studio.notifications": !0,
@@ -10873,16 +10873,16 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10873
10873
  },
10874
10874
  isRestActive: !0
10875
10875
  }
10876
- }, CA = {
10876
+ }, OA = {
10877
10877
  ...Wp,
10878
10878
  session: {
10879
10879
  ...Wp.session,
10880
- ...xA
10880
+ ...CA
10881
10881
  },
10882
10882
  welcometour: {}
10883
10883
  }, Lg = lr({
10884
10884
  name: "settings",
10885
- initialState: CA,
10885
+ initialState: OA,
10886
10886
  reducers: {
10887
10887
  setSetting(e, n) {
10888
10888
  const { path: t, settingsKey: a, value: i } = n.payload;
@@ -10906,11 +10906,11 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10906
10906
  ...n.project,
10907
10907
  ...t.payload.content
10908
10908
  };
10909
- }), e.addCase(TA.fulfilled, (n, t) => {
10909
+ }), e.addCase(xA.fulfilled, (n, t) => {
10910
10910
  n.server = t.payload, n.server.qodly && (n.project["webforms.display-mode"] = "airy");
10911
10911
  });
10912
10912
  }
10913
- }), { setSetting: Bp, setSettings: Xc, setSettingsAsText: bD } = Lg.actions, OA = Lg.reducer, mc = (e) => {
10913
+ }), { setSetting: Bp, setSettings: Xc, setSettingsAsText: _D } = Lg.actions, RA = Lg.reducer, mc = (e) => {
10914
10914
  const n = ["folder", "file"];
10915
10915
  return e.sort((t, a) => t.type === a.type ? t.name.localeCompare(a.name) : n.indexOf(t.type) - n.indexOf(a.type));
10916
10916
  }, $e = (e, n) => e.reduce((t, a) => a.path === n.path && a.type === n.type ? [...t, n] : a.children ? [
@@ -10922,7 +10922,7 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
10922
10922
  ] : [...t, a], []), bt = (e, n) => e.reduce(
10923
10923
  (t, a) => t || (a.path === n ? a : a.children ? bt(a.children, n) : null),
10924
10924
  null
10925
- ), RA = [
10925
+ ), AA = [
10926
10926
  {
10927
10927
  name: lt.WEBFORMS,
10928
10928
  type: V.FOLDER,
@@ -11054,7 +11054,7 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
11054
11054
  }
11055
11055
  ], Fg = lr({
11056
11056
  name: "explorer",
11057
- initialState: RA,
11057
+ initialState: AA,
11058
11058
  reducers: {
11059
11059
  toggleExpandFolder: (e, n) => (e = $e(e, {
11060
11060
  ...n.payload,
@@ -11476,15 +11476,15 @@ const Sr = re("modals/open", async (e, { dispatch: n }) => {
11476
11476
  });
11477
11477
  }
11478
11478
  }), {
11479
- toggleExpandFolder: _D,
11480
- expandFolder: wD,
11481
- openAddFileInput: ED,
11482
- addNewFile: AA,
11483
- refreshFile: SD,
11479
+ toggleExpandFolder: wD,
11480
+ expandFolder: ED,
11481
+ openAddFileInput: SD,
11482
+ addNewFile: PA,
11483
+ refreshFile: TD,
11484
11484
  removeFile: Up,
11485
- setFolderChildren: TD
11485
+ setFolderChildren: xD
11486
11486
  } = Fg.actions;
11487
- function PA(e, n) {
11487
+ function IA(e, n) {
11488
11488
  switch (e) {
11489
11489
  case V.WEBFORMS:
11490
11490
  const t = {
@@ -11522,7 +11522,7 @@ function PA(e, n) {
11522
11522
  return "";
11523
11523
  }
11524
11524
  }
11525
- function IA(e, n, t) {
11525
+ function DA(e, n, t) {
11526
11526
  switch (n) {
11527
11527
  case V.MOBILEFORM:
11528
11528
  return `${e}.MForm`;
@@ -11535,7 +11535,7 @@ function IA(e, n, t) {
11535
11535
  return e;
11536
11536
  }
11537
11537
  }
11538
- function xD(e) {
11538
+ function CD(e) {
11539
11539
  switch (e) {
11540
11540
  case lt.WEBFORMS:
11541
11541
  return V.WEBFORMS;
@@ -11549,7 +11549,7 @@ function xD(e) {
11549
11549
  return e;
11550
11550
  }
11551
11551
  }
11552
- function DA(e) {
11552
+ function $A(e) {
11553
11553
  switch (e) {
11554
11554
  case V.WEBFORMS:
11555
11555
  return V.WEBFORM;
@@ -11565,7 +11565,7 @@ function DA(e) {
11565
11565
  return e;
11566
11566
  }
11567
11567
  }
11568
- const CD = re("files/tryEditMethod", async ({ method: e }, { dispatch: n }) => {
11568
+ const OD = re("files/tryEditMethod", async ({ method: e }, { dispatch: n }) => {
11569
11569
  const t = e.filePath.split("/"), [a] = t[1].split("."), { editor: i } = Ar(e.filePath);
11570
11570
  return await n(
11571
11571
  kg({
@@ -11718,14 +11718,14 @@ const CD = re("files/tryEditMethod", async ({ method: e }, { dispatch: n }) => {
11718
11718
  }
11719
11719
  }
11720
11720
  );
11721
- function $A(e) {
11721
+ function MA(e) {
11722
11722
  const n = e.split(".");
11723
11723
  return n.pop(), {
11724
11724
  name: n.join("."),
11725
11725
  ext: e.split(".")[e.split(".").length - 1]
11726
11726
  };
11727
11727
  }
11728
- const OD = re("explorer/uploadFile", async (e) => {
11728
+ const RD = re("explorer/uploadFile", async (e) => {
11729
11729
  const n = e.type.includes("image/") ? "$rawPict=true" : "$binary=true";
11730
11730
  try {
11731
11731
  const t = await fetch(`/rest/$upload?${n}`, {
@@ -11739,10 +11739,10 @@ const OD = re("explorer/uploadFile", async (e) => {
11739
11739
  } catch {
11740
11740
  return { status: 500, data: null };
11741
11741
  }
11742
- }), RD = re("explorer/uploadFile", async ({ file: e, path: n, parentNode: t }, { dispatch: a }) => {
11743
- const { editor: i, supportedEditors: s } = Ar(n), { name: c, ext: f } = $A(e.name);
11742
+ }), AD = re("explorer/uploadFile", async ({ file: e, path: n, parentNode: t }, { dispatch: a }) => {
11743
+ const { editor: i, supportedEditors: s } = Ar(n), { name: c, ext: f } = MA(e.name);
11744
11744
  a(
11745
- AA({
11745
+ PA({
11746
11746
  parent: t,
11747
11747
  child: {
11748
11748
  name: c,
@@ -11813,8 +11813,8 @@ const OD = re("explorer/uploadFile", async (e) => {
11813
11813
  } = f().settings;
11814
11814
  try {
11815
11815
  const h = await Ec({
11816
- name: IA(e, n, d),
11817
- content: i || PA(n, p),
11816
+ name: DA(e, n, d),
11817
+ content: i || IA(n, p),
11818
11818
  path: t,
11819
11819
  asText: [V.CLASS, V.METHOD].includes(n)
11820
11820
  });
@@ -11828,7 +11828,7 @@ const OD = re("explorer/uploadFile", async (e) => {
11828
11828
  }
11829
11829
  }
11830
11830
  );
11831
- function MA(e, n) {
11831
+ function NA(e, n) {
11832
11832
  const { qodly: t = !0, withExtension: a = !0 } = n || {}, i = pa(e.type, t);
11833
11833
  let s = "";
11834
11834
  switch (e.type) {
@@ -11846,12 +11846,12 @@ function MA(e, n) {
11846
11846
  }
11847
11847
  return `${s}${a ? `.${i}` : ""}`;
11848
11848
  }
11849
- const AD = re(
11849
+ const PD = re(
11850
11850
  "explorer/createNewFileAndOpen",
11851
11851
  async (e, { dispatch: n, getState: t }) => {
11852
11852
  const a = await n(to(e)).unwrap(), { qodly: i } = t().settings.server;
11853
11853
  if (a) {
11854
- const { file: s } = a, c = MA(s, { withExtension: !1, qodly: i }), { editor: f } = Ar(c);
11854
+ const { file: s } = a, c = NA(s, { withExtension: !1, qodly: i }), { editor: f } = Ar(c);
11855
11855
  await n(
11856
11856
  gi({
11857
11857
  file: {
@@ -12082,7 +12082,7 @@ const AD = re(
12082
12082
  value: h.content
12083
12083
  })
12084
12084
  ), s(
12085
- (n ? fP : Gt)({
12085
+ (n ? lP : Gt)({
12086
12086
  ...h,
12087
12087
  isNew: t
12088
12088
  })
@@ -12102,7 +12102,7 @@ const AD = re(
12102
12102
  }
12103
12103
  const s = await Xi(e);
12104
12104
  return t(Gt(s)), s;
12105
- }), NA = re(
12105
+ }), LA = re(
12106
12106
  "explorer/injectContentAtLine",
12107
12107
  async (e, { getState: n, dispatch: t, rejectWithValue: a }) => {
12108
12108
  const i = n();
@@ -12124,7 +12124,7 @@ const AD = re(
12124
12124
  path: `${c.path}.${c.ext}`
12125
12125
  };
12126
12126
  }
12127
- ), LA = re("explorer/openFileAtSelection", async ({ file: e }, { getState: n, dispatch: t }) => {
12127
+ ), FA = re("explorer/openFileAtSelection", async ({ file: e }, { getState: n, dispatch: t }) => {
12128
12128
  const { tabs: a } = n().root, i = a.find(({ path: c }) => e.path === c);
12129
12129
  if (i) {
12130
12130
  const c = {
@@ -12149,14 +12149,14 @@ const AD = re(
12149
12149
  return s.pop(), {
12150
12150
  deleted: await hw({
12151
12151
  root: fi.ROOT,
12152
- type: DA(t),
12152
+ type: $A(t),
12153
12153
  verb: dt.DROP,
12154
12154
  name: n,
12155
12155
  path: s.join("/")
12156
12156
  }),
12157
12157
  node: e
12158
12158
  };
12159
- }), PD = re("explorer/deleteFolder", async (e) => {
12159
+ }), ID = re("explorer/deleteFolder", async (e) => {
12160
12160
  const { path: n, flags: t } = e;
12161
12161
  if (t.error)
12162
12162
  return {
@@ -12172,7 +12172,7 @@ const AD = re(
12172
12172
  deleted: a,
12173
12173
  node: e
12174
12174
  };
12175
- }), ID = re("explorer/removeFileNode", async (e, { getState: n, dispatch: t }) => {
12175
+ }), DD = re("explorer/removeFileNode", async (e, { getState: n, dispatch: t }) => {
12176
12176
  const a = `${e.path}.${e.ext}`;
12177
12177
  if (await rh({
12178
12178
  verb: dt.REMOVE_ITEM,
@@ -12261,7 +12261,7 @@ const AD = re(
12261
12261
  return t("failed to duplicate file");
12262
12262
  }
12263
12263
  }
12264
- ), DD = re(
12264
+ ), $D = re(
12265
12265
  "explorer/executeMethod",
12266
12266
  async ({ methodName: e, params: n = [], resultingDataSource: t = {}, namespace: a = "" }, { rejectWithValue: i }) => {
12267
12267
  var s, c;
@@ -12294,7 +12294,7 @@ const AD = re(
12294
12294
  }), i("can't execute method");
12295
12295
  }
12296
12296
  }
12297
- ), $D = re("files/fetchFiles", async () => gw(
12297
+ ), MD = re("files/fetchFiles", async () => gw(
12298
12298
  fi.WEBFORMS,
12299
12299
  fi.METHODS,
12300
12300
  fi.CLASSES
@@ -12443,7 +12443,7 @@ const AD = re(
12443
12443
  [e.propertyKey]: e.value
12444
12444
  }) : f);
12445
12445
  }
12446
- ), FA = re("tabs/fetchChanges", async (e, { getState: n }) => {
12446
+ ), kA = re("tabs/fetchChanges", async (e, { getState: n }) => {
12447
12447
  const a = po(n()).filter(
12448
12448
  (i) => [V.METHOD, V.CLASS].includes(i.type)
12449
12449
  );
@@ -12458,7 +12458,7 @@ const AD = re(
12458
12458
  };
12459
12459
  })
12460
12460
  );
12461
- }), MD = re(
12461
+ }), ND = re(
12462
12462
  "files/saveAll",
12463
12463
  async (e, { getState: n, dispatch: t }) => {
12464
12464
  const a = hg(n());
@@ -12497,7 +12497,7 @@ const AD = re(
12497
12497
  })
12498
12498
  );
12499
12499
  })(), !0;
12500
- }), ND = re("files/tryCloseOtherTabs", async (e, { getState: n, dispatch: t }) => {
12500
+ }), LD = re("files/tryCloseOtherTabs", async (e, { getState: n, dispatch: t }) => {
12501
12501
  const { tabs: a } = n().root;
12502
12502
  if (a.some(
12503
12503
  (s) => s.path !== e && s.flags.touched === !0
@@ -12514,8 +12514,8 @@ const AD = re(
12514
12514
  if (!s)
12515
12515
  return;
12516
12516
  }
12517
- t(sP(e));
12518
- }), LD = re("files/tryCloseAllTabs", async (e, { getState: n, dispatch: t }) => {
12517
+ t(uP(e));
12518
+ }), FD = re("files/tryCloseAllTabs", async (e, { getState: n, dispatch: t }) => {
12519
12519
  const { tabs: a } = n().root;
12520
12520
  if (a.some((s) => s.flags.touched === !0)) {
12521
12521
  const { confirmed: s } = await t(
@@ -12530,8 +12530,8 @@ const AD = re(
12530
12530
  if (!s)
12531
12531
  return;
12532
12532
  }
12533
- t(oP());
12534
- }), FD = re("files/tryCloseRightTabs", async (e, { getState: n, dispatch: t }) => {
12533
+ t(iP());
12534
+ }), kD = re("files/tryCloseRightTabs", async (e, { getState: n, dispatch: t }) => {
12535
12535
  const { tabs: a } = n().root;
12536
12536
  let i = !1;
12537
12537
  for (let s = a.length - 1; s > e; s -= 1)
@@ -12552,8 +12552,8 @@ const AD = re(
12552
12552
  if (!s)
12553
12553
  return;
12554
12554
  }
12555
- t(iP(e));
12556
- }), kD = re("files/tryCloseLeftTabs", async (e, { getState: n, dispatch: t }) => {
12555
+ t(sP(e));
12556
+ }), jD = re("files/tryCloseLeftTabs", async (e, { getState: n, dispatch: t }) => {
12557
12557
  const { tabs: a } = n().root;
12558
12558
  let i = !1;
12559
12559
  for (let s = 0; s < e; s += 1)
@@ -12574,7 +12574,7 @@ const AD = re(
12574
12574
  if (!s)
12575
12575
  return;
12576
12576
  }
12577
- t(uP(e));
12577
+ t(cP(e));
12578
12578
  }), qp = re("files/reloadTab", async (e, { dispatch: n }) => {
12579
12579
  if (e.flags.touched) {
12580
12580
  const { confirmed: i } = await n(
@@ -12634,7 +12634,7 @@ const AD = re(
12634
12634
  ).unwrap();
12635
12635
  if (!_)
12636
12636
  return n(
12637
- aP({
12637
+ oP({
12638
12638
  path: a,
12639
12639
  flags: {
12640
12640
  old: !0
@@ -12645,7 +12645,7 @@ const AD = re(
12645
12645
  }
12646
12646
  const f = await mw({
12647
12647
  verb: dt.SAVE_CONTENT,
12648
- content: kA(e, t()),
12648
+ content: jA(e, t()),
12649
12649
  path: a
12650
12650
  });
12651
12651
  (e.type === V.CLASS || e.type === V.MODEL) && setTimeout(() => {
@@ -12664,7 +12664,7 @@ const AD = re(
12664
12664
  { title: "Permissions errors", messages: p }
12665
12665
  ] : []
12666
12666
  };
12667
- }), kA = (e, n) => {
12667
+ }), jA = (e, n) => {
12668
12668
  switch (!0) {
12669
12669
  case e.path === "settings.json":
12670
12670
  case e.path === Yn:
@@ -12724,7 +12724,7 @@ const AD = re(
12724
12724
  initialContent: f,
12725
12725
  content: c === V.MODEL ? US(f) : f
12726
12726
  };
12727
- }, jA = re(
12727
+ }, WA = re(
12728
12728
  "files/tryInjectMethod",
12729
12729
  async ({ type: e, dataclass: n }, { getState: t, dispatch: a }) => {
12730
12730
  const {
@@ -12781,7 +12781,7 @@ const AD = re(
12781
12781
  type: V.CLASS
12782
12782
  }), p.path = d, a(Gt(p)), p;
12783
12783
  }
12784
- ), jD = re("roles/open", async (e, { dispatch: n, getState: t }) => {
12784
+ ), WD = re("roles/open", async (e, { dispatch: n, getState: t }) => {
12785
12785
  const { tabs: a } = t().root, i = a.find((s) => s.path === Dt);
12786
12786
  if (i)
12787
12787
  return n(Gt(i)), i;
@@ -13110,46 +13110,46 @@ const Ug = lr({
13110
13110
  }
13111
13111
  },
13112
13112
  extraReducers: (e) => {
13113
- e.addCase(BA.fulfilled, (n) => {
13113
+ e.addCase(UA.fulfilled, (n) => {
13114
13114
  n.sessions = [];
13115
13115
  });
13116
13116
  }
13117
13117
  }), {
13118
- addBreakpointDecoration: WD,
13119
- removeBreakpointDecoration: BD,
13120
- setBreakpointsDecoration: UD,
13121
- clearBreakpoints: HD,
13122
- setActiveLine: GD,
13123
- addExpression: qD,
13124
- renameExpression: YD,
13125
- removeExpression: zD,
13126
- removeAllExpressions: VD,
13127
- setExpression: KD,
13128
- updateExpressionAt: JD,
13129
- saveExpressions: XD,
13130
- addSession: ZD,
13131
- updateSession: QD,
13132
- removeSession: e$,
13133
- removeSessionByIndex: t$,
13134
- setSessions: WA,
13135
- setCallChainVariables: r$,
13136
- setExpressionVariables: n$,
13137
- setSourceContent: a$,
13138
- setDebuggerMeta: o$
13139
- } = Ug.actions, BA = re("files/wipeDebuggerSessions", async (e, { getState: n, dispatch: t }) => {
13118
+ addBreakpointDecoration: BD,
13119
+ removeBreakpointDecoration: UD,
13120
+ setBreakpointsDecoration: HD,
13121
+ clearBreakpoints: GD,
13122
+ setActiveLine: qD,
13123
+ addExpression: YD,
13124
+ renameExpression: zD,
13125
+ removeExpression: VD,
13126
+ removeAllExpressions: KD,
13127
+ setExpression: JD,
13128
+ updateExpressionAt: XD,
13129
+ saveExpressions: ZD,
13130
+ addSession: QD,
13131
+ updateSession: e$,
13132
+ removeSession: t$,
13133
+ removeSessionByIndex: r$,
13134
+ setSessions: BA,
13135
+ setCallChainVariables: n$,
13136
+ setExpressionVariables: a$,
13137
+ setSourceContent: o$,
13138
+ setDebuggerMeta: i$
13139
+ } = Ug.actions, UA = re("files/wipeDebuggerSessions", async (e, { getState: n, dispatch: t }) => {
13140
13140
  const { sessions: a } = n().debugger;
13141
13141
  for (const { threadId: i } of a) {
13142
13142
  const s = Fh(i);
13143
13143
  t(Bg(s));
13144
13144
  }
13145
- }), UA = re(
13145
+ }), HA = re(
13146
13146
  "files/removeDebuggerSessionsNotIn",
13147
13147
  async (e, { getState: n, dispatch: t }) => {
13148
13148
  const { threadIds: a } = e, { sessions: i } = n().debugger, s = [], c = i.filter((f) => {
13149
13149
  const d = a.includes(f.threadId);
13150
13150
  return d || s.push(f.threadId), d;
13151
13151
  });
13152
- return t(WA(c)), { staleThreadIds: s };
13152
+ return t(BA(c)), { staleThreadIds: s };
13153
13153
  }
13154
13154
  ), Hg = re(
13155
13155
  "models/fetch",
@@ -13197,7 +13197,7 @@ const Ug = lr({
13197
13197
  } catch {
13198
13198
  return a("Error while saving the model");
13199
13199
  }
13200
- }), i$ = re(
13200
+ }), s$ = re(
13201
13201
  "models/open",
13202
13202
  async (e, { dispatch: n, getState: t }) => {
13203
13203
  const { tabs: a } = t().root, i = a.find((s) => s.path === "models/main");
@@ -13205,7 +13205,7 @@ const Ug = lr({
13205
13205
  return n(Gt(i)), i;
13206
13206
  n(Hg());
13207
13207
  }
13208
- ), s$ = re(
13208
+ ), u$ = re(
13209
13209
  "model/rename-dataclass",
13210
13210
  async (e, { getState: n, dispatch: t }) => {
13211
13211
  var b, _;
@@ -13278,7 +13278,7 @@ const Ug = lr({
13278
13278
  ), $i = {
13279
13279
  DATACLASS_DELETE: "dataclass.delete",
13280
13280
  DATACLASS_DRAGGABLE: "dataclass.draggable"
13281
- }, HA = {
13281
+ }, GA = {
13282
13282
  model: {
13283
13283
  dataClasses: {},
13284
13284
  collections: {},
@@ -13295,7 +13295,7 @@ const Ug = lr({
13295
13295
  }
13296
13296
  }, Gg = lr({
13297
13297
  name: "Models",
13298
- initialState: HA,
13298
+ initialState: GA,
13299
13299
  reducers: {
13300
13300
  setModelFlag(e, n) {
13301
13301
  e.flags = {
@@ -13319,12 +13319,12 @@ const Ug = lr({
13319
13319
  }), n.draft.dataClasses = a, n.draft.collections = i, n.draft.extraProperties = s, n.model.dataClasses = a, n.model.collections = i, n.model.extraProperties = s;
13320
13320
  });
13321
13321
  }
13322
- }), { setModelFlag: u$ } = Gg.actions;
13323
- var GA = /* @__PURE__ */ ((e) => (e.UUID = "uuid", e.STRING = "string", e.TEXT = "text", e.DATE = "date", e.TIME = "duration", e.BOOLEAN = "bool", e.BYTE = "byte", e.INTEGER = "word", e.LONG = "long", e.LONG64 = "long64", e.FLOAT = "number", e.BLOB = "blob", e.IMAGE = "image", e.OBJECT = "object", e))(GA || {}), Zc = /* @__PURE__ */ ((e) => (e.STORAGE = "storage", e.RELATEDENTITY = "relatedEntity", e.RELATEDENTITIES = "relatedEntities", e.CALCULATED = "calculated", e.COMPOSITION = "composition", e.ALIAS = "alias", e))(Zc || {});
13324
- const c$ = (e) => ["string", "uuid", "number", "long"].includes(e.type), f$ = [
13322
+ }), { setModelFlag: c$ } = Gg.actions;
13323
+ var qA = /* @__PURE__ */ ((e) => (e.UUID = "uuid", e.STRING = "string", e.TEXT = "text", e.DATE = "date", e.TIME = "duration", e.BOOLEAN = "bool", e.BYTE = "byte", e.INTEGER = "word", e.LONG = "long", e.LONG64 = "long64", e.FLOAT = "number", e.BLOB = "blob", e.IMAGE = "image", e.OBJECT = "object", e))(qA || {}), Zc = /* @__PURE__ */ ((e) => (e.STORAGE = "storage", e.RELATEDENTITY = "relatedEntity", e.RELATEDENTITIES = "relatedEntities", e.CALCULATED = "calculated", e.COMPOSITION = "composition", e.ALIAS = "alias", e))(Zc || {});
13324
+ const f$ = (e) => ["string", "uuid", "number", "long"].includes(e.type), l$ = [
13325
13325
  { label: "Storage", value: "storage" },
13326
13326
  { label: "Calculated", value: "calculated" }
13327
- ], l$ = [
13327
+ ], d$ = [
13328
13328
  {
13329
13329
  title: "UUID",
13330
13330
  kind: "storage",
@@ -13341,7 +13341,7 @@ const c$ = (e) => ["string", "uuid", "number", "long"].includes(e.type), f$ = [
13341
13341
  calculatedKind: "storage"
13342
13342
  /* STORAGE */
13343
13343
  }
13344
- ], d$ = [
13344
+ ], p$ = [
13345
13345
  {
13346
13346
  title: "String",
13347
13347
  kind: "storage",
@@ -13446,21 +13446,21 @@ const c$ = (e) => ["string", "uuid", "number", "long"].includes(e.type), f$ = [
13446
13446
  calculatedKind: "storage"
13447
13447
  /* STORAGE */
13448
13448
  }
13449
- ], p$ = [
13449
+ ], h$ = [
13450
13450
  { label: "Expose as REST", value: "public" },
13451
13451
  {
13452
13452
  label: "Do not expose as REST",
13453
13453
  value: "publicOnServer"
13454
13454
  }
13455
- ], h$ = [
13455
+ ], g$ = [
13456
13456
  { label: "Expose as REST", value: "public" },
13457
13457
  { label: "Do not expose as REST", value: "publicOnServer" }
13458
- ], g$ = [
13458
+ ], v$ = [
13459
13459
  { label: "None", value: "none" },
13460
13460
  { label: "B-tree", value: "btree" },
13461
13461
  { label: "Cluster", value: "cluster" },
13462
13462
  { label: "Automatic", value: "auto" }
13463
- ], v$ = (e, n) => ({
13463
+ ], y$ = (e, n) => ({
13464
13464
  toJSON: !0,
13465
13465
  extraProperties: n,
13466
13466
  dataClasses: e.map((t) => {
@@ -13477,33 +13477,33 @@ const c$ = (e) => ["string", "uuid", "number", "long"].includes(e.type), f$ = [
13477
13477
  };
13478
13478
  })
13479
13479
  });
13480
- function y$(e, n, t) {
13480
+ function m$(e, n, t) {
13481
13481
  const a = e;
13482
13482
  let i = 0;
13483
13483
  for (; t[`${a}${i || ""}`]; )
13484
13484
  i++;
13485
13485
  return `${a}${i || ""}`;
13486
13486
  }
13487
- const qA = (e) => e.kind === Zc.RELATEDENTITY, YA = (e) => e.kind === Zc.RELATEDENTITIES, m$ = (e) => YA(e) || qA(e), b$ = () => wn((e) => e.model.draft.dataClasses), _$ = () => wn((e) => e.model.draft.collections), w$ = (e) => wn((n) => n.model.draft.dataClasses[e]), E$ = (e, n) => wn(
13487
+ const YA = (e) => e.kind === Zc.RELATEDENTITY, zA = (e) => e.kind === Zc.RELATEDENTITIES, b$ = (e) => zA(e) || YA(e), _$ = () => wn((e) => e.model.draft.dataClasses), w$ = () => wn((e) => e.model.draft.collections), E$ = (e) => wn((n) => n.model.draft.dataClasses[e]), S$ = (e, n) => wn(
13488
13488
  (t) => t.model.draft.dataClasses[e].attributes.find(
13489
13489
  Pr("name", n)
13490
13490
  )
13491
- ), S$ = () => wn((e) => e.model.draft.extraProperties), T$ = () => {
13491
+ ), T$ = () => wn((e) => e.model.draft.extraProperties), x$ = () => {
13492
13492
  const e = wn((i) => i.model.flags), n = (i) => i in e ? e[i] : void 0, t = n($i.DATACLASS_DELETE), a = n($i.DATACLASS_DRAGGABLE);
13493
13493
  return {
13494
13494
  deleteDataclass: t,
13495
13495
  draggableDataclass: a,
13496
13496
  flags: e
13497
13497
  };
13498
- }, zA = Gg.reducer;
13498
+ }, VA = Gg.reducer;
13499
13499
  function Bu(e, n) {
13500
13500
  const t = e.tabs.find(({ path: a }) => a === Yn);
13501
13501
  t && (t.flags.touched = n);
13502
13502
  }
13503
- const VA = {
13503
+ const KA = {
13504
13504
  SIDEBAR_SECTION_RESIZABLE: "sidebar.section.resizable"
13505
- }, KA = {
13506
- [VA.SIDEBAR_SECTION_RESIZABLE]: !0
13505
+ }, JA = {
13506
+ [KA.SIDEBAR_SECTION_RESIZABLE]: !0
13507
13507
  }, qg = lr({
13508
13508
  name: "webforms",
13509
13509
  initialState: () => {
@@ -13519,7 +13519,7 @@ const VA = {
13519
13519
  ...Rh.webforms.datasources,
13520
13520
  ...e == null ? void 0 : e.datasources
13521
13521
  },
13522
- flags: KA
13522
+ flags: JA
13523
13523
  };
13524
13524
  },
13525
13525
  reducers: {
@@ -13567,28 +13567,28 @@ const VA = {
13567
13567
  }
13568
13568
  },
13569
13569
  extraReducers(e) {
13570
- e.addCase(rP.fulfilled, (n, t) => {
13570
+ e.addCase(nP.fulfilled, (n, t) => {
13571
13571
  n.components = t.payload;
13572
13572
  });
13573
13573
  }
13574
13574
  }), {
13575
- toggleInspector: x$,
13576
- inspect: C$,
13577
- addComponent: JA,
13578
- editComponent: XA,
13579
- removeComponent: ZA,
13580
- setSelectedGroup: O$,
13581
- setTemplatesData: QA,
13582
- setTemplateData: eP,
13583
- setDatasourcesTheme: R$,
13584
- setWebformsFlag: A$
13585
- } = qg.actions, tP = qg.reducer, Qc = Ke.curry((e, n) => {
13575
+ toggleInspector: C$,
13576
+ inspect: O$,
13577
+ addComponent: XA,
13578
+ editComponent: ZA,
13579
+ removeComponent: QA,
13580
+ setSelectedGroup: R$,
13581
+ setTemplatesData: eP,
13582
+ setTemplateData: tP,
13583
+ setDatasourcesTheme: A$,
13584
+ setWebformsFlag: P$
13585
+ } = qg.actions, rP = qg.reducer, Qc = Ke.curry((e, n) => {
13586
13586
  var i, s;
13587
13587
  const t = {
13588
13588
  ...n.sharedDatasources.sources
13589
13589
  }, a = (s = ((i = n.root.tabs.find(Pr("path", e))) == null ? void 0 : i.content).metadata) == null ? void 0 : s.datasources;
13590
13590
  return a && (t[e] = a), Ke.cloneDeep(t);
13591
- }), P$ = re("webforms/fetchTemplates", async (e, { dispatch: n, getState: t }) => {
13591
+ }), I$ = re("webforms/fetchTemplates", async (e, { dispatch: n, getState: t }) => {
13592
13592
  const { data: a } = t().webforms.templates, i = t().settings.session["studio.tipsBaseUrl"] || "";
13593
13593
  if (!Ke.isEmpty(a))
13594
13594
  return a;
@@ -13596,21 +13596,21 @@ const VA = {
13596
13596
  const c = await (await fetch(
13597
13597
  `${i}/build/index.json?t=${Date.now()}`
13598
13598
  )).json();
13599
- return n(QA(c)), c;
13599
+ return n(eP(c)), c;
13600
13600
  } catch {
13601
13601
  return [];
13602
13602
  }
13603
- }), I$ = re("webforms/fetchTemplate", async ({ name: e }, { dispatch: n, getState: t }) => {
13603
+ }), D$ = re("webforms/fetchTemplate", async ({ name: e }, { dispatch: n, getState: t }) => {
13604
13604
  const { data: a } = t().webforms.templates, i = a.find((s) => s.group === e);
13605
13605
  if (i && !Ke.isEmpty(i.components))
13606
13606
  return i.components;
13607
13607
  try {
13608
13608
  const c = await (await fetch(`${i == null ? void 0 : i.link}?t=${Date.now()}`)).json();
13609
- return n(eP({ group: e, components: c })), c;
13609
+ return n(tP({ group: e, components: c })), c;
13610
13610
  } catch {
13611
13611
  return [];
13612
13612
  }
13613
- }), rP = re(
13613
+ }), nP = re(
13614
13614
  "webforms/fetchCraftedComponents",
13615
13615
  async (e, { rejectWithValue: n }) => {
13616
13616
  try {
@@ -13624,11 +13624,11 @@ const VA = {
13624
13624
  return n("Error while loading the crafted components");
13625
13625
  }
13626
13626
  }
13627
- ), D$ = re(
13627
+ ), $$ = re(
13628
13628
  "webforms/addCraftedComponent",
13629
13629
  async (e, { dispatch: n, rejectWithValue: t, getState: a }) => {
13630
13630
  try {
13631
- n(JA(e));
13631
+ n(XA(e));
13632
13632
  const {
13633
13633
  webforms: { components: i }
13634
13634
  } = a();
@@ -13637,11 +13637,11 @@ const VA = {
13637
13637
  return t("Error while adding the crafted component");
13638
13638
  }
13639
13639
  }
13640
- ), $$ = re(
13640
+ ), M$ = re(
13641
13641
  "webforms/editCraftedComponent",
13642
13642
  async (e, { dispatch: n, rejectWithValue: t, getState: a }) => {
13643
13643
  try {
13644
- n(XA(e));
13644
+ n(ZA(e));
13645
13645
  const {
13646
13646
  webforms: { components: i }
13647
13647
  } = a();
@@ -13650,11 +13650,11 @@ const VA = {
13650
13650
  return t("Error while editing the crafted component");
13651
13651
  }
13652
13652
  }
13653
- ), M$ = re(
13653
+ ), N$ = re(
13654
13654
  "webforms/removeCraftedComponent",
13655
13655
  async (e, { dispatch: n, rejectWithValue: t, getState: a }) => {
13656
13656
  try {
13657
- n(ZA(e));
13657
+ n(QA(e));
13658
13658
  const {
13659
13659
  webforms: { components: i }
13660
13660
  } = a();
@@ -13715,7 +13715,7 @@ const VA = {
13715
13715
  t(`Error while editing datasource ${e.id}`);
13716
13716
  }
13717
13717
  }
13718
- ), N$ = (e) => e.type === ao.fulfilled.type, ao = re(
13718
+ ), L$ = (e) => e.type === ao.fulfilled.type, ao = re(
13719
13719
  "datasources/rename-datasource",
13720
13720
  async (e, { getState: n, rejectWithValue: t }) => {
13721
13721
  try {
@@ -14093,7 +14093,7 @@ const VA = {
14093
14093
  }
14094
14094
  });
14095
14095
  }
14096
- }), e.addCase(NA.fulfilled, (n, t) => {
14096
+ }), e.addCase(LA.fulfilled, (n, t) => {
14097
14097
  if (!t.payload)
14098
14098
  return;
14099
14099
  const { content: a, line: i, path: s } = t.payload, c = n.tabs.find((f) => f.path === s);
@@ -14148,7 +14148,7 @@ const VA = {
14148
14148
  kind: "danger",
14149
14149
  message: "Cannot save file"
14150
14150
  });
14151
- }), e.addCase(FA.fulfilled, (n, t) => {
14151
+ }), e.addCase(kA.fulfilled, (n, t) => {
14152
14152
  const a = [...t.payload.files];
14153
14153
  n.tabs = n.tabs.map((i) => {
14154
14154
  if ([V.CLASS, V.METHOD].includes(i.type)) {
@@ -14190,6 +14190,7 @@ const VA = {
14190
14190
  content: a.content,
14191
14191
  date: a.date,
14192
14192
  flags: {
14193
+ enabled: s.flags.enabled,
14193
14194
  confirmed: s.flags.confirmed
14194
14195
  },
14195
14196
  extra: c
@@ -14215,7 +14216,7 @@ const VA = {
14215
14216
  lastModification: Date.now()
14216
14217
  }
14217
14218
  });
14218
- }), e.addCase(LA.fulfilled, (n, t) => {
14219
+ }), e.addCase(FA.fulfilled, (n, t) => {
14219
14220
  if (!t.payload)
14220
14221
  return;
14221
14222
  const { selection: a } = t.meta.arg, i = n.tabs.find(
@@ -14286,7 +14287,7 @@ const VA = {
14286
14287
  }), e.addCase(bc.fulfilled, (n, t) => {
14287
14288
  const a = n.tabs.find((i) => i.path === t.payload.path);
14288
14289
  a && (a.flags.touched = !1, a.flags.confirmed = !0, a.date = t.payload.date, a.content = t.payload.content, a.initialContent = t.payload.content);
14289
- }), e.addCase(jA.fulfilled, (n, t) => {
14290
+ }), e.addCase(WA.fulfilled, (n, t) => {
14290
14291
  var s;
14291
14292
  if (!((s = t.payload) != null && s.path))
14292
14293
  return;
@@ -14326,7 +14327,7 @@ exposed Function ${t.meta.arg.name}()
14326
14327
  metadata: { ...s.content.metadata, datasources: a }
14327
14328
  });
14328
14329
  });
14329
- }), e.addCase(UA.fulfilled, (n, t) => {
14330
+ }), e.addCase(HA.fulfilled, (n, t) => {
14330
14331
  const { staleThreadIds: a } = t.payload;
14331
14332
  if (a.length === 0)
14332
14333
  return;
@@ -14351,7 +14352,7 @@ exposed Function ${t.meta.arg.name}()
14351
14352
  ), e.addMatcher(_r(Xc), (n, t) => {
14352
14353
  Bu(n, !1);
14353
14354
  }), e.addMatcher(
14354
- _r(cP, Gt),
14355
+ _r(fP, Gt),
14355
14356
  (n, t) => {
14356
14357
  const { payload: a } = t;
14357
14358
  let i;
@@ -14363,7 +14364,7 @@ exposed Function ${t.meta.arg.name}()
14363
14364
  ]);
14364
14365
  }
14365
14366
  ), e.addMatcher(
14366
- _r(EA, wA),
14367
+ _r(SA, EA),
14367
14368
  (n, t) => {
14368
14369
  n.tabs = n.tabs.map((a) => a.path === Dt ? {
14369
14370
  ...a,
@@ -14437,29 +14438,29 @@ exposed Function ${t.meta.arg.name}()
14437
14438
  );
14438
14439
  }
14439
14440
  }), {
14440
- setTabs: L$,
14441
+ setTabs: F$,
14441
14442
  closeTab: Vg,
14442
- setContent: nP,
14443
- setTabFlags: aP,
14444
- setTabsFlags: F$,
14445
- setTabExtra: k$,
14446
- closeAllTabs: oP,
14447
- addDataSource: j$,
14448
- closeRightTabs: iP,
14449
- closeOthers: sP,
14450
- closeLeftTabs: uP,
14451
- closeSavedTabs: W$,
14452
- setDataSources: B$,
14453
- removeDataSource: U$,
14454
- confirmTab: H$,
14455
- selectTab: cP,
14443
+ setContent: aP,
14444
+ setTabFlags: oP,
14445
+ setTabsFlags: k$,
14446
+ setTabExtra: j$,
14447
+ closeAllTabs: iP,
14448
+ addDataSource: W$,
14449
+ closeRightTabs: sP,
14450
+ closeOthers: uP,
14451
+ closeLeftTabs: cP,
14452
+ closeSavedTabs: B$,
14453
+ setDataSources: U$,
14454
+ removeDataSource: H$,
14455
+ confirmTab: G$,
14456
+ selectTab: fP,
14456
14457
  selectTabByReference: Gt,
14457
- openTabUnselected: fP,
14458
- addWebFormStyles: G$,
14459
- changeTabEditor: q$,
14460
- openSettingsTab: Y$,
14461
- setPanelState: z$
14462
- } = Mi.actions, lP = Mi.reducer, dP = Ug.reducer, ya = re("catalog/fetchCatalog", async (e, { rejectWithValue: n }) => {
14458
+ openTabUnselected: lP,
14459
+ addWebFormStyles: q$,
14460
+ changeTabEditor: Y$,
14461
+ openSettingsTab: z$,
14462
+ setPanelState: V$
14463
+ } = Mi.actions, dP = Mi.reducer, pP = Ug.reducer, ya = re("catalog/fetchCatalog", async (e, { rejectWithValue: n }) => {
14463
14464
  var t;
14464
14465
  try {
14465
14466
  const a = await ww(), i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
@@ -14482,7 +14483,7 @@ exposed Function ${t.meta.arg.name}()
14482
14483
  } catch {
14483
14484
  return n("Error while loading the catalog");
14484
14485
  }
14485
- }), pP = lr({
14486
+ }), hP = lr({
14486
14487
  name: "catalog",
14487
14488
  initialState: {
14488
14489
  state: "loading"
@@ -14499,13 +14500,13 @@ exposed Function ${t.meta.arg.name}()
14499
14500
  error: t.payload || "Error while loading the catalog"
14500
14501
  }));
14501
14502
  }
14502
- }), hP = pP.reducer, gP = Cg.reducer, Uu = re("shared_datasources/fetchSharedSources", async (e, { rejectWithValue: n }) => {
14503
+ }), gP = hP.reducer, vP = Cg.reducer, Uu = re("shared_datasources/fetchSharedSources", async (e, { rejectWithValue: n }) => {
14503
14504
  try {
14504
14505
  return await Ew();
14505
14506
  } catch {
14506
14507
  return n("Error while loading the shared datasources");
14507
14508
  }
14508
- }), vP = re(
14509
+ }), yP = re(
14509
14510
  "shared_datasources/addSharedSource",
14510
14511
  async (e, { rejectWithValue: n, getState: t }) => {
14511
14512
  try {
@@ -14519,7 +14520,7 @@ exposed Function ${t.meta.arg.name}()
14519
14520
  return n("Error while saving the shared datasources");
14520
14521
  }
14521
14522
  }
14522
- ), yP = re(
14523
+ ), mP = re(
14523
14524
  "shared_datasources/editSharedSource",
14524
14525
  async (e, { rejectWithValue: n, getState: t }) => {
14525
14526
  try {
@@ -14540,7 +14541,7 @@ exposed Function ${t.meta.arg.name}()
14540
14541
  return n("Error while saving the shared datasources");
14541
14542
  }
14542
14543
  }
14543
- ), mP = re(
14544
+ ), bP = re(
14544
14545
  "shared_datasources/deleteSharedSource",
14545
14546
  async (e, { rejectWithValue: n, getState: t }) => {
14546
14547
  try {
@@ -14583,7 +14584,7 @@ exposed Function ${t.meta.arg.name}()
14583
14584
  return n("Error while saving the shared datasources");
14584
14585
  }
14585
14586
  }
14586
- ), V$ = re(
14587
+ ), K$ = re(
14587
14588
  "shared_datasources/setDatasourceEvents",
14588
14589
  async ({ tabPath: e, name: n, namespace: t, events: a }, { getState: i, dispatch: s }) => {
14589
14590
  var w, S, x;
@@ -14606,7 +14607,7 @@ exposed Function ${t.meta.arg.name}()
14606
14607
  })
14607
14608
  );
14608
14609
  p.local && s(
14609
- nP({
14610
+ aP({
14610
14611
  path: e,
14611
14612
  content: b,
14612
14613
  contentPath: "metadata.datasources"
@@ -14638,13 +14639,13 @@ exposed Function ${t.meta.arg.name}()
14638
14639
  meta: { arg: i }
14639
14640
  } = t;
14640
14641
  i.namespace && Object.assign(n.sources, { [i.namespace]: a });
14641
- }).addCase(vP.fulfilled, (n, t) => ({
14642
+ }).addCase(yP.fulfilled, (n, t) => ({
14642
14643
  ...n,
14643
14644
  sources: t.payload
14644
- })).addCase(mP.fulfilled, (n, t) => ({
14645
+ })).addCase(bP.fulfilled, (n, t) => ({
14645
14646
  ...n,
14646
14647
  sources: t.payload
14647
- })).addCase(yP.fulfilled, (n, t) => ({
14648
+ })).addCase(mP.fulfilled, (n, t) => ({
14648
14649
  ...n,
14649
14650
  sources: t.payload
14650
14651
  })).addCase(jg.fulfilled, (n, t) => {
@@ -14669,7 +14670,7 @@ exposed Function ${t.meta.arg.name}()
14669
14670
  }
14670
14671
  );
14671
14672
  }
14672
- }), { addEmptyNamespace: K$ } = Jg.actions, bP = Jg.reducer, _P = Fg.reducer, Hu = re(
14673
+ }), { addEmptyNamespace: J$ } = Jg.actions, _P = Jg.reducer, wP = Fg.reducer, Hu = re(
14673
14674
  "shared_css/fetchSharedCSS",
14674
14675
  async (e, { rejectWithValue: n }) => {
14675
14676
  try {
@@ -14679,8 +14680,8 @@ exposed Function ${t.meta.arg.name}()
14679
14680
  return n("Error while loading the shared CSS");
14680
14681
  }
14681
14682
  }
14682
- ), wP = Tw();
14683
- async function EP(e) {
14683
+ ), EP = Tw();
14684
+ async function SP(e) {
14684
14685
  const n = {
14685
14686
  verb: dt.SET_FILE_CONTENT,
14686
14687
  asText: !1,
@@ -14693,7 +14694,7 @@ async function EP(e) {
14693
14694
  }))
14694
14695
  }
14695
14696
  };
14696
- await wP(
14697
+ await EP(
14697
14698
  () => Tc(xc, {
14698
14699
  method: "POST",
14699
14700
  body: JSON.stringify(n),
@@ -14713,7 +14714,7 @@ const Xg = lr({
14713
14714
  };
14714
14715
  },
14715
14716
  reducers: {
14716
- updateSharedCss: (e, n) => (e.styles = n.payload.classes, EP(n.payload.classes), e),
14717
+ updateSharedCss: (e, n) => (e.styles = n.payload.classes, SP(n.payload.classes), e),
14717
14718
  initSharedCss: (e, n) => (e.styles = n.payload.classes, e)
14718
14719
  },
14719
14720
  extraReducers(e) {
@@ -14731,31 +14732,31 @@ const Xg = lr({
14731
14732
  error: t.payload || "Error while loading the shared css"
14732
14733
  }));
14733
14734
  }
14734
- }), { updateSharedCss: J$, initSharedCss: X$ } = Xg.actions, SP = Xg.reducer, TP = {}, xP = lr({
14735
+ }), { updateSharedCss: X$, initSharedCss: Z$ } = Xg.actions, TP = Xg.reducer, xP = {}, CP = lr({
14735
14736
  name: "tabs",
14736
- initialState: TP,
14737
+ initialState: xP,
14737
14738
  reducers: {}
14738
- }), Z$ = (e) => Y(po, (n) => {
14739
+ }), Q$ = (e) => Y(po, (n) => {
14739
14740
  var t, a;
14740
14741
  return (a = (t = n.find((i) => i.path === e)) == null ? void 0 : t.view) == null ? void 0 : a.panel;
14741
14742
  });
14742
- xP.reducer;
14743
- const CP = hh({
14744
- root: lP,
14745
- explorer: _P,
14746
- debugger: dP,
14747
- settings: OA,
14748
- catalog: hP,
14749
- roles: SA,
14750
- sharedDatasources: bP,
14751
- webforms: tP,
14752
- modals: gP,
14753
- sharedCSS: SP,
14754
- model: zA
14743
+ CP.reducer;
14744
+ const OP = hh({
14745
+ root: dP,
14746
+ explorer: wP,
14747
+ debugger: pP,
14748
+ settings: RA,
14749
+ catalog: gP,
14750
+ roles: TA,
14751
+ sharedDatasources: _P,
14752
+ webforms: rP,
14753
+ modals: vP,
14754
+ sharedCSS: TP,
14755
+ model: VA
14755
14756
  });
14756
14757
  let Ja;
14757
- const OP = () => (Ja || (Ja = SE({
14758
- reducer: CP
14758
+ const RP = () => (Ja || (Ja = SE({
14759
+ reducer: OP
14759
14760
  }), Ja.subscribe(
14760
14761
  LS(() => {
14761
14762
  const {
@@ -14789,7 +14790,7 @@ var _c = { exports: {} }, da = {};
14789
14790
  * LICENSE file in the root directory of this source tree.
14790
14791
  */
14791
14792
  var Xp;
14792
- function RP() {
14793
+ function AP() {
14793
14794
  if (Xp)
14794
14795
  return da;
14795
14796
  Xp = 1, Hc();
@@ -14821,7 +14822,7 @@ var Gu = {};
14821
14822
  * LICENSE file in the root directory of this source tree.
14822
14823
  */
14823
14824
  var Zp;
14824
- function AP() {
14825
+ function PP() {
14825
14826
  return Zp || (Zp = 1, function(e) {
14826
14827
  process.env.NODE_ENV !== "production" && function() {
14827
14828
  var n = ba, t = Hc(), a = 60103, i = 60106;
@@ -15387,14 +15388,14 @@ Check the top-level render call using <` + I + ">.");
15387
15388
  }();
15388
15389
  }(Gu)), Gu;
15389
15390
  }
15390
- process.env.NODE_ENV === "production" ? _c.exports = RP() : _c.exports = AP();
15391
- var PP = _c.exports;
15392
- const Q$ = ({ children: e, store: n }) => /* @__PURE__ */ PP.jsx(ig, { store: n, children: e });
15391
+ process.env.NODE_ENV === "production" ? _c.exports = AP() : _c.exports = PP();
15392
+ var IP = _c.exports;
15393
+ const eM = ({ children: e, store: n }) => /* @__PURE__ */ IP.jsx(ig, { store: n, children: e });
15393
15394
  export {
15394
15395
  jc as CATALOG_REFRESH_DELAY,
15395
15396
  Rh as DEFAULT_CACHE,
15396
15397
  Zc as EAttributeKind,
15397
- GA as EAttributeTypes,
15398
+ qA as EAttributeTypes,
15398
15399
  kS as EDebuggerErrorReason,
15399
15400
  Xu as EDebuggerErrorType,
15400
15401
  pn as EDebuggerState,
@@ -15402,328 +15403,329 @@ export {
15402
15403
  We as EPermissionType,
15403
15404
  bg as ETooltipBehavior,
15404
15405
  FS as ExpressionIndex,
15405
- KA as FLAGS_INIT_STATE,
15406
+ JA as FLAGS_INIT_STATE,
15406
15407
  $i as FLAGS_KEYS,
15407
15408
  Rg as ModalCloseReason,
15408
15409
  en as ModalColor,
15409
- vD as ModalIcons,
15410
+ yD as ModalIcons,
15410
15411
  tr as ModalType,
15411
- Q$ as ReduxProvider,
15412
- TR as THEME_CLASSES,
15413
- VA as WT_FLAGS_KEYS,
15414
- iA as actionsToPrivs,
15415
- WD as addBreakpointDecoration,
15416
- JA as addComponent,
15417
- D$ as addCraftedComponent,
15418
- j$ as addDataSource,
15412
+ eM as ReduxProvider,
15413
+ xR as THEME_CLASSES,
15414
+ KA as WT_FLAGS_KEYS,
15415
+ sA as actionsToPrivs,
15416
+ BD as addBreakpointDecoration,
15417
+ XA as addComponent,
15418
+ $$ as addCraftedComponent,
15419
+ W$ as addDataSource,
15419
15420
  Yg as addDatasource,
15420
- K$ as addEmptyNamespace,
15421
- qD as addExpression,
15422
- ZI as addIn,
15423
- AA as addNewFile,
15424
- aD as addPermission,
15425
- ZD as addSession,
15426
- vP as addSharedSource,
15427
- G$ as addWebFormStyles,
15428
- JI as allowed,
15429
- f$ as attributeKinds,
15430
- h$ as attributeScopes,
15431
- d$ as attributeTypes,
15432
- xD as castToFileFolder,
15433
- q$ as changeTabEditor,
15421
+ J$ as addEmptyNamespace,
15422
+ YD as addExpression,
15423
+ QI as addIn,
15424
+ PA as addNewFile,
15425
+ oD as addPermission,
15426
+ QD as addSession,
15427
+ yP as addSharedSource,
15428
+ q$ as addWebFormStyles,
15429
+ XI as allowed,
15430
+ l$ as attributeKinds,
15431
+ g$ as attributeScopes,
15432
+ p$ as attributeTypes,
15433
+ CD as castToFileFolder,
15434
+ Y$ as changeTabEditor,
15434
15435
  hc as children,
15435
- HD as clearBreakpoints,
15436
- oP as closeAllTabs,
15437
- uP as closeLeftTabs,
15438
- hD as closeModal,
15439
- sP as closeOthers,
15440
- iP as closeRightTabs,
15441
- W$ as closeSavedTabs,
15436
+ GD as clearBreakpoints,
15437
+ iP as closeAllTabs,
15438
+ cP as closeLeftTabs,
15439
+ gD as closeModal,
15440
+ uP as closeOthers,
15441
+ sP as closeRightTabs,
15442
+ B$ as closeSavedTabs,
15442
15443
  Vg as closeTab,
15443
- H$ as confirmTab,
15444
- oA as create,
15445
- dA as createModal,
15444
+ G$ as confirmTab,
15445
+ iA as create,
15446
+ pA as createModal,
15446
15447
  Hp as createModelFiles,
15447
15448
  to as createNewFile,
15448
- AD as createNewFileAndOpen,
15449
+ PD as createNewFileAndOpen,
15449
15450
  ju as createNewNode,
15450
- dD as createRole,
15451
- eD as createWithResource,
15452
- p$ as dataclassScopes,
15451
+ pD as createRole,
15452
+ tD as createWithResource,
15453
+ h$ as dataclassScopes,
15453
15454
  yi as deleteDatasource,
15454
15455
  Gp as deleteFile,
15455
- PD as deleteFolder,
15456
- mP as deleteSharedSource,
15456
+ ID as deleteFolder,
15457
+ bP as deleteSharedSource,
15457
15458
  US as deserializeModel,
15458
15459
  Wu as duplicateNode,
15459
- XA as editComponent,
15460
- $$ as editCraftedComponent,
15460
+ ZA as editComponent,
15461
+ M$ as editCraftedComponent,
15461
15462
  Wg as editDataSource,
15462
15463
  zg as editDatasource,
15463
- gD as editModal,
15464
- lD as editRole,
15465
- yP as editSharedSource,
15464
+ vD as editModal,
15465
+ dD as editRole,
15466
+ mP as editSharedSource,
15466
15467
  OO as editors,
15467
- DD as executeMethod,
15468
- wD as expandFolder,
15468
+ $D as executeMethod,
15469
+ ED as expandFolder,
15469
15470
  RO as extensions,
15470
- TA as fetchAppSettings,
15471
+ xA as fetchAppSettings,
15471
15472
  ya as fetchCatalog,
15472
- FA as fetchChanges,
15473
- rP as fetchCraftedComponents,
15474
- $D as fetchFiles,
15473
+ kA as fetchChanges,
15474
+ nP as fetchCraftedComponents,
15475
+ MD as fetchFiles,
15475
15476
  Kr as fetchFolderContent,
15476
15477
  hi as fetchFolderContentWithoutExpanding,
15477
15478
  Hg as fetchModel,
15478
15479
  yc as fetchRoles,
15479
- _A as fetchRolesChanges,
15480
+ wA as fetchRolesChanges,
15480
15481
  Ng as fetchSettings,
15481
15482
  Hu as fetchSharedCss,
15482
15483
  Uu as fetchSharedDatasources,
15483
- I$ as fetchTemplate,
15484
- P$ as fetchTemplates,
15484
+ D$ as fetchTemplate,
15485
+ I$ as fetchTemplates,
15485
15486
  bt as findNodeByPath,
15486
15487
  va as findOne,
15487
15488
  yt as findSession,
15488
- bR as findSessionByPath,
15489
+ _R as findSessionByPath,
15489
15490
  fo as getCachedState,
15490
15491
  BS as getCashedPrefrences,
15491
15492
  iO as getDebuggerTabName,
15492
15493
  Fh as getDebuggerTabPath,
15493
- PA as getDefaultContent,
15494
- y$ as getDefaultName,
15495
- uA as getDictByName,
15494
+ IA as getDefaultContent,
15495
+ m$ as getDefaultName,
15496
+ cA as getDictByName,
15496
15497
  Ar as getEditors,
15497
15498
  PO as getExtension,
15498
- MA as getFilePath,
15499
- DA as getFileType,
15500
- IA as getFilenameFromType,
15501
- nD as getGraphData,
15502
- fA as getInheritedResources,
15499
+ NA as getFilePath,
15500
+ $A as getFileType,
15501
+ DA as getFilenameFromType,
15502
+ aD as getGraphData,
15503
+ lA as getInheritedResources,
15503
15504
  Wc as getModalTitle,
15504
15505
  AO as getNodeRelativePath,
15505
15506
  Sn as getPrivilegeById,
15506
- uD as getPromotions,
15507
+ cD as getPromotions,
15507
15508
  xg as getResourceFromType,
15508
- OP as getStore,
15509
- g$ as indexTypes,
15510
- X$ as initSharedCss,
15511
- NA as injectContentAtLine,
15512
- C$ as inspect,
15509
+ RP as getStore,
15510
+ v$ as indexTypes,
15511
+ Z$ as initSharedCss,
15512
+ LA as injectContentAtLine,
15513
+ O$ as inspect,
15513
15514
  HS as isJSON,
15514
- m$ as isRelatedAttr,
15515
- YA as isRelatedEntitiesAttr,
15516
- qA as isRelatedEntityAttr,
15517
- N$ as isRenameDatasource,
15515
+ b$ as isRelatedAttr,
15516
+ zA as isRelatedEntitiesAttr,
15517
+ YA as isRelatedEntityAttr,
15518
+ L$ as isRenameDatasource,
15518
15519
  Ig as isRolesOutdated,
15519
- c$ as isValidPrimaryKey,
15520
+ f$ as isValidPrimaryKey,
15520
15521
  UO as modelSubject,
15521
- ED as openAddFileInput,
15522
+ SD as openAddFileInput,
15522
15523
  gi as openFile,
15523
15524
  kg as openFileAtLine,
15524
- LA as openFileAtSelection,
15525
+ FA as openFileAtSelection,
15525
15526
  Sr as openModal,
15526
- i$ as openModel,
15527
- jD as openRoles,
15528
- Y$ as openSettingsTab,
15529
- fP as openTabUnselected,
15527
+ s$ as openModel,
15528
+ WD as openRoles,
15529
+ z$ as openSettingsTab,
15530
+ lP as openTabUnselected,
15530
15531
  Vc as parents,
15531
- rD as populateShallow,
15532
- l$ as primaryKeyAttributes,
15533
- SD as refreshFile,
15532
+ nD as populateShallow,
15533
+ d$ as primaryKeyAttributes,
15534
+ TD as refreshFile,
15534
15535
  qp as reloadTab,
15535
15536
  vi as relocateNode,
15536
- XI as remove,
15537
- VD as removeAllExpressions,
15538
- BD as removeBreakpointDecoration,
15539
- ZA as removeComponent,
15540
- M$ as removeCraftedComponent,
15541
- U$ as removeDataSource,
15542
- UA as removeDebuggerSessionsNotIn,
15543
- zD as removeExpression,
15537
+ ZI as remove,
15538
+ KD as removeAllExpressions,
15539
+ UD as removeBreakpointDecoration,
15540
+ QA as removeComponent,
15541
+ N$ as removeCraftedComponent,
15542
+ H$ as removeDataSource,
15543
+ HA as removeDebuggerSessionsNotIn,
15544
+ VD as removeExpression,
15544
15545
  Up as removeFile,
15545
- ID as removeFileNode,
15546
- QI as removeFrom,
15547
- pA as removeModal,
15548
- oD as removePermission,
15549
- fD as removeRole,
15550
- e$ as removeSession,
15551
- t$ as removeSessionByIndex,
15552
- tD as rename,
15546
+ DD as removeFileNode,
15547
+ eD as removeFrom,
15548
+ hA as removeModal,
15549
+ iD as removePermission,
15550
+ lD as removeRole,
15551
+ t$ as removeSession,
15552
+ r$ as removeSessionByIndex,
15553
+ rD as rename,
15553
15554
  jg as renameDataSource,
15554
15555
  ao as renameDatasource,
15555
- YD as renameExpression,
15556
+ zD as renameExpression,
15556
15557
  ro as renameFile,
15557
- iD as resetResources,
15558
- lP as rootReducer,
15558
+ sD as resetResources,
15559
+ dP as rootReducer,
15559
15560
  Kc as sanitize,
15560
- sA as sanitizePermissions,
15561
- nA as sanitizePrivileges,
15562
- MD as saveAll,
15563
- XD as saveExpressions,
15561
+ uA as sanitizePermissions,
15562
+ aA as sanitizePrivileges,
15563
+ ND as saveAll,
15564
+ ZD as saveExpressions,
15564
15565
  bc as saveModel,
15565
15566
  WS as savePrefrences,
15566
- pD as saveRole,
15567
+ hD as saveRole,
15567
15568
  jp as saveRoles,
15568
15569
  jS as saveState,
15569
15570
  no as saveTab,
15570
- XP as selectActiveLine,
15571
- fI as selectActiveTab,
15572
- HP as selectAllDatasourcesByPath,
15573
- vR as selectAppState,
15574
- YP as selectBreakpoints,
15575
- WI as selectCSSClassesByPath,
15576
- iI as selectCallChainVariables,
15571
+ ZP as selectActiveLine,
15572
+ lI as selectActiveTab,
15573
+ GP as selectAllDatasourcesByPath,
15574
+ yR as selectAppState,
15575
+ zP as selectBreakpoints,
15576
+ BI as selectCSSClassesByPath,
15577
+ sI as selectCallChainVariables,
15577
15578
  dg as selectCatalog,
15578
- kP as selectCatalogMethods,
15579
- LP as selectCatalogState,
15580
- VP as selectClassBreakpoints,
15581
- uI as selectClassOffset,
15582
- SI as selectClasses,
15583
- SR as selectClassesFolder,
15584
- xR as selectComponents,
15585
- BP as selectComponentsByPath,
15586
- _R as selectContentByPath,
15587
- YI as selectCraftedComponent,
15588
- nI as selectCurrentFrameByThreadId,
15589
- dI as selectCurrentTab,
15590
- FP as selectDataclasses,
15591
- UP as selectDatasource,
15592
- yR as selectDatasourcesByPath,
15593
- VI as selectDatasourcesTheme,
15594
- aI as selectDebuggerChannels,
15579
+ jP as selectCatalogMethods,
15580
+ FP as selectCatalogState,
15581
+ KP as selectClassBreakpoints,
15582
+ cI as selectClassOffset,
15583
+ TI as selectClasses,
15584
+ TR as selectClassesFolder,
15585
+ CR as selectComponents,
15586
+ UP as selectComponentsByPath,
15587
+ wR as selectContentByPath,
15588
+ zI as selectCraftedComponent,
15589
+ aI as selectCurrentFrameByThreadId,
15590
+ pI as selectCurrentTab,
15591
+ gR as selectDataclasses,
15592
+ HP as selectDatasource,
15593
+ mR as selectDatasourcesByPath,
15594
+ KI as selectDatasourcesTheme,
15595
+ oI as selectDebuggerChannels,
15595
15596
  xa as selectDebuggerData,
15596
- GP as selectDebuggerMeta,
15597
+ qP as selectDebuggerMeta,
15597
15598
  qt as selectDebuggerSessions,
15598
- qP as selectDebuggerSessionsCount,
15599
- bI as selectDebuggers,
15600
- zP as selectDraftBreakpoints,
15601
- KP as selectDraftClassBreakpoints,
15602
- cI as selectExceptions,
15603
- _I as selectExplorer,
15604
- ZP as selectExpressions,
15605
- sI as selectExpressionsVariables,
15606
- UI as selectFlagsByPath,
15607
- II as selectForceLogin,
15608
- RI as selectGuestPrivilege,
15609
- gI as selectHasTabs,
15610
- JP as selectHighlightedLines,
15611
- HI as selectInspectedCSSClass,
15612
- GI as selectInspectedDatasource,
15599
+ YP as selectDebuggerSessionsCount,
15600
+ _I as selectDebuggers,
15601
+ VP as selectDraftBreakpoints,
15602
+ JP as selectDraftClassBreakpoints,
15603
+ fI as selectExceptions,
15604
+ wI as selectExplorer,
15605
+ QP as selectExpressions,
15606
+ uI as selectExpressionsVariables,
15607
+ HI as selectFlagsByPath,
15608
+ DI as selectForceLogin,
15609
+ AI as selectGuestPrivilege,
15610
+ vI as selectHasTabs,
15611
+ XP as selectHighlightedLines,
15612
+ GI as selectInspectedCSSClass,
15613
+ qI as selectInspectedDatasource,
15613
15614
  qc as selectInspector,
15614
- zI as selectInspectorStateByType,
15615
- KI as selectIsLoaded,
15616
- wI as selectMethods,
15617
- ER as selectMethodsFolder,
15618
- TI as selectModals,
15619
- kI as selectMonacoZoom,
15620
- Z$ as selectPanelByPath,
15621
- $I as selectPartialSessionSettings,
15622
- NI as selectPreferences,
15623
- hI as selectPreviewedWebformsPaths,
15624
- OI as selectPrivileges,
15625
- MI as selectProjectSettings,
15626
- FI as selectQodly,
15627
- lI as selectRecentFiles,
15628
- LI as selectRemoteDebuggerMode,
15629
- CI as selectRoles,
15630
- xI as selectRolesAndPrivileges,
15631
- DI as selectRolesDate,
15632
- AI as selectRolesFlags,
15615
+ VI as selectInspectorStateByType,
15616
+ JI as selectIsLoaded,
15617
+ EI as selectMethods,
15618
+ SR as selectMethodsFolder,
15619
+ xI as selectModals,
15620
+ jI as selectMonacoZoom,
15621
+ Q$ as selectPanelByPath,
15622
+ MI as selectPartialSessionSettings,
15623
+ LI as selectPreferences,
15624
+ gI as selectPreviewedWebformsPaths,
15625
+ RI as selectPrivileges,
15626
+ NI as selectProjectSettings,
15627
+ kI as selectQodly,
15628
+ dI as selectRecentFiles,
15629
+ FI as selectRemoteDebuggerMode,
15630
+ OI as selectRoles,
15631
+ CI as selectRolesAndPrivileges,
15632
+ $I as selectRolesDate,
15633
+ PI as selectRolesFlags,
15633
15634
  En as selectRoot,
15634
- PI as selectSelectedTab,
15635
+ II as selectSelectedTab,
15635
15636
  vg as selectServerSettings,
15636
15637
  gg as selectSessionSettings,
15637
- BI as selectSharedCSS,
15638
- mR as selectSharedDatasources,
15639
- eI as selectSourceByPath,
15640
- rI as selectSourceByThreadId,
15641
- oI as selectStackFrames,
15642
- QP as selectStoppedFromDebugSession,
15643
- jI as selectStylesByPath,
15644
- cP as selectTab,
15638
+ UI as selectSharedCSS,
15639
+ bR as selectSharedDatasources,
15640
+ tI as selectSourceByPath,
15641
+ nI as selectSourceByThreadId,
15642
+ iI as selectStackFrames,
15643
+ eI as selectStoppedFromDebugSession,
15644
+ WI as selectStylesByPath,
15645
+ fP as selectTab,
15645
15646
  Yi as selectTabByPath,
15646
15647
  Gt as selectTabByReference,
15647
- vI as selectTabExtraByPath,
15648
- pI as selectTabMaxWeight,
15648
+ yI as selectTabExtraByPath,
15649
+ hI as selectTabMaxWeight,
15649
15650
  po as selectTabs,
15650
- CR as selectTemplates,
15651
- qI as selectTemplatesData,
15652
- tI as selectThreadIdByPath,
15651
+ OR as selectTemplates,
15652
+ YI as selectTemplatesData,
15653
+ rI as selectThreadIdByPath,
15653
15654
  hg as selectTouchedTabs,
15654
- mI as selectTouchedTabsLength,
15655
- EI as selectWebForms,
15656
- wR as selectWebFormsFolder,
15657
- yI as selectWebformNodes,
15655
+ bI as selectTouchedTabsLength,
15656
+ kP as selectVirtualDataClasses,
15657
+ SI as selectWebForms,
15658
+ ER as selectWebFormsFolder,
15659
+ mI as selectWebformNodes,
15658
15660
  mg as selectWebformStylesByPath,
15659
15661
  zi as selectWebforms,
15660
- v$ as serializeModel,
15661
- GD as setActiveLine,
15662
- UD as setBreakpointsDecoration,
15663
- r$ as setCallChainVariables,
15664
- nP as setContent,
15665
- B$ as setDataSources,
15666
- V$ as setDatasourceEvents,
15667
- R$ as setDatasourcesTheme,
15668
- o$ as setDebuggerMeta,
15669
- KD as setExpression,
15670
- n$ as setExpressionVariables,
15671
- TD as setFolderChildren,
15672
- u$ as setModelFlag,
15673
- z$ as setPanelState,
15662
+ y$ as serializeModel,
15663
+ qD as setActiveLine,
15664
+ HD as setBreakpointsDecoration,
15665
+ n$ as setCallChainVariables,
15666
+ aP as setContent,
15667
+ U$ as setDataSources,
15668
+ K$ as setDatasourceEvents,
15669
+ A$ as setDatasourcesTheme,
15670
+ i$ as setDebuggerMeta,
15671
+ JD as setExpression,
15672
+ a$ as setExpressionVariables,
15673
+ xD as setFolderChildren,
15674
+ c$ as setModelFlag,
15675
+ V$ as setPanelState,
15674
15676
  $g as setRolesContent,
15675
- O$ as setSelectedGroup,
15676
- WA as setSessions,
15677
+ R$ as setSelectedGroup,
15678
+ BA as setSessions,
15677
15679
  Bp as setSetting,
15678
15680
  Xc as setSettings,
15679
- bD as setSettingsAsText,
15680
- a$ as setSourceContent,
15681
- k$ as setTabExtra,
15682
- aP as setTabFlags,
15683
- L$ as setTabs,
15684
- F$ as setTabsFlags,
15685
- eP as setTemplateData,
15686
- QA as setTemplatesData,
15687
- A$ as setWebformsFlag,
15688
- aA as sort,
15689
- CP as stateReducer,
15681
+ _D as setSettingsAsText,
15682
+ o$ as setSourceContent,
15683
+ j$ as setTabExtra,
15684
+ oP as setTabFlags,
15685
+ F$ as setTabs,
15686
+ k$ as setTabsFlags,
15687
+ tP as setTemplateData,
15688
+ eP as setTemplatesData,
15689
+ P$ as setWebformsFlag,
15690
+ oA as sort,
15691
+ OP as stateReducer,
15690
15692
  Mi as stateSlice,
15691
15693
  Jc as toAPI,
15692
- cD as toState,
15693
- _D as toggleExpandFolder,
15694
- mD as toggleForceLogin,
15695
- x$ as toggleInspector,
15696
- sD as togglePermission,
15697
- cA as togglePrivilegePermission,
15698
- yD as toggleTab,
15699
- LD as tryCloseAllTabs,
15700
- kD as tryCloseLeftTabs,
15701
- ND as tryCloseOtherTabs,
15702
- FD as tryCloseRightTabs,
15694
+ fD as toState,
15695
+ wD as toggleExpandFolder,
15696
+ bD as toggleForceLogin,
15697
+ C$ as toggleInspector,
15698
+ uD as togglePermission,
15699
+ fA as togglePrivilegePermission,
15700
+ mD as toggleTab,
15701
+ FD as tryCloseAllTabs,
15702
+ jD as tryCloseLeftTabs,
15703
+ LD as tryCloseOtherTabs,
15704
+ kD as tryCloseRightTabs,
15703
15705
  Bg as tryCloseTab,
15704
- CD as tryEditMethod,
15705
- jA as tryInjectMethod,
15706
- s$ as tryRenameDataclass,
15706
+ OD as tryEditMethod,
15707
+ WA as tryInjectMethod,
15708
+ u$ as tryRenameDataclass,
15707
15709
  Er as uniquePush,
15708
- JD as updateExpressionAt,
15709
- wA as updatePrivileges,
15710
- EA as updateRoles,
15710
+ XD as updateExpressionAt,
15711
+ EA as updatePrivileges,
15712
+ SA as updateRoles,
15711
15713
  Mg as updateRolesAndPrivileges,
15712
- QD as updateSession,
15713
- J$ as updateSharedCss,
15714
+ e$ as updateSession,
15715
+ X$ as updateSharedCss,
15714
15716
  Kg as updateSharedDatasources,
15715
- RD as uploadFile,
15716
- OD as uploadFileAndGetResponse,
15717
- NP as useAppDispatch,
15717
+ AD as uploadFile,
15718
+ RD as uploadFileAndGetResponse,
15719
+ LP as useAppDispatch,
15718
15720
  wn as useAppSelector,
15719
- E$ as useAttribute,
15720
- _$ as useCollections,
15721
- w$ as useDataclass,
15722
- b$ as useDataclasses,
15723
- WP as useMethod,
15724
- jP as useMethods,
15725
- T$ as useModelFlags,
15726
- S$ as useModelProperties,
15727
- BA as wipeDebuggerSessions
15721
+ S$ as useAttribute,
15722
+ w$ as useCollections,
15723
+ E$ as useDataclass,
15724
+ _$ as useDataclasses,
15725
+ BP as useMethod,
15726
+ WP as useMethods,
15727
+ x$ as useModelFlags,
15728
+ T$ as useModelProperties,
15729
+ UA as wipeDebuggerSessions
15728
15730
  };
15729
15731
  //# sourceMappingURL=index.es.js.map