@ws-ui/store 0.3.8 → 0.3.10

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
@@ -1,4 +1,4 @@
1
- import { FileFolderType as F, ROLES_TAB_PATH as mt, HTTP_HANDLERS_PATH as jn, MODEL_TAB_PATH as Xa, FolderRootPath as Je, EWebFormStyleClassScope as ta, validateName as ph, byId as xw, ModalType as an, ModalCloseReason as Cw, setFileContent as na, getFileContent as Ow, getNodeInfo as Cn, DesignerRequestVerb as rt, SETTINGS_TAB_PATH as Lr, getAppSettings as Aw, RemoteDebuggerMode as Rw, lspSubject as En, LspActions as wn, getFileExtentionFromType as ar, toastSubject as Tn, createFolder as Dw, getFilesInfo as Ha, ERROR_CODES as ec, ModalColor as lr, EDITOR as tc, getTypeFromExtension as nc, dropFile as Pw, FolderRootType as ls, removeItem as hh, moveItem as rc, parseAttributes as $c, addAttributesToContent as gh, generateUUID as ms, getFolders as Iw, by as Sn, isObjectDatasource as vh, isSimpleDatasource as mh, datasourcesSubject as Mc, DatasourcesActions as Lc, webformSubject as $w, WebformActions as Mw, saveContent as Lw, http as $s, API_PREFIX as Ms, setCraftedComponents as Nc, setSharedSources as fr, getDatasourceId as ys, outById as Nw, getSavedConditions as kw, queue as yh, getCatalog as Fw, getSharedDatasources as jw, getSharedCSS as Ww } from "@ws-ui/shared";
1
+ import { FileFolderType as N, ROLES_TAB_PATH as mt, HTTP_HANDLERS_PATH as jn, MODEL_TAB_PATH as Xa, FolderRootPath as Je, EWebFormStyleClassScope as ta, validateName as ph, byId as xw, ModalType as an, ModalCloseReason as Cw, setFileContent as na, getFileContent as Ow, getNodeInfo as Cn, DesignerRequestVerb as rt, SETTINGS_TAB_PATH as Lr, getAppSettings as Aw, RemoteDebuggerMode as Rw, lspSubject as En, LspActions as wn, getFileExtentionFromType as ar, toastSubject as Tn, createFolder as Dw, getFilesInfo as Ha, ERROR_CODES as ec, ModalColor as lr, EDITOR as tc, getTypeFromExtension as nc, dropFile as Pw, FolderRootType as ls, removeItem as hh, moveItem as rc, parseAttributes as $c, addAttributesToContent as gh, generateUUID as ms, getFolders as Iw, by as Sn, isObjectDatasource as vh, isSimpleDatasource as mh, datasourcesSubject as Mc, DatasourcesActions as Lc, webformSubject as $w, WebformActions as Mw, saveContent as Lw, http as $s, API_PREFIX as Ms, setCraftedComponents as Nc, setSharedSources as fr, getDatasourceId as ys, outById as Nw, getSavedConditions as kw, queue as yh, getCatalog as Fw, getSharedDatasources as jw, getSharedCSS as Ww } from "@ws-ui/shared";
2
2
  import Ls, { useLayoutEffect as Bw, useEffect as Uw, useMemo as ac, useContext as kc, useDebugValue as Hw, useReducer as Gw, useRef as rs } from "react";
3
3
  import { unstable_batchedUpdates as qw } from "react-dom";
4
4
  function ze(e) {
@@ -2850,15 +2850,15 @@ Ts.exports;
2850
2850
  return r;
2851
2851
  }
