@devtron-labs/devtron-fe-common-lib 1.23.4-pre-2 → 1.23.5-beta-0
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/{@code-editor-hUF3-kiJ.js → @code-editor-CfWdQLUA.js} +7370 -7378
- package/dist/{@common-rjsf-B46zvwJV.js → @common-rjsf-CYYvyuON.js} +45 -45
- package/dist/{@framer-motion-Dlmom4Lw.js → @framer-motion-CYALETZG.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Cw3f9vXu.js → @react-virtualized-sticky-tree-BGypbpsu.js} +73 -73
- package/dist/{@src-assets-images-CEfUVN6C.js → @src-assets-images-BbD457C8.js} +1 -1
- package/dist/{@vendor-C85FfSYl.js → @vendor-l9UWMPVR.js} +9970 -9979
- package/dist/MMQ4R4NB-BxPS4he0.js +2 -0
- package/dist/Shared/Components/Table/types.d.ts +1 -1
- package/dist/Shared/types.d.ts +2 -0
- package/dist/V4HPSUGU-BZ4LRJwg.js +2 -0
- package/dist/index.js +263 -273
- package/dist/javascript-aGcank_6.js +2 -0
- package/dist/vitesse-dark-B6dfs2Tg.js +2 -0
- package/dist/vitesse-light-D286P89-.js +2 -0
- package/package.json +6 -7
- package/dist/MMQ4R4NB-CIx6QNVk.js +0 -3
- package/dist/V4HPSUGU-B43fEh0k.js +0 -3
- package/dist/javascript--e5WmO_D.js +0 -2
- package/dist/vitesse-dark-DRj_pDHX.js +0 -2
- package/dist/vitesse-light-B-VyDwE9.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BETGA6I9.js";
|
|
2
|
-
import { $c as a, $s as o, Aa as s, Ac as c, Al as l, Bc as u, Bi as d, Bl as f, Bs as p, Cc as m, Cl as h, Ct as g, Dc as _, Dl as v, Dt as y, Ec as b, Ed as x, El as S, Fc as C, Fl as w, Gc as T, Gl as E, Gs as D, Hc as O, Hi as k, Hl as A, Hs as j, Ht as M, Ic as N, Il as P, Jc as F, Ji as I, Jl as L, Jn as R, Js as ee, Jt as te, Kc as ne, Kl as re, Ks as ie, Lc as ae, Ll as z, Ma as oe, Mc as se, Ml as ce, Mu as le, Nc as ue, Nl as de, Oc as fe, Ol as pe, Pc as me, Pl as he, Qc as ge, Qn as _e, Qs as ve, Qt as ye, Rc as be, Rl as xe, Sc as Se, Sl as Ce, Tc as we, Tl as Te, Uc as Ee, Ui as B, Ul as De, Ur as Oe, Us as ke, Vc as Ae, Vi as je, Vs as Me, Wc as Ne, Wi as Pe, Wl as Fe, Ws as Ie, Xc as Le, Xl as Re, Xn as ze, Xs as Be, Yc as Ve, Yi as He, Yl as Ue, Yn as We, Ys as Ge, Zc as Ke, Zn as qe, Zs as Je, Zt as Ye, _c as Xe, _l as Ze, ac as Qe, al as $e, bc as et, bl as tt, cc as nt, ci as rt, cl as it, dc as at, dl as ot, ec as st, el as ct, fc as lt, fl as ut, fu as dt, gc as ft, gl as pt, hc as mt, hi as ht, hl as gt, ic as _t, il as vt, io as V, jc as yt, jl as bt, jt as xt, kc as St, kl as Ct, ku as wt, lc as Tt, ll as Et, ln as Dt, ma as Ot, mc as kt, ml as At, nc as jt, nl as Mt, oa as Nt, oc as Pt, ol as Ft, pc as It, pl as H, pt as Lt, pu as Rt, qc as zt, qs as Bt, rc as Vt, rl as Ht, sc as Ut, sd as Wt, sl as Gt, tc as Kt, tl as qt, ua as Jt, uc as Yt, ul as Xt, vc as Zt, vd as Qt, vl as $t, vt as en, wc as tn, wl as nn, xc as rn, xd as an, xl as on, yc as sn, yl as cn, zc as ln, zl as un } from "./@code-editor-
|
|
2
|
+
import { $c as a, $s as o, Aa as s, Ac as c, Al as l, Bc as u, Bi as d, Bl as f, Bs as p, Cc as m, Cl as h, Ct as g, Dc as _, Dl as v, Dt as y, Ec as b, Ed as x, El as S, Fc as C, Fl as w, Gc as T, Gl as E, Gs as D, Hc as O, Hi as k, Hl as A, Hs as j, Ht as M, Ic as N, Il as P, Jc as F, Ji as I, Jl as L, Jn as R, Js as ee, Jt as te, Kc as ne, Kl as re, Ks as ie, Lc as ae, Ll as z, Ma as oe, Mc as se, Ml as ce, Mu as le, Nc as ue, Nl as de, Oc as fe, Ol as pe, Pc as me, Pl as he, Qc as ge, Qn as _e, Qs as ve, Qt as ye, Rc as be, Rl as xe, Sc as Se, Sl as Ce, Tc as we, Tl as Te, Uc as Ee, Ui as B, Ul as De, Ur as Oe, Us as ke, Vc as Ae, Vi as je, Vs as Me, Wc as Ne, Wi as Pe, Wl as Fe, Ws as Ie, Xc as Le, Xl as Re, Xn as ze, Xs as Be, Yc as Ve, Yi as He, Yl as Ue, Yn as We, Ys as Ge, Zc as Ke, Zn as qe, Zs as Je, Zt as Ye, _c as Xe, _l as Ze, ac as Qe, al as $e, bc as et, bl as tt, cc as nt, ci as rt, cl as it, dc as at, dl as ot, ec as st, el as ct, fc as lt, fl as ut, fu as dt, gc as ft, gl as pt, hc as mt, hi as ht, hl as gt, ic as _t, il as vt, io as V, jc as yt, jl as bt, jt as xt, kc as St, kl as Ct, ku as wt, lc as Tt, ll as Et, ln as Dt, ma as Ot, mc as kt, ml as At, nc as jt, nl as Mt, oa as Nt, oc as Pt, ol as Ft, pc as It, pl as H, pt as Lt, pu as Rt, qc as zt, qs as Bt, rc as Vt, rl as Ht, sc as Ut, sd as Wt, sl as Gt, tc as Kt, tl as qt, ua as Jt, uc as Yt, ul as Xt, vc as Zt, vd as Qt, vl as $t, vt as en, wc as tn, wl as nn, xc as rn, xd as an, xl as on, yc as sn, yl as cn, zc as ln, zl as un } from "./@code-editor-CfWdQLUA.js";
|
|
3
3
|
import * as U from "react";
|
|
4
4
|
import dn, { Children as fn, Component as pn, Fragment as mn, createContext as hn, createElement as gn, createRef as _n, forwardRef as vn, useCallback as W, useContext as yn, useEffect as bn, useLayoutEffect as xn, useMemo as Sn, useRef as Cn, useState as wn } from "react";
|
|
5
5
|
import { createPortal as Tn } from "react-dom";
|
|
@@ -89,7 +89,7 @@ var G = x(), kn = hn(null), An = () => {
|
|
|
89
89
|
className: "p-0 m-0 flex dc__transparent",
|
|
90
90
|
type: "button",
|
|
91
91
|
children: n
|
|
92
|
-
}),
|
|
92
|
+
}), ...t.slice(1)]
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
return t === "link" ? /* @__PURE__ */ (0, G.jsx)(Dn, {
|
|
@@ -2647,7 +2647,7 @@ var _s = process.env.NODE_ENV === "production" ? {
|
|
|
2647
2647
|
label: "input",
|
|
2648
2648
|
color: "inherit",
|
|
2649
2649
|
background: 0,
|
|
2650
|
-
opacity: e
|
|
2650
|
+
opacity: +!e,
|
|
2651
2651
|
width: "100%"
|
|
2652
2652
|
}, Hs);
|
|
2653
2653
|
}, Gs = function(e) {
|
|
@@ -5197,47 +5197,6 @@ var Nl = /* @__PURE__ */ vn(function(e, t) {
|
|
|
5197
5197
|
size: u,
|
|
5198
5198
|
indeterminate: l,
|
|
5199
5199
|
isLoading: n
|
|
5200
|
-
}), y = () => /* @__PURE__ */ (0, G.jsx)("span", {
|
|
5201
|
-
className: `flexbox flex-grow-1 ${!n && _ ? "dc__align-items-center" : ""} ${du({
|
|
5202
|
-
shape: a,
|
|
5203
|
-
isLoading: n
|
|
5204
|
-
})}`,
|
|
5205
|
-
children: n ? /* @__PURE__ */ (0, G.jsx)(Ot.span, {
|
|
5206
|
-
transition: {
|
|
5207
|
-
ease: "easeInOut",
|
|
5208
|
-
duration: .2
|
|
5209
|
-
},
|
|
5210
|
-
animate: { x: v },
|
|
5211
|
-
className: "flexbox dc__fill-available-space",
|
|
5212
|
-
children: /* @__PURE__ */ (0, G.jsx)(Pe, {
|
|
5213
|
-
name: "ic-circle-loader",
|
|
5214
|
-
color: Xl[o],
|
|
5215
|
-
size: null
|
|
5216
|
-
})
|
|
5217
|
-
}) : /* @__PURE__ */ (0, G.jsx)(Ot.span, {
|
|
5218
|
-
transition: {
|
|
5219
|
-
ease: "easeInOut",
|
|
5220
|
-
duration: .2
|
|
5221
|
-
},
|
|
5222
|
-
animate: { x: v },
|
|
5223
|
-
className: cu({
|
|
5224
|
-
shape: a,
|
|
5225
|
-
size: u,
|
|
5226
|
-
showIndeterminateIcon: _
|
|
5227
|
-
}),
|
|
5228
|
-
children: c && !_ && /* @__PURE__ */ (0, G.jsx)("span", {
|
|
5229
|
-
className: "icon-dim-12 flex dc__fill-available-space dc__no-shrink",
|
|
5230
|
-
children: /* @__PURE__ */ (0, G.jsx)(Pe, {
|
|
5231
|
-
name: c,
|
|
5232
|
-
color: lu({
|
|
5233
|
-
isChecked: r,
|
|
5234
|
-
iconColor: s,
|
|
5235
|
-
variant: o
|
|
5236
|
-
}),
|
|
5237
|
-
size: null
|
|
5238
|
-
})
|
|
5239
|
-
})
|
|
5240
|
-
})
|
|
5241
5200
|
});
|
|
5242
5201
|
return /* @__PURE__ */ (0, G.jsx)(_e, {
|
|
5243
5202
|
alwaysShowTippyOnHover: !!i,
|
|
@@ -5279,7 +5238,48 @@ var Nl = /* @__PURE__ */ vn(function(e, t) {
|
|
|
5279
5238
|
isChecked: r,
|
|
5280
5239
|
isLoading: n
|
|
5281
5240
|
}) },
|
|
5282
|
-
children:
|
|
5241
|
+
children: /* @__PURE__ */ (0, G.jsx)("span", {
|
|
5242
|
+
className: `flexbox flex-grow-1 ${!n && _ ? "dc__align-items-center" : ""} ${du({
|
|
5243
|
+
shape: a,
|
|
5244
|
+
isLoading: n
|
|
5245
|
+
})}`,
|
|
5246
|
+
children: n ? /* @__PURE__ */ (0, G.jsx)(Ot.span, {
|
|
5247
|
+
transition: {
|
|
5248
|
+
ease: "easeInOut",
|
|
5249
|
+
duration: .2
|
|
5250
|
+
},
|
|
5251
|
+
animate: { x: v },
|
|
5252
|
+
className: "flexbox dc__fill-available-space",
|
|
5253
|
+
children: /* @__PURE__ */ (0, G.jsx)(Pe, {
|
|
5254
|
+
name: "ic-circle-loader",
|
|
5255
|
+
color: Xl[o],
|
|
5256
|
+
size: null
|
|
5257
|
+
})
|
|
5258
|
+
}) : /* @__PURE__ */ (0, G.jsx)(Ot.span, {
|
|
5259
|
+
transition: {
|
|
5260
|
+
ease: "easeInOut",
|
|
5261
|
+
duration: .2
|
|
5262
|
+
},
|
|
5263
|
+
animate: { x: v },
|
|
5264
|
+
className: cu({
|
|
5265
|
+
shape: a,
|
|
5266
|
+
size: u,
|
|
5267
|
+
showIndeterminateIcon: _
|
|
5268
|
+
}),
|
|
5269
|
+
children: c && !_ && /* @__PURE__ */ (0, G.jsx)("span", {
|
|
5270
|
+
className: "icon-dim-12 flex dc__fill-available-space dc__no-shrink",
|
|
5271
|
+
children: /* @__PURE__ */ (0, G.jsx)(Pe, {
|
|
5272
|
+
name: c,
|
|
5273
|
+
color: lu({
|
|
5274
|
+
isChecked: r,
|
|
5275
|
+
iconColor: s,
|
|
5276
|
+
variant: o
|
|
5277
|
+
}),
|
|
5278
|
+
size: null
|
|
5279
|
+
})
|
|
5280
|
+
})
|
|
5281
|
+
})
|
|
5282
|
+
})
|
|
5283
5283
|
})]
|
|
5284
5284
|
})
|
|
5285
5285
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ca as e, Da as t, Oa as n, Sa as r, Ta as i, _a as a, ba as o, ga as s, ha as c, ka as l, va as u, wa as d, xa as f, ya as p } from "./@code-editor-
|
|
1
|
+
import { Ca as e, Da as t, Oa as n, Sa as r, Ta as i, _a as a, ba as o, ga as s, ha as c, ka as l, va as u, wa as d, xa as f, ya as p } from "./@code-editor-CfWdQLUA.js";
|
|
2
2
|
import { useContext as m, useEffect as h, useInsertionEffect as g, useRef as _, useState as v } from "react";
|
|
3
3
|
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
|
|
4
4
|
function y(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, t } from "./rolldown-runtime-BETGA6I9.js";
|
|
2
|
-
import { Bs as n, Hi as r, Ui as i } from "./@code-editor-
|
|
3
|
-
import { X as a } from "./@common-rjsf-
|
|
2
|
+
import { Bs as n, Hi as r, Ui as i } from "./@code-editor-CfWdQLUA.js";
|
|
3
|
+
import { X as a } from "./@common-rjsf-CYYvyuON.js";
|
|
4
4
|
import o, { Component as s, createElement as c, createRef as l } from "react";
|
|
5
5
|
//#region node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
|
|
6
6
|
var u = /* @__PURE__ */ t(((e) => {
|
|
@@ -840,7 +840,7 @@ function C(e, t) {
|
|
|
840
840
|
}
|
|
841
841
|
//#endregion
|
|
842
842
|
//#region node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
|
|
843
|
-
var w = (function() {
|
|
843
|
+
var w = /* @__PURE__ */ e(y()), T = (function() {
|
|
844
844
|
if (typeof Map < "u") return Map;
|
|
845
845
|
function e(e, t) {
|
|
846
846
|
var n = -1;
|
|
@@ -879,34 +879,34 @@ var w = (function() {
|
|
|
879
879
|
}
|
|
880
880
|
}, t;
|
|
881
881
|
}();
|
|
882
|
-
})(),
|
|
882
|
+
})(), E = typeof window < "u" && typeof document < "u" && window.document === document, D = (function() {
|
|
883
883
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
884
|
-
})(),
|
|
885
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(
|
|
884
|
+
})(), O = (function() {
|
|
885
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(D) : function(e) {
|
|
886
886
|
return setTimeout(function() {
|
|
887
887
|
return e(Date.now());
|
|
888
888
|
}, 1e3 / 60);
|
|
889
889
|
};
|
|
890
|
-
})(),
|
|
891
|
-
function
|
|
890
|
+
})(), k = 2;
|
|
891
|
+
function A(e, t) {
|
|
892
892
|
var n = !1, r = !1, i = 0;
|
|
893
893
|
function a() {
|
|
894
894
|
n && (n = !1, e()), r && s();
|
|
895
895
|
}
|
|
896
896
|
function o() {
|
|
897
|
-
|
|
897
|
+
O(a);
|
|
898
898
|
}
|
|
899
899
|
function s() {
|
|
900
900
|
var e = Date.now();
|
|
901
901
|
if (n) {
|
|
902
|
-
if (e - i <
|
|
902
|
+
if (e - i < k) return;
|
|
903
903
|
r = !0;
|
|
904
904
|
} else n = !0, r = !1, setTimeout(o, t);
|
|
905
905
|
i = e;
|
|
906
906
|
}
|
|
907
907
|
return s;
|
|
908
908
|
}
|
|
909
|
-
var
|
|
909
|
+
var j = 20, M = [
|
|
910
910
|
"top",
|
|
911
911
|
"right",
|
|
912
912
|
"bottom",
|
|
@@ -915,9 +915,9 @@ var A = 20, j = [
|
|
|
915
915
|
"height",
|
|
916
916
|
"size",
|
|
917
917
|
"weight"
|
|
918
|
-
],
|
|
918
|
+
], N = typeof MutationObserver < "u", P = function() {
|
|
919
919
|
function e() {
|
|
920
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
920
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = A(this.refresh.bind(this), j);
|
|
921
921
|
}
|
|
922
922
|
return e.prototype.addObserver = function(e) {
|
|
923
923
|
~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
|
|
@@ -934,23 +934,23 @@ var A = 20, j = [
|
|
|
934
934
|
return e.broadcastActive();
|
|
935
935
|
}), e.length > 0;
|
|
936
936
|
}, e.prototype.connect_ = function() {
|
|
937
|
-
!
|
|
937
|
+
!E || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), N ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
938
938
|
attributes: !0,
|
|
939
939
|
childList: !0,
|
|
940
940
|
characterData: !0,
|
|
941
941
|
subtree: !0
|
|
942
942
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
943
943
|
}, e.prototype.disconnect_ = function() {
|
|
944
|
-
!
|
|
944
|
+
!E || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
945
945
|
}, e.prototype.onTransitionEnd_ = function(e) {
|
|
946
946
|
var t = e.propertyName, n = t === void 0 ? "" : t;
|
|
947
|
-
|
|
947
|
+
M.some(function(e) {
|
|
948
948
|
return !!~n.indexOf(e);
|
|
949
949
|
}) && this.refresh();
|
|
950
950
|
}, e.getInstance = function() {
|
|
951
951
|
return this.instance_ ||= new e(), this.instance_;
|
|
952
952
|
}, e.instance_ = null, e;
|
|
953
|
-
}(),
|
|
953
|
+
}(), F = (function(e, t) {
|
|
954
954
|
for (var n = 0, r = Object.keys(t); n < r.length; n++) {
|
|
955
955
|
var i = r[n];
|
|
956
956
|
Object.defineProperty(e, i, {
|
|
@@ -961,19 +961,19 @@ var A = 20, j = [
|
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
963
|
return e;
|
|
964
|
-
}),
|
|
965
|
-
return e && e.ownerDocument && e.ownerDocument.defaultView ||
|
|
966
|
-
}),
|
|
967
|
-
function
|
|
964
|
+
}), I = (function(e) {
|
|
965
|
+
return e && e.ownerDocument && e.ownerDocument.defaultView || D;
|
|
966
|
+
}), L = q(0, 0, 0, 0);
|
|
967
|
+
function R(e) {
|
|
968
968
|
return parseFloat(e) || 0;
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function z(e) {
|
|
971
971
|
return [...arguments].slice(1).reduce(function(t, n) {
|
|
972
972
|
var r = e["border-" + n + "-width"];
|
|
973
|
-
return t +
|
|
973
|
+
return t + R(r);
|
|
974
974
|
}, 0);
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function B(e) {
|
|
977
977
|
for (var t = [
|
|
978
978
|
"top",
|
|
979
979
|
"right",
|
|
@@ -981,40 +981,40 @@ function z(e) {
|
|
|
981
981
|
"left"
|
|
982
982
|
], n = {}, r = 0, i = t; r < i.length; r++) {
|
|
983
983
|
var a = i[r], o = e["padding-" + a];
|
|
984
|
-
n[a] =
|
|
984
|
+
n[a] = R(o);
|
|
985
985
|
}
|
|
986
986
|
return n;
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function V(e) {
|
|
989
989
|
var t = e.getBBox();
|
|
990
|
-
return
|
|
990
|
+
return q(0, 0, t.width, t.height);
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function H(e) {
|
|
993
993
|
var t = e.clientWidth, n = e.clientHeight;
|
|
994
|
-
if (!t && !n) return
|
|
995
|
-
var r =
|
|
996
|
-
if (r.boxSizing === "border-box" && (Math.round(s + a) !== t && (s -=
|
|
994
|
+
if (!t && !n) return L;
|
|
995
|
+
var r = I(e).getComputedStyle(e), i = B(r), a = i.left + i.right, o = i.top + i.bottom, s = R(r.width), c = R(r.height);
|
|
996
|
+
if (r.boxSizing === "border-box" && (Math.round(s + a) !== t && (s -= z(r, "left", "right") + a), Math.round(c + o) !== n && (c -= z(r, "top", "bottom") + o)), !W(e)) {
|
|
997
997
|
var l = Math.round(s + a) - t, u = Math.round(c + o) - n;
|
|
998
998
|
Math.abs(l) !== 1 && (s -= l), Math.abs(u) !== 1 && (c -= u);
|
|
999
999
|
}
|
|
1000
|
-
return
|
|
1000
|
+
return q(i.left, i.top, s, c);
|
|
1001
1001
|
}
|
|
1002
|
-
var
|
|
1002
|
+
var U = (function() {
|
|
1003
1003
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1004
|
-
return e instanceof
|
|
1004
|
+
return e instanceof I(e).SVGGraphicsElement;
|
|
1005
1005
|
} : function(e) {
|
|
1006
|
-
return e instanceof
|
|
1006
|
+
return e instanceof I(e).SVGElement && typeof e.getBBox == "function";
|
|
1007
1007
|
};
|
|
1008
1008
|
})();
|
|
1009
|
-
function U(e) {
|
|
1010
|
-
return e === F(e).document.documentElement;
|
|
1011
|
-
}
|
|
1012
1009
|
function W(e) {
|
|
1013
|
-
return
|
|
1010
|
+
return e === I(e).document.documentElement;
|
|
1014
1011
|
}
|
|
1015
1012
|
function G(e) {
|
|
1016
|
-
|
|
1017
|
-
|
|
1013
|
+
return E ? U(e) ? V(e) : H(e) : L;
|
|
1014
|
+
}
|
|
1015
|
+
function K(e) {
|
|
1016
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, a = Object.create((typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object).prototype);
|
|
1017
|
+
return F(a, {
|
|
1018
1018
|
x: t,
|
|
1019
1019
|
y: n,
|
|
1020
1020
|
width: r,
|
|
@@ -1023,9 +1023,9 @@ function G(e) {
|
|
|
1023
1023
|
right: t + r,
|
|
1024
1024
|
bottom: i + n,
|
|
1025
1025
|
left: t
|
|
1026
|
-
}),
|
|
1026
|
+
}), a;
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function q(e, t, n, r) {
|
|
1029
1029
|
return {
|
|
1030
1030
|
x: e,
|
|
1031
1031
|
y: t,
|
|
@@ -1033,42 +1033,42 @@ function K(e, t, n, r) {
|
|
|
1033
1033
|
height: r
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
|
-
var
|
|
1036
|
+
var J = function() {
|
|
1037
1037
|
function e(e) {
|
|
1038
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
1038
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = q(0, 0, 0, 0), this.target = e;
|
|
1039
1039
|
}
|
|
1040
1040
|
return e.prototype.isActive = function() {
|
|
1041
|
-
var e =
|
|
1041
|
+
var e = G(this.target);
|
|
1042
1042
|
return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
|
|
1043
1043
|
}, e.prototype.broadcastRect = function() {
|
|
1044
1044
|
var e = this.contentRect_;
|
|
1045
1045
|
return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
|
|
1046
1046
|
}, e;
|
|
1047
|
-
}(),
|
|
1047
|
+
}(), ee = function() {
|
|
1048
1048
|
function e(e, t) {
|
|
1049
|
-
var n =
|
|
1050
|
-
|
|
1049
|
+
var n = K(t);
|
|
1050
|
+
F(this, {
|
|
1051
1051
|
target: e,
|
|
1052
1052
|
contentRect: n
|
|
1053
1053
|
});
|
|
1054
1054
|
}
|
|
1055
1055
|
return e;
|
|
1056
|
-
}(),
|
|
1056
|
+
}(), te = function() {
|
|
1057
1057
|
function e(e, t, n) {
|
|
1058
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
1058
|
+
if (this.activeObservations_ = [], this.observations_ = new T(), typeof e != "function") throw TypeError("The callback provided as parameter 1 is not a function.");
|
|
1059
1059
|
this.callback_ = e, this.controller_ = t, this.callbackCtx_ = n;
|
|
1060
1060
|
}
|
|
1061
1061
|
return e.prototype.observe = function(e) {
|
|
1062
1062
|
if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
|
|
1063
1063
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1064
|
-
if (!(e instanceof
|
|
1064
|
+
if (!(e instanceof I(e).Element)) throw TypeError("parameter 1 is not of type \"Element\".");
|
|
1065
1065
|
var t = this.observations_;
|
|
1066
|
-
t.has(e) || (t.set(e, new
|
|
1066
|
+
t.has(e) || (t.set(e, new J(e)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1067
1067
|
}
|
|
1068
1068
|
}, e.prototype.unobserve = function(e) {
|
|
1069
1069
|
if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
|
|
1070
1070
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1071
|
-
if (!(e instanceof
|
|
1071
|
+
if (!(e instanceof I(e).Element)) throw TypeError("parameter 1 is not of type \"Element\".");
|
|
1072
1072
|
var t = this.observations_;
|
|
1073
1073
|
t.has(e) && (t.delete(e), t.size || this.controller_.removeObserver(this));
|
|
1074
1074
|
}
|
|
@@ -1082,7 +1082,7 @@ var q = function() {
|
|
|
1082
1082
|
}, e.prototype.broadcastActive = function() {
|
|
1083
1083
|
if (this.hasActive()) {
|
|
1084
1084
|
var e = this.callbackCtx_, t = this.activeObservations_.map(function(e) {
|
|
1085
|
-
return new
|
|
1085
|
+
return new ee(e.target, e.broadcastRect());
|
|
1086
1086
|
});
|
|
1087
1087
|
this.callback_.call(e, t, e), this.clearActive();
|
|
1088
1088
|
}
|
|
@@ -1091,11 +1091,11 @@ var q = function() {
|
|
|
1091
1091
|
}, e.prototype.hasActive = function() {
|
|
1092
1092
|
return this.activeObservations_.length > 0;
|
|
1093
1093
|
}, e;
|
|
1094
|
-
}(), Y = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new
|
|
1094
|
+
}(), Y = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new T(), X = function() {
|
|
1095
1095
|
function e(t) {
|
|
1096
1096
|
if (!(this instanceof e)) throw TypeError("Cannot call a class as a function.");
|
|
1097
1097
|
if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
|
|
1098
|
-
var n = new
|
|
1098
|
+
var n = new te(t, P.getInstance(), this);
|
|
1099
1099
|
Y.set(this, n);
|
|
1100
1100
|
}
|
|
1101
1101
|
return e;
|
|
@@ -1110,22 +1110,22 @@ var q = function() {
|
|
|
1110
1110
|
return (t = Y.get(this))[e].apply(t, arguments);
|
|
1111
1111
|
};
|
|
1112
1112
|
});
|
|
1113
|
-
var
|
|
1114
|
-
return
|
|
1115
|
-
})(),
|
|
1113
|
+
var ne = (function() {
|
|
1114
|
+
return D.ResizeObserver === void 0 ? X : D.ResizeObserver;
|
|
1115
|
+
})(), re = [
|
|
1116
1116
|
"client",
|
|
1117
1117
|
"offset",
|
|
1118
1118
|
"scroll",
|
|
1119
1119
|
"bounds",
|
|
1120
1120
|
"margin"
|
|
1121
1121
|
];
|
|
1122
|
-
function
|
|
1122
|
+
function Z(e) {
|
|
1123
1123
|
var t = [];
|
|
1124
|
-
return
|
|
1124
|
+
return re.forEach(function(n) {
|
|
1125
1125
|
e[n] && t.push(n);
|
|
1126
1126
|
}), t;
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function Q(e, t) {
|
|
1129
1129
|
var n = {};
|
|
1130
1130
|
if (t.indexOf("client") > -1 && (n.client = {
|
|
1131
1131
|
top: e.clientTop,
|
|
@@ -1182,7 +1182,7 @@ function ae(e) {
|
|
|
1182
1182
|
bounds: {},
|
|
1183
1183
|
margin: {}
|
|
1184
1184
|
} }, t._animationFrameID = null, t._resizeObserver = null, t._node = null, t._window = null, t.measure = function(n) {
|
|
1185
|
-
var r =
|
|
1185
|
+
var r = Q(t._node, e || Z(t.props));
|
|
1186
1186
|
n && (r.entry = n[0].contentRect), t._animationFrameID = t._window.requestAnimationFrame(function() {
|
|
1187
1187
|
t._resizeObserver !== null && (t.setState({ contentRect: r }), typeof t.props.onResize == "function" && t.props.onResize(r));
|
|
1188
1188
|
});
|
|
@@ -1194,7 +1194,7 @@ function ae(e) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
var o = a.prototype;
|
|
1196
1196
|
return o.componentDidMount = function() {
|
|
1197
|
-
this._resizeObserver = this._window !== null && this._window.ResizeObserver ? new this._window.ResizeObserver(this.measure) : new
|
|
1197
|
+
this._resizeObserver = this._window !== null && this._window.ResizeObserver ? new this._window.ResizeObserver(this.measure) : new ne(this.measure), this._node !== null && (this._resizeObserver.observe(this._node), typeof this.props.onResize == "function" && this.props.onResize(Q(this._node, e || Z(this.props))));
|
|
1198
1198
|
}, o.componentWillUnmount = function() {
|
|
1199
1199
|
this._window !== null && this._window.cancelAnimationFrame(this._animationFrameID), this._resizeObserver !== null && (this._resizeObserver.disconnect(), this._resizeObserver = null);
|
|
1200
1200
|
}, o.render = function() {
|
|
@@ -1206,13 +1206,13 @@ function ae(e) {
|
|
|
1206
1206
|
}));
|
|
1207
1207
|
}, a;
|
|
1208
1208
|
}(s), n.propTypes = {
|
|
1209
|
-
client:
|
|
1210
|
-
offset:
|
|
1211
|
-
scroll:
|
|
1212
|
-
bounds:
|
|
1213
|
-
margin:
|
|
1214
|
-
innerRef:
|
|
1215
|
-
onResize:
|
|
1209
|
+
client: w.default.bool,
|
|
1210
|
+
offset: w.default.bool,
|
|
1211
|
+
scroll: w.default.bool,
|
|
1212
|
+
bounds: w.default.bool,
|
|
1213
|
+
margin: w.default.bool,
|
|
1214
|
+
innerRef: w.default.oneOfType([w.default.object, w.default.func]),
|
|
1215
|
+
onResize: w.default.func
|
|
1216
1216
|
}, a;
|
|
1217
1217
|
};
|
|
1218
1218
|
}
|
|
@@ -1224,7 +1224,7 @@ var $ = ae()(function(e) {
|
|
|
1224
1224
|
contentRect: r
|
|
1225
1225
|
});
|
|
1226
1226
|
});
|
|
1227
|
-
$.displayName = "Measure", $.propTypes.children =
|
|
1227
|
+
$.displayName = "Measure", $.propTypes.children = w.default.func;
|
|
1228
1228
|
//#endregion
|
|
1229
1229
|
//#region node_modules/react-virtualized-sticky-tree/dist/mjs/src/AutoSizedStickyTree.js
|
|
1230
1230
|
var oe = class extends o.PureComponent {
|