2852
2852
  function Wm() {
2853
- var r = this.__wrapped__.value(), o = this.__dir__, u = he(r), d = o < 0, g = u ? r.length : 0, y = Xy(0, g, this.__views__), E = y.start, x = y.end, A = x - E, N = d ? x : E - 1, k = this.__iteratees__, W = k.length, V = 0, te = yt(A, this.__takeCount__);
2853
+ var r = this.__wrapped__.value(), o = this.__dir__, u = he(r), d = o < 0, g = u ? r.length : 0, y = Xy(0, g, this.__views__), E = y.start, x = y.end, A = x - E, k = d ? x : E - 1, F = this.__iteratees__, W = F.length, V = 0, te = yt(A, this.__takeCount__);
2854
2854
  if (!u || !d && g == A && te == A)
2855
2855
  return Df(r, this.__actions__);
2856
2856
  var re = [];
2857
2857
  e:
2858
2858
  for (; A-- && V < te; ) {
2859
- N += o;
2860
- for (var _e = -1, ae = r[N]; ++_e < W; ) {
2861
- var Te = k[_e], Ae = Te.iteratee, Ut = Te.type, At = Ae(ae);
2859
+ k += o;
2860
+ for (var _e = -1, ae = r[k]; ++_e < W; ) {
2861
+ var Te = F[_e], Ae = Te.iteratee, Ut = Te.type, At = Ae(ae);
2862
2862
  if (Ut == dt)
2863
2863
  ae = At;
2864
2864
  else if (!At) {
@@ -3003,12 +3003,12 @@ Ts.exports;
3003
3003
  ln.prototype.clear = ay, ln.prototype.delete = oy, ln.prototype.get = sy, ln.prototype.has = iy, ln.prototype.set = uy;
3004
3004
  function sf(r, o) {
3005
3005
  var u = he(r), d = !u && Rr(r), g = !u && !d && nr(r), y = !u && !d && !g && Kr(r), E = u || d || g || y, x = E ? _i(r.length, ym) : [], A = x.length;
3006
- for (var N in r)
3007
- (o || ke.call(r, N)) && !(E && // Safari 9 has enumerable `arguments.length` in strict mode.
3008
- (N == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
3009
- g && (N == "offset" || N == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
3010
- y && (N == "buffer" || N == "byteLength" || N == "byteOffset") || // Skip index properties.
3011
- Mn(N, A))) && x.push(N);
3006
+ for (var k in r)
3007
+ (o || ke.call(r, k)) && !(E && // Safari 9 has enumerable `arguments.length` in strict mode.
3008
+ (k == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
3009
+ g && (k == "offset" || k == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
3010
+ y && (k == "buffer" || k == "byteLength" || k == "byteOffset") || // Skip index properties.
3011
+ Mn(k, A))) && x.push(k);
3012
3012
  return x;
3013
3013
  }
3014
3014
  function uf(r) {
@@ -3062,13 +3062,13 @@ Ts.exports;
3062
3062
  return r === r && (u !== t && (r = r <= u ? r : u), o !== t && (r = r >= o ? r : o)), r;
3063
3063
  }
3064
3064
  function en(r, o, u, d, g, y) {
3065
- var E, x = o & m, A = o & b, N = o & _;
3065
+ var E, x = o & m, A = o & b, k = o & _;
3066
3066
  if (u && (E = g ? u(r, d, g, y) : u(r)), E !== t)
3067
3067
  return E;
3068
3068
  if (!Ke(r))
3069
3069
  return r;
3070
- var k = he(r);
3071
- if (k) {
3070
+ var F = he(r);
3071
+ if (F) {
3072
3072
  if (E = e0(r), !x)
3073
3073
  return Dt(r, E);
3074
3074
  } else {
@@ -3093,7 +3093,7 @@ Ts.exports;
3093
3093
  }) : xd(r) && r.forEach(function(ae, Te) {
3094
3094
  E.set(Te, en(ae, o, u, Te, r, y));
3095
3095
  });
3096
- var re = N ? A ? Vi : zi : A ? It : ft, _e = k ? t : re(r);
3096
+ var re = k ? A ? Vi : zi : A ? It : ft, _e = F ? t : re(r);
3097
3097
  return Qt(_e || r, function(ae, Te) {
3098
3098
  _e && (Te = ae, ae = r[Te]), Ta(E, Te, en(ae, o, u, Te, r, y));
3099
3099
  }), E;
@@ -3123,20 +3123,20 @@ Ts.exports;
3123
3123
  }, o);
3124
3124
  }
3125
3125
  function xa(r, o, u, d) {
3126
- var g = -1, y = yo, E = !0, x = r.length, A = [], N = o.length;
3126
+ var g = -1, y = yo, E = !0, x = r.length, A = [], k = o.length;
3127
3127
  if (!x)
3128
3128
  return A;
3129
3129
  u && (o = Ye(o, jt(u))), d ? (y = hi, E = !1) : o.length >= s && (y = ya, E = !1, o = new Tr(o));
3130
3130
  e:
3131
3131
  for (; ++g < x; ) {
3132
- var k = r[g], W = u == null ? k : u(k);
3133
- if (k = d || k !== 0 ? k : 0, E && W === W) {
3134
- for (var V = N; V--; )
3132
+ var F = r[g], W = u == null ? F : u(F);
3133
+ if (F = d || F !== 0 ? F : 0, E && W === W) {
3134
+ for (var V = k; V--; )
3135
3135
  if (o[V] === W)
3136
3136
  continue e;
3137
- A.push(k);
3137
+ A.push(F);
3138
3138
  } else
3139
- y(o, W, d) || A.push(k);
3139
+ y(o, W, d) || A.push(F);
3140
3140
  }
3141
3141
  return A;
3142
3142
  }
@@ -3213,25 +3213,25 @@ Ts.exports;
3213
3213
  return r >= yt(o, u) && r < st(o, u);
3214
3214
  }
3215
3215
  function Ii(r, o, u) {
3216
- for (var d = u ? hi : yo, g = r[0].length, y = r.length, E = y, x = D(y), A = 1 / 0, N = []; E--; ) {
3217
- var k = r[E];
3218
- E && o && (k = Ye(k, jt(o))), A = yt(k.length, A), x[E] = !u && (o || g >= 120 && k.length >= 120) ? new Tr(E && k) : t;
3216
+ for (var d = u ? hi : yo, g = r[0].length, y = r.length, E = y, x = D(y), A = 1 / 0, k = []; E--; ) {
3217
+ var F = r[E];
3218
+ E && o && (F = Ye(F, jt(o))), A = yt(F.length, A), x[E] = !u && (o || g >= 120 && F.length >= 120) ? new Tr(E && F) : t;
3219
3219
  }
3220
- k = r[0];
3220
+ F = r[0];
3221
3221
  var W = -1, V = x[0];
3222
3222
  e:
3223
- for (; ++W < g && N.length < A; ) {
3224
- var te = k[W], re = o ? o(te) : te;
3225
- if (te = u || te !== 0 ? te : 0, !(V ? ya(V, re) : d(N, re, u))) {
3223
+ for (; ++W < g && k.length < A; ) {
3224
+ var te = F[W], re = o ? o(te) : te;
3225
+ if (te = u || te !== 0 ? te : 0, !(V ? ya(V, re) : d(k, re, u))) {
3226
3226
  for (E = y; --E; ) {
3227
3227
  var _e = x[E];
3228
3228
  if (!(_e ? ya(_e, re) : d(r[E], re, u)))
3229
3229
  continue e;
3230
3230
  }
3231
- V && V.push(re), N.push(te);
3231
+ V && V.push(re), k.push(te);
3232
3232
  }
3233
3233
  }
3234
- return N;
3234
+ return k;
3235
3235
  }
3236
3236
  function by(r, o, u, d) {
3237
3237
  return yn(r, function(g, y, E) {
@@ -3256,18 +3256,18 @@ Ts.exports;
3256
3256
  return r === o ? !0 : r == null || o == null || !Xe(r) && !Xe(o) ? r !== r && o !== o : wy(r, o, u, d, Oa, g);
3257
3257
  }
3258
3258
  function wy(r, o, u, d, g, y) {
3259
- var E = he(r), x = he(o), A = E ? se : bt(r), N = x ? se : bt(o);
3260
- A = A == pe ? Vt : A, N = N == pe ? Vt : N;
3261
- var k = A == Vt, W = N == Vt, V = A == N;
3259
+ var E = he(r), x = he(o), A = E ? se : bt(r), k = x ? se : bt(o);
3260
+ A = A == pe ? Vt : A, k = k == pe ? Vt : k;
3261
+ var F = A == Vt, W = k == Vt, V = A == k;
3262
3262
  if (V && nr(r)) {
3263
3263
  if (!nr(o))
3264
3264
  return !1;
3265
- E = !0, k = !1;
3265
+ E = !0, F = !1;
3266
3266
  }
3267
- if (V && !k)
3267
+ if (V && !F)
3268
3268
  return y || (y = new ln()), E || Kr(r) ? Kf(r, o, u, d, g, y) : Ky(r, o, A, u, d, g, y);
3269
3269
  if (!(u & w)) {
3270
- var te = k && ke.call(r, "__wrapped__"), re = W && ke.call(o, "__wrapped__");
3270
+ var te = F && ke.call(r, "__wrapped__"), re = W && ke.call(o, "__wrapped__");
3271
3271
  if (te || re) {
3272
3272
  var _e = te ? r.value() : r, ae = re ? o.value() : o;
3273
3273
  return y || (y = new ln()), g(_e, ae, u, d, y);
@@ -3289,15 +3289,15 @@ Ts.exports;
3289
3289
  }
3290
3290
  for (; ++g < y; ) {
3291
3291
  x = u[g];
3292
- var A = x[0], N = r[A], k = x[1];
3292
+ var A = x[0], k = r[A], F = x[1];
3293
3293
  if (E && x[2]) {
3294
- if (N === t && !(A in r))
3294
+ if (k === t && !(A in r))
3295
3295
  return !1;
3296
3296
  } else {
3297
3297
  var W = new ln();
3298
3298
  if (d)
3299
- var V = d(N, k, A, r, o, W);
3300
- if (!(V === t ? Oa(k, N, w | T, d, W) : V))
3299
+ var V = d(k, F, A, r, o, W);
3300
+ if (!(V === t ? Oa(F, k, w | T, d, W) : V))
3301
3301
  return !1;
3302
3302
  }
3303
3303
  }
@@ -3369,17 +3369,17 @@ Ts.exports;
3369
3369
  }, It);
3370
3370
  }
3371
3371
  function Ay(r, o, u, d, g, y, E) {
3372
- var x = eu(r, u), A = eu(o, u), N = E.get(A);
3373
- if (N) {
3374
- Oi(r, u, N);
3372
+ var x = eu(r, u), A = eu(o, u), k = E.get(A);
3373
+ if (k) {
3374
+ Oi(r, u, k);
3375
3375
  return;
3376
3376
  }
3377
- var k = y ? y(x, A, u + "", r, o, E) : t, W = k === t;
3377
+ var F = y ? y(x, A, u + "", r, o, E) : t, W = F === t;
3378
3378
  if (W) {
3379
3379
  var V = he(A), te = !V && nr(A), re = !V && !te && Kr(A);
3380
- k = A, V || te || re ? he(x) ? k = x : tt(x) ? k = Dt(x) : te ? (W = !1, k = $f(A, !0)) : re ? (W = !1, k = Mf(A, !0)) : k = [] : Ia(A) || Rr(A) ? (k = x, Rr(x) ? k = Dd(x) : (!Ke(x) || Ln(x)) && (k = Xf(A))) : W = !1;
3380
+ F = A, V || te || re ? he(x) ? F = x : tt(x) ? F = Dt(x) : te ? (W = !1, F = $f(A, !0)) : re ? (W = !1, F = Mf(A, !0)) : F = [] : Ia(A) || Rr(A) ? (F = x, Rr(x) ? F = Dd(x) : (!Ke(x) || Ln(x)) && (F = Xf(A))) : W = !1;
3381
3381
  }
3382
- W && (E.set(A, k), g(k, A, d, y, E), E.delete(A)), Oi(r, u, k);
3382
+ W && (E.set(A, F), g(F, A, d, y, E), E.delete(A)), Oi(r, u, F);
3383
3383
  }
3384
3384
  function wf(r, o) {
3385
3385
  var u = r.length;
@@ -3395,8 +3395,8 @@ Ts.exports;
3395
3395
  var d = -1;
3396
3396
  o = Ye(o, jt(ne()));
3397
3397
  var g = bf(r, function(y, E, x) {
3398
- var A = Ye(o, function(N) {
3399
- return N(y);
3398
+ var A = Ye(o, function(k) {
3399
+ return k(y);
3400
3400
  });
3401
3401
  return { criteria: A, index: ++d, value: y };
3402
3402
  });
@@ -3424,7 +3424,7 @@ Ts.exports;
3424
3424
  function Ni(r, o, u, d) {
3425
3425
  var g = d ? em : Fr, y = -1, E = o.length, x = r;
3426
3426
  for (r === o && (o = Dt(o)), u && (x = Ye(r, jt(u))); ++y < E; )
3427
- for (var A = 0, N = o[y], k = u ? u(N) : N; (A = g(x, k, A, d)) > -1; )
3427
+ for (var A = 0, k = o[y], F = u ? u(k) : k; (A = g(x, F, A, d)) > -1; )
3428
3428
  x !== r && Ao.call(x, A, 1), Ao.call(r, A, 1);
3429
3429
  return r;
3430
3430
  }
@@ -3470,14 +3470,14 @@ Ts.exports;
3470
3470
  return r;
3471
3471
  o = er(o, r);
3472
3472
  for (var g = -1, y = o.length, E = y - 1, x = r; x != null && ++g < y; ) {
3473
- var A = _n(o[g]), N = u;
3473
+ var A = _n(o[g]), k = u;
3474
3474
  if (A === "__proto__" || A === "constructor" || A === "prototype")
3475
3475
  return r;
3476
3476
  if (g != E) {
3477
- var k = x[A];
3478
- N = d ? d(k, A, x) : t, N === t && (N = Ke(k) ? k : Mn(o[g + 1]) ? [] : {});
3477
+ var F = x[A];
3478
+ k = d ? d(F, A, x) : t, k === t && (k = Ke(F) ? F : Mn(o[g + 1]) ? [] : {});
3479
3479
  }
3480
- Ta(x, A, N), x = x[A];
3480
+ Ta(x, A, k), x = x[A];
3481
3481
  }
3482
3482
  return r;
3483
3483
  }
@@ -3523,13 +3523,13 @@ Ts.exports;
3523
3523
  if (y === 0)
3524
3524
  return 0;
3525
3525
  o = u(o);
3526
- for (var E = o !== o, x = o === null, A = Bt(o), N = o === t; g < y; ) {
3527
- var k = Po((g + y) / 2), W = u(r[k]), V = W !== t, te = W === null, re = W === W, _e = Bt(W);
3526
+ for (var E = o !== o, x = o === null, A = Bt(o), k = o === t; g < y; ) {
3527
+ var F = Po((g + y) / 2), W = u(r[F]), V = W !== t, te = W === null, re = W === W, _e = Bt(W);
3528
3528
  if (E)
3529
3529
  var ae = d || re;
3530
3530
  else
3531
- N ? ae = re && (d || V) : x ? ae = re && V && (d || !te) : A ? ae = re && V && !te && (d || !_e) : te || _e ? ae = !1 : ae = d ? W <= o : W < o;
3532
- ae ? g = k + 1 : y = k;
3531
+ k ? ae = re && (d || V) : x ? ae = re && V && (d || !te) : A ? ae = re && V && !te && (d || !_e) : te || _e ? ae = !1 : ae = d ? W <= o : W < o;
3532
+ ae ? g = F + 1 : y = F;
3533
3533
  }
3534
3534
  return yt(y, ge);
3535
3535
  }
@@ -3561,22 +3561,22 @@ Ts.exports;
3561
3561
  if (u)
3562
3562
  E = !1, g = hi;
3563
3563
  else if (y >= s) {
3564
- var N = o ? null : zy(r);
3565
- if (N)
3566
- return _o(N);
3564
+ var k = o ? null : zy(r);
3565
+ if (k)
3566
+ return _o(k);
3567
3567
  E = !1, g = ya, A = new Tr();
3568
3568
  } else
3569
3569
  A = o ? [] : x;
3570
3570
  e:
3571
3571
  for (; ++d < y; ) {
3572
- var k = r[d], W = o ? o(k) : k;
3573
- if (k = u || k !== 0 ? k : 0, E && W === W) {
3572
+ var F = r[d], W = o ? o(F) : F;
3573
+ if (F = u || F !== 0 ? F : 0, E && W === W) {
3574
3574
  for (var V = A.length; V--; )
3575
3575
  if (A[V] === W)
3576
3576
  continue e;
3577
- o && A.push(W), x.push(k);
3577
+ o && A.push(W), x.push(F);
3578
3578
  } else
3579
- g(A, W, u) || (A !== x && A.push(W), x.push(k));
3579
+ g(A, W, u) || (A !== x && A.push(W), x.push(F));
3580
3580
  }
3581
3581
  return x;
3582
3582
  }
@@ -3657,10 +3657,10 @@ Ts.exports;
3657
3657
  }
3658
3658
  function Lf(r, o) {
3659
3659
  if (r !== o) {
3660
- var u = r !== t, d = r === null, g = r === r, y = Bt(r), E = o !== t, x = o === null, A = o === o, N = Bt(o);
3661
- if (!x && !N && !y && r > o || y && E && A && !x && !N || d && E && A || !u && A || !g)
3660
+ var u = r !== t, d = r === null, g = r === r, y = Bt(r), E = o !== t, x = o === null, A = o === o, k = Bt(o);
3661
+ if (!x && !k && !y && r > o || y && E && A && !x && !k || d && E && A || !u && A || !g)
3662
3662
  return 1;
3663
- if (!d && !y && !N && r < o || N && u && g && !d && !y || x && u && g || !E && g || !A)
3663
+ if (!d && !y && !k && r < o || k && u && g && !d && !y || x && u && g || !E && g || !A)
3664
3664
  return -1;
3665
3665
  }
3666
3666
  return 0;
@@ -3671,25 +3671,25 @@ Ts.exports;
3671
3671
  if (A) {
3672
3672
  if (d >= x)
3673
3673
  return A;
3674
- var N = u[d];
3675
- return A * (N == "desc" ? -1 : 1);
3674
+ var k = u[d];
3675
+ return A * (k == "desc" ? -1 : 1);
3676
3676
  }
3677
3677
  }
3678
3678
  return r.index - o.index;
3679
3679
  }
3680
3680
  function Nf(r, o, u, d) {
3681
- for (var g = -1, y = r.length, E = u.length, x = -1, A = o.length, N = st(y - E, 0), k = D(A + N), W = !d; ++x < A; )
3682
- k[x] = o[x];
3681
+ for (var g = -1, y = r.length, E = u.length, x = -1, A = o.length, k = st(y - E, 0), F = D(A + k), W = !d; ++x < A; )
3682
+ F[x] = o[x];
3683
3683
  for (; ++g < E; )
3684
- (W || g < y) && (k[u[g]] = r[g]);
3685
- for (; N--; )
3686
- k[x++] = r[g++];
3687
- return k;
3684
+ (W || g < y) && (F[u[g]] = r[g]);
3685
+ for (; k--; )
3686
+ F[x++] = r[g++];
3687
+ return F;
3688
3688
  }
3689
3689
  function kf(r, o, u, d) {
3690
- for (var g = -1, y = r.length, E = -1, x = u.length, A = -1, N = o.length, k = st(y - x, 0), W = D(k + N), V = !d; ++g < k; )
3690
+ for (var g = -1, y = r.length, E = -1, x = u.length, A = -1, k = o.length, F = st(y - x, 0), W = D(F + k), V = !d; ++g < F; )
3691
3691
  W[g] = r[g];
3692
- for (var te = g; ++A < N; )
3692
+ for (var te = g; ++A < k; )
3693
3693
  W[te + A] = o[A];
3694
3694
  for (; ++E < x; )
3695
3695
  (V || g < y) && (W[te + u[E]] = r[g++]);
@@ -3803,8 +3803,8 @@ Ts.exports;
3803
3803
  function g() {
3804
3804
  for (var y = arguments.length, E = D(y), x = y, A = Vr(g); x--; )
3805
3805
  E[x] = arguments[x];
3806
- var N = y < 3 && E[0] !== A && E[y - 1] !== A ? [] : Jn(E, A);
3807
- if (y -= N.length, y < u)
3806
+ var k = y < 3 && E[0] !== A && E[y - 1] !== A ? [] : Jn(E, A);
3807
+ if (y -= k.length, y < u)
3808
3808
  return qf(
3809
3809
  r,
3810
3810
  o,
@@ -3812,13 +3812,13 @@ Ts.exports;
3812
3812
  g.placeholder,
3813
3813
  t,
3814
3814
  E,
3815
- N,
3815
+ k,
3816
3816
  t,
3817
3817
  t,
3818
3818
  u - y
3819
3819
  );
3820
- var k = this && this !== ht && this instanceof g ? d : r;
3821
- return Ft(k, this, E);
3820
+ var F = this && this !== ht && this instanceof g ? d : r;
3821
+ return Ft(F, this, E);
3822
3822
  }
3823
3823
  return g;
3824
3824
  }
@@ -3851,23 +3851,23 @@ Ts.exports;
3851
3851
  A && Zi(A[0]) && A[1] == (B | $ | I | G) && !A[4].length && A[9] == 1 ? E = E[Yo(A[0])].apply(E, A[3]) : E = y.length == 1 && Zi(y) ? E[x]() : E.thru(y);
3852
3852
  }
3853
3853
  return function() {
3854
- var N = arguments, k = N[0];
3855
- if (E && N.length == 1 && he(k))
3856
- return E.plant(k).value();
3857
- for (var W = 0, V = u ? o[W].apply(this, N) : k; ++W < u; )
3854
+ var k = arguments, F = k[0];
3855
+ if (E && k.length == 1 && he(F))
3856
+ return E.plant(F).value();
3857
+ for (var W = 0, V = u ? o[W].apply(this, k) : F; ++W < u; )
3858
3858
  V = o[W].call(this, V);
3859
3859
  return V;
3860
3860
  };
3861
3861
  });
3862
3862
  }
3863
- function Uo(r, o, u, d, g, y, E, x, A, N) {
3864
- var k = o & B, W = o & C, V = o & R, te = o & ($ | L), re = o & ee, _e = V ? t : Ra(r);
3863
+ function Uo(r, o, u, d, g, y, E, x, A, k) {
3864
+ var F = o & B, W = o & C, V = o & R, te = o & ($ | L), re = o & ee, _e = V ? t : Ra(r);
3865
3865
  function ae() {
3866
3866
  for (var Te = arguments.length, Ae = D(Te), Ut = Te; Ut--; )
3867
3867
  Ae[Ut] = arguments[Ut];
3868
3868
  if (te)
3869
3869
  var At = Vr(ae), Ht = rm(Ae, At);
3870
- if (d && (Ae = Nf(Ae, d, g, te)), y && (Ae = kf(Ae, y, E, te)), Te -= Ht, te && Te < N) {
3870
+ if (d && (Ae = Nf(Ae, d, g, te)), y && (Ae = kf(Ae, y, E, te)), Te -= Ht, te && Te < k) {
3871
3871
  var nt = Jn(Ae, At);
3872
3872
  return qf(
3873
3873
  r,
@@ -3879,11 +3879,11 @@ Ts.exports;
3879
3879
  nt,
3880
3880
  x,
3881
3881
  A,
3882
- N - Te
3882
+ k - Te
3883
3883
  );
3884
3884
  }
3885
3885
  var dn = W ? u : this, kn = V ? dn[r] : r;
3886
- return Te = Ae.length, x ? Ae = f0(Ae, x) : re && Te > 1 && Ae.reverse(), k && A < Te && (Ae.length = A), this && this !== ht && this instanceof ae && (kn = _e || Ra(kn)), kn.apply(dn, Ae);
3886
+ return Te = Ae.length, x ? Ae = f0(Ae, x) : re && Te > 1 && Ae.reverse(), F && A < Te && (Ae.length = A), this && this !== ht && this instanceof ae && (kn = _e || Ra(kn)), kn.apply(dn, Ae);
3887
3887
  }
3888
3888
  return ae;
3889
3889
  }
@@ -3926,10 +3926,10 @@ Ts.exports;
3926
3926
  function Yy(r, o, u, d) {
3927
3927
  var g = o & C, y = Ra(r);
3928
3928
  function E() {
3929
- for (var x = -1, A = arguments.length, N = -1, k = d.length, W = D(k + A), V = this && this !== ht && this instanceof E ? y : r; ++N < k; )
3930
- W[N] = d[N];
3929
+ for (var x = -1, A = arguments.length, k = -1, F = d.length, W = D(F + A), V = this && this !== ht && this instanceof E ? y : r; ++k < F; )
3930
+ W[k] = d[k];
3931
3931
  for (; A--; )
3932
- W[N++] = arguments[++x];
3932
+ W[k++] = arguments[++x];
3933
3933
  return Ft(V, g ? u : this, W);
3934
3934
  }
3935
3935
  return E;
@@ -3944,9 +3944,9 @@ Ts.exports;
3944
3944
  return typeof o == "string" && typeof u == "string" || (o = rn(o), u = rn(u)), r(o, u);
3945
3945
  };
3946
3946
  }
3947
- function qf(r, o, u, d, g, y, E, x, A, N) {
3948
- var k = o & $, W = k ? E : t, V = k ? t : E, te = k ? y : t, re = k ? t : y;
3949
- o |= k ? I : q, o &= ~(k ? q : I), o & P || (o &= ~(C | R));
3947
+ function qf(r, o, u, d, g, y, E, x, A, k) {
3948
+ var F = o & $, W = F ? E : t, V = F ? t : E, te = F ? y : t, re = F ? t : y;
3949
+ o |= F ? I : q, o &= ~(F ? q : I), o & P || (o &= ~(C | R));
3950
3950
  var _e = [
3951
3951
  r,
3952
3952
  o,
@@ -3957,7 +3957,7 @@ Ts.exports;
3957
3957
  V,
3958
3958
  x,
3959
3959
  A,
3960
- N
3960
+ k
3961
3961
  ], ae = u.apply(t, _e);
3962
3962
  return Zi(r) && rd(ae, _e), ae.placeholder = d, ad(ae, r, o);
3963
3963
  }
@@ -3984,9 +3984,9 @@ Ts.exports;
3984
3984
  var A = o & R;
3985
3985
  if (!A && typeof r != "function")
3986
3986
  throw new Xt(c);
3987
- var N = d ? d.length : 0;
3988
- if (N || (o &= ~(I | q), d = g = t), E = E === t ? E : st(ye(E), 0), x = x === t ? x : ye(x), N -= g ? g.length : 0, o & q) {
3989
- var k = d, W = g;
3987
+ var k = d ? d.length : 0;
3988
+ if (k || (o &= ~(I | q), d = g = t), E = E === t ? E : st(ye(E), 0), x = x === t ? x : ye(x), k -= g ? g.length : 0, o & q) {
3989
+ var F = d, W = g;
3990
3990
  d = g = t;
3991
3991
  }
3992
3992
  var V = A ? t : Ki(r), te = [
@@ -3995,13 +3995,13 @@ Ts.exports;
3995
3995
  u,
3996
3996
  d,
3997
3997
  g,
3998
- k,
3998
+ F,
3999
3999
  W,
4000
4000
  y,
4001
4001
  E,
4002
4002
  x
4003
4003
  ];
4004
- if (V && u0(te, V), r = te[0], o = te[1], u = te[2], d = te[3], g = te[4], x = te[9] = te[9] === t ? A ? 0 : r.length : st(te[9] - N, 0), !x && o & ($ | L) && (o &= ~($ | L)), !o || o == C)
4004
+ if (V && u0(te, V), r = te[0], o = te[1], u = te[2], d = te[3], g = te[4], x = te[9] = te[9] === t ? A ? 0 : r.length : st(te[9] - k, 0), !x && o & ($ | L) && (o &= ~($ | L)), !o || o == C)
4005
4005
  var re = Gy(r, o, u);
4006
4006
  else
4007
4007
  o == $ || o == L ? re = qy(r, o, x) : (o == I || o == (C | I)) && !g.length ? re = Yy(r, o, u, d) : re = Uo.apply(t, te);
@@ -4021,9 +4021,9 @@ Ts.exports;
4021
4021
  var E = u & w, x = r.length, A = o.length;
4022
4022
  if (x != A && !(E && A > x))
4023
4023
  return !1;
4024
- var N = y.get(r), k = y.get(o);
4025
- if (N && k)
4026
- return N == o && k == r;
4024
+ var k = y.get(r), F = y.get(o);
4025
+ if (k && F)
4026
+ return k == o && F == r;
4027
4027
  var W = -1, V = !0, te = u & T ? new Tr() : t;
4028
4028
  for (y.set(r, o), y.set(o, r); ++W < x; ) {
4029
4029
  var re = r[W], _e = o[W];
@@ -4073,12 +4073,12 @@ Ts.exports;
4073
4073
  var A = d & w;
4074
4074
  if (x || (x = _o), r.size != o.size && !A)
4075
4075
  return !1;
4076
- var N = E.get(r);
4077
- if (N)
4078
- return N == o;
4076
+ var k = E.get(r);
4077
+ if (k)
4078
+ return k == o;
4079
4079
  d |= T, E.set(r, o);
4080
- var k = Kf(x(r), x(o), d, g, y, E);
4081
- return E.delete(r), k;
4080
+ var F = Kf(x(r), x(o), d, g, y, E);
4081
+ return E.delete(r), F;
4082
4082
  case vr:
4083
4083
  if (Sa)
4084
4084
  return Sa.call(r) == Sa.call(o);
@@ -4086,8 +4086,8 @@ Ts.exports;
4086
4086
  return !1;
4087
4087
  }
4088
4088
  function Jy(r, o, u, d, g, y) {
4089
- var E = u & w, x = zi(r), A = x.length, N = zi(o), k = N.length;
4090
- if (A != k && !E)
4089
+ var E = u & w, x = zi(r), A = x.length, k = zi(o), F = k.length;
4090
+ if (A != F && !E)
4091
4091
  return !1;
4092
4092
  for (var W = A; W--; ) {
4093
4093
  var V = x[W];
@@ -4919,23 +4919,23 @@ Ts.exports;
4919
4919
  return d.placeholder = Ed.placeholder, d;
4920
4920
  }
4921
4921
  function wd(r, o, u) {
4922
- var d, g, y, E, x, A, N = 0, k = !1, W = !1, V = !0;
4922
+ var d, g, y, E, x, A, k = 0, F = !1, W = !1, V = !0;
4923
4923
  if (typeof r != "function")
4924
4924
  throw new Xt(c);
4925
- o = rn(o) || 0, Ke(u) && (k = !!u.leading, W = "maxWait" in u, y = W ? st(rn(u.maxWait) || 0, o) : y, V = "trailing" in u ? !!u.trailing : V);
4925
+ o = rn(o) || 0, Ke(u) && (F = !!u.leading, W = "maxWait" in u, y = W ? st(rn(u.maxWait) || 0, o) : y, V = "trailing" in u ? !!u.trailing : V);
4926
4926
  function te(nt) {
4927
4927
  var dn = d, kn = g;
4928
- return d = g = t, N = nt, E = r.apply(kn, dn), E;
4928
+ return d = g = t, k = nt, E = r.apply(kn, dn), E;
4929
4929
  }
4930
4930
  function re(nt) {
4931
- return N = nt, x = Pa(Te, o), k ? te(nt) : E;
4931
+ return k = nt, x = Pa(Te, o), F ? te(nt) : E;
4932
4932
  }
4933
4933
  function _e(nt) {
4934
- var dn = nt - A, kn = nt - N, Bd = o - dn;
4934
+ var dn = nt - A, kn = nt - k, Bd = o - dn;
4935
4935
  return W ? yt(Bd, y - kn) : Bd;
4936
4936
  }
4937
4937
  function ae(nt) {
4938
- var dn = nt - A, kn = nt - N;
4938
+ var dn = nt - A, kn = nt - k;
4939
4939
  return A === t || dn >= o || dn < 0 || W && kn >= y;
4940
4940
  }
4941
4941
  function Te() {
@@ -4948,7 +4948,7 @@ Ts.exports;
4948
4948
  return x = t, V && d ? te(nt) : (d = g = t, E);
4949
4949
  }
4950
4950
  function Ut() {
4951
- x !== t && If(x), N = 0, d = A = g = x = t;
4951
+ x !== t && If(x), k = 0, d = A = g = x = t;
4952
4952
  }
4953
4953
  function At() {
4954
4954
  return x === t ? E : Ae(Qo());
@@ -5278,8 +5278,8 @@ Ts.exports;
5278
5278
  var u = -1, d = o.length, g = d > 2 ? o[2] : t;
5279
5279
  for (g && Ot(o[0], o[1], g) && (d = 1); ++u < d; )
5280
5280
  for (var y = o[u], E = It(y), x = -1, A = E.length; ++x < A; ) {
5281
- var N = E[x], k = r[N];
5282
- (k === t || fn(k, Ur[N]) && !ke.call(r, N)) && (r[N] = y[N]);
5281
+ var k = E[x], F = r[k];
5282
+ (F === t || fn(F, Ur[k]) && !ke.call(r, k)) && (r[k] = y[k]);
5283
5283
  }
5284
5284
  return r;
5285
5285
  }), F_ = we(function(r) {
@@ -5502,19 +5502,19 @@ Ts.exports;
5502
5502
  function PE(r, o, u) {
5503
5503
  var d = v.templateSettings;
5504
5504
  u && Ot(r, o, u) && (o = t), r = Ie(r), o = ns({}, o, d, zf);
5505
- var g = ns({}, o.imports, d.imports, zf), y = ft(g), E = Ei(g, y), x, A, N = 0, k = o.interpolate || go, W = "__p += '", V = Si(
5506
- (o.escape || go).source + "|" + k.source + "|" + (k === po ? Qe : go).source + "|" + (o.evaluate || go).source + "|$",
5505
+ var g = ns({}, o.imports, d.imports, zf), y = ft(g), E = Ei(g, y), x, A, k = 0, F = o.interpolate || go, W = "__p += '", V = Si(
5506
+ (o.escape || go).source + "|" + F.source + "|" + (F === po ? Qe : go).source + "|" + (o.evaluate || go).source + "|$",
5507
5507
  "g"
5508
5508
  ), te = "//# sourceURL=" + (ke.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Wv + "]") + `
5509
5509
  `;
5510
5510
  r.replace(V, function(ae, Te, Ae, Ut, At, Ht) {
5511
- return Ae || (Ae = Ut), W += r.slice(N, Ht).replace(mv, sm), Te && (x = !0, W += `' +
5511
+ return Ae || (Ae = Ut), W += r.slice(k, Ht).replace(mv, sm), Te && (x = !0, W += `' +
5512
5512
  __e(` + Te + `) +
5513
5513
  '`), At && (A = !0, W += `';
5514
5514
  ` + At + `;
5515
5515
  __p += '`), Ae && (W += `' +
5516
5516
  ((__t = (` + Ae + `)) == null ? '' : __t) +
5517
- '`), N = Ht + ae.length, ae;
5517
+ '`), k = Ht + ae.length, ae;
5518
5518
  }), W += `';
5519
5519
  `;
5520
5520
  var re = ke.call(o, "variable") && o.variable;
@@ -5591,9 +5591,9 @@ function print() { __p += __j.call(arguments, '') }
5591
5591
  return A + d;
5592
5592
  if (E && (x += A.length - x), iu(g)) {
5593
5593
  if (r.slice(x).search(g)) {
5594
- var N, k = A;
5595
- for (g.global || (g = Si(g.source, Ie(Kt.exec(g)) + "g")), g.lastIndex = 0; N = g.exec(k); )
5596
- var W = N.index;
5594
+ var k, F = A;
5595
+ for (g.global || (g = Si(g.source, Ie(Kt.exec(g)) + "g")), g.lastIndex = 0; k = g.exec(F); )
5596
+ var W = k.index;
5597
5597
  A = A.slice(0, W === t ? x : W);
5598
5598
  }
5599
5599
  } else if (r.indexOf(Wt(g), x) != x) {
@@ -5676,10 +5676,10 @@ function print() { __p += __j.call(arguments, '') }
5676
5676
  return Qt(g, function(x) {
5677
5677
  var A = o[x];
5678
5678
  r[x] = A, E && (r.prototype[x] = function() {
5679
- var N = this.__chain__;
5680
- if (y || N) {
5681
- var k = r(this.__wrapped__), W = k.__actions__ = Dt(this.__actions__);
5682
- return W.push({ func: A, args: arguments, thisArg: r }), k.__chain__ = N, k;
5679
+ var k = this.__chain__;
5680
+ if (y || k) {
5681
+ var F = r(this.__wrapped__), W = F.__actions__ = Dt(this.__actions__);
5682
+ return W.push({ func: A, args: arguments, thisArg: r }), F.__chain__ = k, F;
5683
5683
  }
5684
5684
  return A.apply(r, Kn([this.value()], arguments));
5685
5685
  });
@@ -5830,13 +5830,13 @@ function print() { __p += __j.call(arguments, '') }
5830
5830
  }, yn(Ce.prototype, function(r, o) {
5831
5831
  var u = /^(?:filter|find|map|reject)|While$/.test(o), d = /^(?:head|last)$/.test(o), g = v[d ? "take" + (o == "last" ? "Right" : "") : o], y = d || /^find/.test(o);
5832
5832
  g && (v.prototype[o] = function() {
5833
- var E = this.__wrapped__, x = d ? [1] : arguments, A = E instanceof Ce, N = x[0], k = A || he(E), W = function(Te) {
5833
+ var E = this.__wrapped__, x = d ? [1] : arguments, A = E instanceof Ce, k = x[0], F = A || he(E), W = function(Te) {
5834
5834
  var Ae = g.apply(v, Kn([Te], x));
5835
5835
  return d && V ? Ae[0] : Ae;
5836
5836
  };
5837
- k && u && typeof N == "function" && N.length != 1 && (A = k = !1);
5837
+ F && u && typeof k == "function" && k.length != 1 && (A = F = !1);
5838
5838
  var V = this.__chain__, te = !!this.__actions__.length, re = y && !V, _e = A && !te;
5839
- if (!y && k) {
5839
+ if (!y && F) {
5840
5840
  E = _e ? E : new Ce(this);
5841
5841
  var ae = r.apply(E, x);
5842
5842
  return ae.__actions__.push({ func: Ko, args: [W], thisArg: t }), new Zt(ae, V);
@@ -5955,16 +5955,16 @@ function eo() {
5955
5955
  function Jc(e) {
5956
5956
  const { name: n, type: t, path: a } = e, s = a.split(".").at(-1);
5957
5957
  switch (t) {
5958
- case F.WEBFORM:
5959
- return `${n}`;
5960
- case F.METHOD:
5961
- case F.CLASS:
5962
- return s ? `${n}.${s}` : n;
5963
- case F.ROLES:
5964
- case F.HTTP_HANDLERS:
5958
+ case N.WEBFORM:
5959
+ case N.ROLES:
5960
+ case N.HTTP_HANDLERS:
5961
+ case N.SETTINGS:
5962
+ case N.MODEL:
5965
5963
  return n;
5964
+ case N.METHOD:
5965
+ case N.CLASS:
5966
5966
  default:
5967
- return `${n}.${t}`;
5967
+ return s ? `${n}.${s}` : n;
5968
5968
  }
5969
5969
  }
5970
5970
  const sT = (e) => {
@@ -7057,7 +7057,7 @@ shared function onStop()`
7057
7057
  ext: s,
7058
7058
  ...p,
7059
7059
  name: "DataStore",
7060
- type: F.CLASS,
7060
+ type: N.CLASS,
7061
7061
  path: h,
7062
7062
  error: null,
7063
7063
  flags: { expanded: !1, loading: !1, cached: !1 },
@@ -7076,7 +7076,7 @@ shared function onStop()`
7076
7076
  ext: s,
7077
7077
  ...C,
7078
7078
  name: "QodlyEvents",
7079
- type: F.CLASS,
7079
+ type: N.CLASS,
7080
7080
  path: `Classes/QodlyEvents.${s}`,
7081
7081
  error: null,
7082
7082
  flags: { expanded: !1, loading: !1, cached: !1 },
@@ -7102,14 +7102,14 @@ shared function onStop()`
7102
7102
  ), G = `Classes/${C}.${(L == null ? void 0 : L.ext) || s}`, ee = `Classes/${C}Entity.${(I == null ? void 0 : I.ext) || s}`, De = `Classes/${P}.${(q == null ? void 0 : q.ext) || s}`;
7103
7103
  return {
7104
7104
  name: C,
7105
- type: F.CLASS_FOLDER,
7105
+ type: N.CLASS_FOLDER,
7106
7106
  children: [
7107
7107
  // datastore classes
7108
7108
  {
7109
7109
  ext: s,
7110
7110
  ...L,
7111
7111
  name: "DataClass",
7112
- type: F.CLASS,
7112
+ type: N.CLASS,
7113
7113
  path: G,
7114
7114
  error: null,
7115
7115
  flags: {},
@@ -7125,7 +7125,7 @@ shared function onStop()`
7125
7125
  ext: s,
7126
7126
  ...I,
7127
7127
  name: "Entity",
7128
- type: F.CLASS,
7128
+ type: N.CLASS,
7129
7129
  path: ee,
7130
7130
  error: null,
7131
7131
  flags: {},
@@ -7141,7 +7141,7 @@ shared function onStop()`
7141
7141
  ext: s,
7142
7142
  ...q,
7143
7143
  name: "Selection",
7144
- type: F.CLASS,
7144
+ type: N.CLASS,
7145
7145
  path: De,
7146
7146
  error: null,
7147
7147
  flags: {},
@@ -7180,7 +7180,7 @@ shared function onStop()`
7180
7180
  const R = `Classes/${C.name}.${(C == null ? void 0 : C.ext) || s}`;
7181
7181
  return {
7182
7182
  ...C,
7183
- type: F.CLASS,
7183
+ type: N.CLASS,
7184
7184
  path: R,
7185
7185
  error: null,
7186
7186
  flags: { expanded: !1, loading: !1, cached: !1 },
@@ -8944,7 +8944,7 @@ const oP = () => CA(), Gn = DA, nl = j(
8944
8944
  return (a == null ? void 0 : a.breakpoints[n].offset) || 0;
8945
8945
  }), MP = (e, n, t, a) => j(Nt, (s) => {
8946
8946
  var p;
8947
- const i = ((p = ct(s, e)) == null ? void 0 : p.exceptions) || [], c = n === F.CLASS, l = c && a ? `${a}.${t}` : t;
8947
+ const i = ((p = ct(s, e)) == null ? void 0 : p.exceptions) || [], c = n === N.CLASS, l = c && a ? `${a}.${t}` : t;
8948
8948
  return (l ? i.filter((h) => h.location === l) : i).map((h) => ({
8949
8949
  ...h,
8950
8950
  locationLine: c ? h.locationLine : h.locationLine + 1
@@ -8958,14 +8958,14 @@ const oP = () => CA(), Gn = DA, nl = j(
8958
8958
  (e) => e.activeTab
8959
8959
  ), NP = j(
8960
8960
  dr,
8961
- (e) => e.recent.filter(({ type: n }) => n !== F.DEBUGGER)
8961
+ (e) => e.recent.filter(({ type: n }) => n !== N.DEBUGGER)
8962
8962
  ), kA = j(
8963
8963
  dr,
8964
8964
  ({ tabs: e, activeTab: n }) => e.find(({ path: t }) => t === n)
8965
8965
  ), kP = j(dr, ({ tabs: e }) => e.reduce((t, a) => (a == null ? void 0 : a.weight) > ((t == null ? void 0 : t.weight) || 0) ? a : t, null)), FP = j(
8966
8966
  no,
8967
8967
  (e) => e.filter(
8968
- ({ type: n, flags: t }) => n === F.WEBFORM && t.enabled === !1
8968
+ ({ type: n, flags: t }) => n === N.WEBFORM && t.enabled === !1
8969
8969
  ).map(({ path: n }) => n)
8970
8970
  ), jP = j(
8971
8971
  no,
@@ -8988,7 +8988,7 @@ const oP = () => CA(), Gn = DA, nl = j(
8988
8988
  ({ threadId: n, currentStackFrame: { source: t }, tabPath: a }) => ({
8989
8989
  name: xO(n, t),
8990
8990
  path: a,
8991
- type: F.DEBUGGER,
8991
+ type: N.DEBUGGER,
8992
8992
  content: t == null ? void 0 : t.content,
8993
8993
  flags: {},
8994
8994
  extra: { source: t }
@@ -10271,7 +10271,7 @@ const qI = (e) => e.reduce((n, t) => ({
10271
10271
  }
10272
10272
  const s = {
10273
10273
  name: Ug,
10274
- type: F.ROLES,
10274
+ type: N.ROLES,
10275
10275
  date: a.date,
10276
10276
  view: {
10277
10277
  panel: {
@@ -10539,7 +10539,7 @@ const qI = (e) => e.reduce((n, t) => ({
10539
10539
  ), Kg = [
10540
10540
  {
10541
10541
  name: Je.WEBFORMS,
10542
- type: F.FOLDER,
10542
+ type: N.FOLDER,
10543
10543
  children: [],
10544
10544
  path: Je.WEBFORMS,
10545
10545
  error: null,
@@ -10554,7 +10554,7 @@ const qI = (e) => e.reduce((n, t) => ({
10554
10554
  },
10555
10555
  {
10556
10556
  name: Je.METHODS,
10557
- type: F.FOLDER,
10557
+ type: N.FOLDER,
10558
10558
  children: [],
10559
10559
  path: Je.METHODS,
10560
10560
  error: null,
@@ -10568,7 +10568,7 @@ const qI = (e) => e.reduce((n, t) => ({
10568
10568
  },
10569
10569
  {
10570
10570
  name: Je.CLASSES,
10571
- type: F.FOLDER,
10571
+ type: N.FOLDER,
10572
10572
  children: [],
10573
10573
  path: Je.CLASSES,
10574
10574
  error: null,
@@ -10582,7 +10582,7 @@ const qI = (e) => e.reduce((n, t) => ({
10582
10582
  },
10583
10583
  {
10584
10584
  name: Je.SHARED,
10585
- type: F.FOLDER,
10585
+ type: N.FOLDER,
10586
10586
  children: [],
10587
10587
  path: Je.SHARED,
10588
10588
  error: null,
@@ -10596,7 +10596,7 @@ const qI = (e) => e.reduce((n, t) => ({
10596
10596
  },
10597
10597
  {
10598
10598
  name: "Debugger",
10599
- type: F.FOLDER,
10599
+ type: N.FOLDER,
10600
10600
  children: [],
10601
10601
  path: "Debugger",
10602
10602
  error: null,
@@ -10609,7 +10609,7 @@ const qI = (e) => e.reduce((n, t) => ({
10609
10609
  },
10610
10610
  {
10611
10611
  name: "Roles And Privileges",
10612
- type: F.FILE,
10612
+ type: N.FILE,
10613
10613
  ext: "json",
10614
10614
  path: mt,
10615
10615
  error: null,
@@ -10632,7 +10632,7 @@ const qI = (e) => e.reduce((n, t) => ({
10632
10632
  },
10633
10633
  {
10634
10634
  name: "Model",
10635
- type: F.MODEL,
10635
+ type: N.MODEL,
10636
10636
  ext: "4DModel",
10637
10637
  path: Xa,
10638
10638
  error: null,
@@ -10654,7 +10654,7 @@ const qI = (e) => e.reduce((n, t) => ({
10654
10654
  },
10655
10655
  {
10656
10656
  name: "HTTP Handlers",
10657
- type: F.HTTP_HANDLERS,
10657
+ type: N.HTTP_HANDLERS,
10658
10658
  ext: "json",
10659
10659
  path: jn,
10660
10660
  error: null,
@@ -10673,7 +10673,7 @@ const qI = (e) => e.reduce((n, t) => ({
10673
10673
  },
10674
10674
  {
10675
10675
  name: "Settings",
10676
- type: F.FILE,
10676
+ type: N.FILE,
10677
10677
  ext: "json",
10678
10678
  path: "qodlyApp.json",
10679
10679
  error: null,
@@ -10688,7 +10688,7 @@ const qI = (e) => e.reduce((n, t) => ({
10688
10688
  ], UR = Yh(), HR = !!xe.get(UR, "features.experimental.reports");
10689
10689
  HR && Kg.unshift({
10690
10690
  name: Je.REPORTS,
10691
- type: F.FOLDER,
10691
+ type: N.FOLDER,
10692
10692
  children: [],
10693
10693
  path: Je.REPORTS,
10694
10694
  error: null,
@@ -10776,7 +10776,7 @@ const Jg = zt({
10776
10776
  }
10777
10777
  }), a.children = a.children.filter(
10778
10778
  (c) => !t.includes(c.name)
10779
- ), a.children = a.children.concat(i), a.children.sort((c, l) => c.name === "DataStore" ? -1 : l.name === "DataStore" ? 1 : c.type === F.CLASS_FOLDER && l.type === F.CLASS_FOLDER || c.type === F.CLASS && l.type === F.CLASS ? c.name.localeCompare(l.name) : c.type === F.CLASS_FOLDER && l.type !== F.CLASS_FOLDER ? -1 : 1), e[s] = a, e;
10779
+ ), a.children = a.children.concat(i), a.children.sort((c, l) => c.name === "DataStore" ? -1 : l.name === "DataStore" ? 1 : c.type === N.CLASS_FOLDER && l.type === N.CLASS_FOLDER || c.type === N.CLASS && l.type === N.CLASS ? c.name.localeCompare(l.name) : c.type === N.CLASS_FOLDER && l.type !== N.CLASS_FOLDER ? -1 : 1), e[s] = a, e;
10780
10780
  },
10781
10781
  addClassesFolder: (e, n) => {
10782
10782
  const { payload: t } = n;
@@ -10788,7 +10788,7 @@ const Jg = zt({
10788
10788
  const s = e.findIndex((c) => c.name === "Classes");
10789
10789
  let i = 0;
10790
10790
  return a.children.forEach((c, l) => {
10791
- c.type === F.CLASS_FOLDER && (i = l);
10791
+ c.type === N.CLASS_FOLDER && (i = l);
10792
10792
  }), t.forEach((c) => {
10793
10793
  var l;
10794
10794
  a.children = (l = a.children) == null ? void 0 : l.filter((f) => {
@@ -10813,7 +10813,7 @@ const Jg = zt({
10813
10813
  }), t.forEach((c) => {
10814
10814
  var l;
10815
10815
  (l = a == null ? void 0 : a.children) == null || l.splice(i + 1, 0, c);
10816
- }), a.children.sort((c, l) => c.name === "DataStore" ? -1 : l.name === "DataStore" ? 1 : c.type === F.CLASS_FOLDER && l.type === F.CLASS_FOLDER ? c.name.localeCompare(l.name) : c.type === F.CLASS_FOLDER && l.type !== F.CLASS_FOLDER ? -1 : 1), e[s] = a, e;
10816
+ }), a.children.sort((c, l) => c.name === "DataStore" ? -1 : l.name === "DataStore" ? 1 : c.type === N.CLASS_FOLDER && l.type === N.CLASS_FOLDER ? c.name.localeCompare(l.name) : c.type === N.CLASS_FOLDER && l.type !== N.CLASS_FOLDER ? -1 : 1), e[s] = a, e;
10817
10817
  },
10818
10818
  toggleExpandFolder: (e, n) => (e = Re(e, {
10819
10819
  ...n.payload,
@@ -11129,8 +11129,8 @@ const Jg = zt({
11129
11129
  var T;
11130
11130
  const { fileName: a, parentNode: s, path: i, type: c, qodly: l } = t.meta.arg, f = ar(c, l), p = `${i}/${a}${f ? `.${f}` : ""}`, { editor: h, supportedEditors: m } = Rt(p);
11131
11131
  switch (c) {
11132
- case F.CLASS:
11133
- case F.METHOD:
11132
+ case N.CLASS:
11133
+ case N.METHOD:
11134
11134
  En.next({
11135
11135
  action: wn.WILL_CREATE,
11136
11136
  payload: {
@@ -11146,7 +11146,7 @@ const Jg = zt({
11146
11146
  {
11147
11147
  name: a,
11148
11148
  path: p,
11149
- type: c === F.CLASS ? c : F.FILE,
11149
+ type: c === N.CLASS ? c : N.FILE,
11150
11150
  error: null,
11151
11151
  flags: {
11152
11152
  loading: !0
@@ -11156,7 +11156,7 @@ const Jg = zt({
11156
11156
  date: (/* @__PURE__ */ new Date()).toISOString(),
11157
11157
  info: {
11158
11158
  exist: !0,
11159
- kind: c === F.CLASS ? "userClass" : ""
11159
+ kind: c === N.CLASS ? "userClass" : ""
11160
11160
  }
11161
11161
  }
11162
11162
  ], w = Re(n, {
@@ -11168,7 +11168,7 @@ const Jg = zt({
11168
11168
  const { fileName: a, path: s, type: i, qodly: c } = t.meta.arg, l = ar(i, c), f = `${s}/${a}${l ? `.${l}` : ""}`, { editor: p, supportedEditors: h } = Rt(f), m = Re(n, {
11169
11169
  name: a,
11170
11170
  path: f,
11171
- type: F.FILE,
11171
+ type: N.FILE,
11172
11172
  error: null,
11173
11173
  flags: {},
11174
11174
  config: { editor: p, supportedEditors: h },
@@ -11176,12 +11176,12 @@ const Jg = zt({
11176
11176
  date: (/* @__PURE__ */ new Date()).toISOString(),
11177
11177
  info: {
11178
11178
  exist: !0,
11179
- kind: i === F.CLASS ? "userClass" : ""
11179
+ kind: i === N.CLASS ? "userClass" : ""
11180
11180
  }
11181
11181
  });
11182
11182
  switch (i) {
11183
- case F.CLASS:
11184
- case F.METHOD:
11183
+ case N.CLASS:
11184
+ case N.METHOD:
11185
11185
  En.next({
11186
11186
  action: wn.DID_CREATE,
11187
11187
  payload: {
@@ -11196,7 +11196,7 @@ const Jg = zt({
11196
11196
  return n = Re(n, {
11197
11197
  name: a,
11198
11198
  path: l,
11199
- type: F.FILE,
11199
+ type: N.FILE,
11200
11200
  error: { message: "Failed creating file" },
11201
11201
  flags: {},
11202
11202
  config: { editor: f, supportedEditors: p },
@@ -11325,7 +11325,7 @@ end
11325
11325
  ];
11326
11326
  function qR(e, n) {
11327
11327
  switch (e) {
11328
- case F.WEBFORMS: {
11328
+ case N.WEBFORMS: {
11329
11329
  const t = {
11330
11330
  metadata: {
11331
11331
  v: "1.0",
@@ -11355,7 +11355,7 @@ function qR(e, n) {
11355
11355
  };
11356
11356
  return n["webforms.display-mode"] === Mg.AIRY && (t.components.ROOT.props.airyMode = !0), t;
11357
11357
  }
11358
- case F.REPORT:
11358
+ case N.REPORT:
11359
11359
  return {
11360
11360
  metadata: {
11361
11361
  v: "1.0",
@@ -11389,7 +11389,7 @@ function qR(e, n) {
11389
11389
  }
11390
11390
  ]
11391
11391
  };
11392
- case F.METHODS:
11392
+ case N.METHODS:
11393
11393
  return `//%attributes = {}
11394
11394
  `;
11395
11395
  default:
@@ -11398,14 +11398,14 @@ function qR(e, n) {
11398
11398
  }
11399
11399
  function YR(e, n, t) {
11400
11400
  switch (n) {
11401
- case F.MOBILEFORM:
11401
+ case N.MOBILEFORM:
11402
11402
  return `${e}.MForm`;
11403
- case F.WEBFORM:
11403
+ case N.WEBFORM:
11404
11404
  return `${e}.WebForm`;
11405
- case F.REPORT:
11405
+ case N.REPORT:
11406
11406
  return `${e}.QoDoc`;
11407
- case F.METHOD:
11408
- case F.CLASS:
11407
+ case N.METHOD:
11408
+ case N.CLASS:
11409
11409
  return `${e}.${t ? "4qs" : "4dm"}`;
11410
11410
  default:
11411
11411
  return e;
@@ -11414,34 +11414,34 @@ function YR(e, n, t) {
11414
11414
  function c$(e) {
11415
11415
  switch (e) {
11416
11416
  case Je.WEBFORMS:
11417
- return F.WEBFORMS;
11417
+ return N.WEBFORMS;
11418
11418
  case Je.METHODS:
11419
- return F.METHODS;
11419
+ return N.METHODS;
11420
11420
  case Je.CLASSES:
11421
- return F.CLASSES;
11421
+ return N.CLASSES;
11422
11422
  case Je.REPORTS:
11423
11423
  case "Reports":
11424
- return F.REPORT;
11424
+ return N.REPORT;
11425
11425
  case "Mobile":
11426
- return F.MOBILE;
11426
+ return N.MOBILE;
11427
11427
  default:
11428
11428
  return e;
11429
11429
  }
11430
11430
  }
11431
11431
  function zR(e) {
11432
11432
  switch (e) {
11433
- case F.WEBFORMS:
11434
- return F.WEBFORM;
11435
- case F.REPORT:
11436
- return F.REPORT;
11437
- case F.CLASSES:
11438
- return F.CLASS;
11439
- case F.METHODS:
11440
- return F.METHOD;
11441
- case F.FOLDER:
11442
- return F.FOLDER;
11443
- case F.MOBILE:
11444
- return F.MOBILEFORM;
11433
+ case N.WEBFORMS:
11434
+ return N.WEBFORM;
11435
+ case N.REPORT:
11436
+ return N.REPORT;
11437
+ case N.CLASSES:
11438
+ return N.CLASS;
11439
+ case N.METHODS:
11440
+ return N.METHOD;
11441
+ case N.FOLDER:
11442
+ return N.FOLDER;
11443
+ case N.MOBILE:
11444
+ return N.MOBILEFORM;
11445
11445
  default:
11446
11446
  return e;
11447
11447
  }
@@ -11454,7 +11454,7 @@ const l$ = X("files/tryEditMethod", async ({ method: e }, { dispatch: n }) => {
11454
11454
  name: a,
11455
11455
  path: e.filePath,
11456
11456
  date: (/* @__PURE__ */ new Date()).toISOString(),
11457
- type: F.CLASS,
11457
+ type: N.CLASS,
11458
11458
  editor: s
11459
11459
  },
11460
11460
  line: e.startingLine + 1
@@ -11514,7 +11514,7 @@ const l$ = X("files/tryEditMethod", async ({ method: e }, { dispatch: n }) => {
11514
11514
  p.map(async ({ name: b, content: _ }) => {
11515
11515
  await n(
11516
11516
  ja({
11517
- type: F.CLASS,
11517
+ type: N.CLASS,
11518
11518
  path: s,
11519
11519
  fileName: b,
11520
11520
  parentNode: c,
@@ -11691,7 +11691,7 @@ const f$ = X("explorer/uploadFileAndGetResponse", async (e) => {
11691
11691
  name: YR(e, n, f),
11692
11692
  content: s || qR(n, p),
11693
11693
  path: t,
11694
- asText: [F.CLASS, F.METHOD].includes(n)
11694
+ asText: [N.CLASS, N.METHOD].includes(n)
11695
11695
  });
11696
11696
  return a.error && (a.flags.expanded ? await i($r(a.path)) : await i(ps(a.path))), {
11697
11697
  qodly: f,
@@ -11707,13 +11707,13 @@ function KR(e, n) {
11707
11707
  const { qodly: t = !0, withExtension: a = !0 } = n || {}, s = ar(e.type, t);
11708
11708
  let i = "";
11709
11709
  switch (e.type) {
11710
- case F.WEBFORM:
11710
+ case N.WEBFORM:
11711
11711
  i = `${Je.WEBFORMS}/${e.name}`;
11712
11712
  break;
11713
- case F.METHOD:
11713
+ case N.METHOD:
11714
11714
  i = `${Je.METHODS}/${e.name}`;
11715
11715
  break;
11716
- case F.CLASS:
11716
+ case N.CLASS:
11717
11717
  i = `${Je.CLASSES}/${e.name}`;
11718
11718
  break;
11719
11719
  default:
@@ -11780,7 +11780,7 @@ const p$ = X(
11780
11780
  };
11781
11781
  t != null && t.info && (c.kind = t.info.kind);
11782
11782
  const l = nc(e.path);
11783
- l === F.METHOD && (c.attributes = $c(i.content), i.content = gh(i.content, {}));
11783
+ l === N.METHOD && (c.attributes = $c(i.content), i.content = gh(i.content, {}));
11784
11784
  const { content: f, date: p, ext: h } = i;
11785
11785
  return n.confirmed === void 0 && (n.confirmed = !0), {
11786
11786
  date: p,
@@ -11830,7 +11830,7 @@ const p$ = X(
11830
11830
  },
11831
11831
  name: "Roles & Privileges",
11832
11832
  path: e.path,
11833
- type: F.ROLES,
11833
+ type: N.ROLES,
11834
11834
  initialContent: c,
11835
11835
  content: c
11836
11836
  };
@@ -11848,7 +11848,7 @@ const p$ = X(
11848
11848
  },
11849
11849
  name: "Settings",
11850
11850
  path: e.path,
11851
- type: F.SETTINGS,
11851
+ type: N.SETTINGS,
11852
11852
  initialContent: c,
11853
11853
  content: c
11854
11854
  };
@@ -11909,7 +11909,7 @@ const p$ = X(
11909
11909
  source: P
11910
11910
  } = C.currentStackFrame, $ = {
11911
11911
  name: e.name,
11912
- type: F.DEBUGGER,
11912
+ type: N.DEBUGGER,
11913
11913
  date: (/* @__PURE__ */ new Date()).toISOString(),
11914
11914
  path: e.path,
11915
11915
  content: R,
@@ -11986,7 +11986,7 @@ const p$ = X(
11986
11986
  };
11987
11987
  }
11988
11988
  }
11989
- if (e.type === F.CLASS && s) {
11989
+ if (e.type === N.CLASS && s) {
11990
11990
  const P = s.kind, $ = `${e.name}.${m ? "4qs" : "4dm"}`, L = ea()[P]({
11991
11991
  name: $,
11992
11992
  qodly: m
@@ -12105,7 +12105,7 @@ const p$ = X(
12105
12105
  name: c.name,
12106
12106
  date: c.date || (/* @__PURE__ */ new Date()).toISOString(),
12107
12107
  path: l,
12108
- type: F.CLASS,
12108
+ type: N.CLASS,
12109
12109
  editor: c.config.editor
12110
12110
  },
12111
12111
  node: f
@@ -12479,7 +12479,7 @@ const p$ = X(
12479
12479
  }
12480
12480
  ), eD = X("tabs/fetchChanges", async (e, { getState: n }) => {
12481
12481
  const a = no(n()).filter(
12482
- (s) => [F.METHOD, F.CLASS].includes(s.type)
12482
+ (s) => [N.METHOD, N.CLASS].includes(s.type)
12483
12483
  );
12484
12484
  return Ha(
12485
12485
  ...a.map((s) => {
@@ -12637,11 +12637,11 @@ const p$ = X(
12637
12637
  n(cl({ path: "project", value: s }));
12638
12638
  } else {
12639
12639
  const { content: s } = a;
12640
- e.type === F.WEBFORM ? $w.next({
12640
+ e.type === N.WEBFORM ? $w.next({
12641
12641
  path: e.path,
12642
12642
  action: Mw.RELOAD,
12643
12643
  payload: s.components
12644
- }) : e.type === F.MODEL && iA.next({
12644
+ }) : e.type === N.MODEL && iA.next({
12645
12645
  action: "reload",
12646
12646
  payload: s
12647
12647
  });
@@ -12649,7 +12649,7 @@ const p$ = X(
12649
12649
  return a;
12650
12650
  }), Ba = X("files/saveTab", async ({ tab: e }, { dispatch: n, getState: t }) => {
12651
12651
  let { path: a, content: s } = e;
12652
- if (e.type === F.DEBUGGER)
12652
+ if (e.type === N.DEBUGGER)
12653
12653
  return { ...e, errors: [] };
12654
12654
  a.split("/").pop();
12655
12655
  const c = await Ha({
@@ -12682,13 +12682,13 @@ const p$ = X(
12682
12682
  content: l,
12683
12683
  path: a
12684
12684
  });
12685
- (e.type === F.CLASS || e.type === F.MODEL) && setTimeout(() => {
12685
+ (e.type === N.CLASS || e.type === N.MODEL) && setTimeout(() => {
12686
12686
  n(Mr());
12687
12687
  }, Ws);
12688
12688
  const p = (f.modelErrors || []).map((m) => m.message), h = (f.permissionsErrors || []).map(
12689
12689
  (m) => m.message
12690
12690
  );
12691
- return F.MODEL === e.type && (s = l), {
12691
+ return N.MODEL === e.type && (s = l), {
12692
12692
  ...e,
12693
12693
  content: s,
12694
12694
  date: f.date,
@@ -12704,9 +12704,9 @@ const p$ = X(
12704
12704
  case e.path === "settings.json":
12705
12705
  case e.path === Lr:
12706
12706
  return n.settings.project;
12707
- case e.type === F.ROLES:
12707
+ case e.type === N.ROLES:
12708
12708
  return ((a = (t = e.extra) == null ? void 0 : t.editor) == null ? void 0 : a.key) === "editors:roles" ? ul(n.roles) : e.content;
12709
- case e.type === F.MODEL: {
12709
+ case e.type === N.MODEL: {
12710
12710
  const s = e.content || {
12711
12711
  toJSON: !0,
12712
12712
  dataClasses: [],
@@ -12718,7 +12718,7 @@ const p$ = X(
12718
12718
  return e.content;
12719
12719
  }
12720
12720
  }, sh = async (e) => {
12721
- if (e.type === F.DATA_EXPLORER)
12721
+ if (e.type === N.DATA_EXPLORER)
12722
12722
  return {
12723
12723
  name: "Data Explorer",
12724
12724
  path: e.path,
@@ -12739,11 +12739,11 @@ const p$ = X(
12739
12739
  content: !0,
12740
12740
  as: n
12741
12741
  }), a = {};
12742
- t.type === F.METHOD && (a.attributes = $c(t.content));
12742
+ t.type === N.METHOD && (a.attributes = $c(t.content));
12743
12743
  const { date: s, name: i, type: c, content: l } = t;
12744
12744
  return {
12745
12745
  date: s,
12746
- flags: { enabled: e.type === F.WEBFORM },
12746
+ flags: { enabled: e.type === N.WEBFORM },
12747
12747
  extra: a,
12748
12748
  view: {
12749
12749
  panel: {
@@ -12756,7 +12756,7 @@ const p$ = X(
12756
12756
  path: e.path,
12757
12757
  type: c,
12758
12758
  initialContent: l,
12759
- content: c === F.MODEL ? sT(l) : l,
12759
+ content: c === N.MODEL ? sT(l) : l,
12760
12760
  history: {
12761
12761
  stack: [],
12762
12762
  active: -1,
@@ -12811,7 +12811,7 @@ const p$ = X(
12811
12811
  name: f,
12812
12812
  date: (/* @__PURE__ */ new Date()).toISOString(),
12813
12813
  path: p,
12814
- type: F.CLASS
12814
+ type: N.CLASS
12815
12815
  });
12816
12816
  } catch {
12817
12817
  n ? await s(
@@ -12832,7 +12832,7 @@ const p$ = X(
12832
12832
  name: f,
12833
12833
  date: (/* @__PURE__ */ new Date()).toISOString(),
12834
12834
  path: p,
12835
- type: F.CLASS
12835
+ type: N.CLASS
12836
12836
  }), h.path = p, s(Lt(h)), h;
12837
12837
  }
12838
12838
  ), T$ = X("roles/open", async (e, { dispatch: n, getState: t }) => {
@@ -12921,7 +12921,7 @@ const rv = zt({
12921
12921
  if (p)
12922
12922
  ih(p, f);
12923
12923
  else {
12924
- if (a === F.CLASS && f.offset === void 0)
12924
+ if (a === N.CLASS && f.offset === void 0)
12925
12925
  throw new Error(
12926
12926
  `Cannot add a breakpoint on a function without offset. Try editing the ${i} class.`
12927
12927
  );
@@ -14098,7 +14098,7 @@ const pl = (e, n) => {
14098
14098
  },
14099
14099
  name: "Settings",
14100
14100
  path: Lr,
14101
- type: F.SETTINGS,
14101
+ type: N.SETTINGS,
14102
14102
  initialContent: {},
14103
14103
  content: {}
14104
14104
  };
@@ -14354,7 +14354,7 @@ const pl = (e, n) => {
14354
14354
  };
14355
14355
  },
14356
14356
  selectTabByReference(e, n) {
14357
- const t = [F.DEBUGGER], { isNew: a, ...s } = n.payload;
14357
+ const t = [N.DEBUGGER], { isNew: a, ...s } = n.payload;
14358
14358
  let i = s, c = e.tabs.find(({ path: l }) => i.path === l);
14359
14359
  if (i.history || (i.history = {
14360
14360
  stack: [],
@@ -14531,8 +14531,8 @@ const pl = (e, n) => {
14531
14531
  }), e.addCase(Ba.pending, (n, t) => {
14532
14532
  const { tab: a } = t.meta.arg;
14533
14533
  switch (a.type) {
14534
- case F.CLASS:
14535
- case F.METHOD:
14534
+ case N.CLASS:
14535
+ case N.METHOD:
14536
14536
  En.next({
14537
14537
  action: wn.WILL_SAVE,
14538
14538
  payload: {
@@ -14552,8 +14552,8 @@ const pl = (e, n) => {
14552
14552
  );
14553
14553
  if (a) {
14554
14554
  switch (a.content = t.payload.content, a.date = t.payload.date, a.initialContent = t.payload.initialContent, a.flags.touched = !1, a.flags.confirmed = !0, a.flags.old = !1, a.type) {
14555
- case F.CLASS:
14556
- case F.METHOD:
14555
+ case N.CLASS:
14556
+ case N.METHOD:
14557
14557
  En.next({
14558
14558
  action: wn.DID_SAVE,
14559
14559
  payload: {
@@ -14576,7 +14576,7 @@ const pl = (e, n) => {
14576
14576
  }), e.addCase(eD.fulfilled, (n, t) => {
14577
14577
  const a = [...t.payload.files];
14578
14578
  n.tabs = n.tabs.map((s) => {
14579
- if ([F.CLASS, F.METHOD].includes(s.type)) {
14579
+ if ([N.CLASS, N.METHOD].includes(s.type)) {
14580
14580
  const i = a.find(
14581
14581
  (c) => c.name === s.name && c.type === s.type
14582
14582
  );
@@ -14609,7 +14609,7 @@ const pl = (e, n) => {
14609
14609
  n.tabs = n.tabs.map((i) => {
14610
14610
  if (i.name === s.name && i.type === s.type) {
14611
14611
  const c = i.extra || {};
14612
- return i.type === F.METHOD ? (c.attributes = $c(a.content), a.content = gh(a.content, {})) : i.type === F.SETTINGS && (a.content = {}), {
14612
+ return i.type === N.METHOD ? (c.attributes = $c(a.content), a.content = gh(a.content, {})) : i.type === N.SETTINGS && (a.content = {}), {
14613
14613
  ...i,
14614
14614
  initialContent: a.content,
14615
14615
  content: a.content,
@@ -14759,7 +14759,7 @@ exposed Function ${t.meta.arg.name}()
14759
14759
  `, a.flags = { ...a.flags, touched: !0, confirmed: !0 };
14760
14760
  const s = a.content.split(`
14761
14761
  `);
14762
- a.path.startsWith("Classes/") && (a.type = F.CLASS), a.extra = {
14762
+ a.path.startsWith("Classes/") && (a.type = N.CLASS), a.extra = {
14763
14763
  ...a.extra,
14764
14764
  editor: tc.Code,
14765
14765
  initialLineInfo: {