@hybridcore/ui 1.6.11 → 1.6.13
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/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
- package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
- package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
- package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
- package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
- package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
- package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
- package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
- package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
- package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
- package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
- package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
- package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
- package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
- package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
- package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
- package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
- package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
- package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
- package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
- package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
- package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
- package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
- package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +149 -41
- package/dist/components/charts/_common/tooltip.js +2 -2
- package/dist/components/charts/_common/utils.js +16 -11
- package/dist/components/charts/candlestick/logic.js +34 -35
- package/dist/components/charts/column-line-mix/logic.js +40 -41
- package/dist/components/charts/donut-chart/logic.js +4 -4
- package/dist/components/charts/drill-down-treemap/logic.js +5 -5
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
- package/dist/components/charts/forecast-cone/logic.js +134 -120
- package/dist/components/charts/heatmap/logic.js +9 -9
- package/dist/components/charts/highlighting-line-data/logic.js +10 -10
- package/dist/components/charts/line/logic.js +19 -20
- package/dist/components/charts/logaritmic-scale/logic.js +30 -31
- package/dist/components/charts/multiple-value-axes/logic.js +18 -19
- package/dist/components/charts/nested-pie/logic.js +3 -3
- package/dist/components/charts/packed-circles/logic.js +7 -7
- package/dist/components/charts/pie-chart/logic.js +4 -4
- package/dist/components/charts/stacked-area-radar/logic.js +9 -9
- package/dist/components/charts/stacked-column-chart/logic.js +10 -10
- package/dist/components/charts/xy-chart/logic.js +28 -29
- package/dist/components/collapsible-card/index.js +21 -30
- package/dist/components/collapsible-card/styled.js +16 -14
- package/dist/components/color-picker/index.js +2227 -3357
- package/dist/components/color-picker/styled.js +87 -7
- package/dist/components/confirm/dialog.js +89 -8
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +32 -3117
- package/dist/components/date-picker-with-custom-range/index.js +86 -7
- package/dist/components/date-range-picker/index.js +464 -452
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +145 -3656
- package/dist/components/geometry-picker/map/style.js +18 -17
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +77 -1924
- package/dist/components/instance-hierarchy-table/styled.js +18 -16
- package/dist/components/map/helpers/mapbox.js +17 -15
- package/dist/components/map/helpers/ol.js +386 -27
- package/dist/components/map/index.js +11 -10
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +31 -27
- package/dist/components/metric-card/MetricChart.js +9 -9
- package/dist/components/metric-card/logic.js +46 -49
- package/dist/components/phone-input/index.js +10 -9
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +27 -26
- package/dist/components/range-selector/styled.js +65 -4228
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +60 -57
- package/dist/components/simple-pivot-table/index.js +17 -17
- package/dist/components/simple-pivot-table/logic.js +67 -76
- package/dist/components/sortable-list/index.js +1091 -1264
- package/dist/components/template-form/components/property-list/index.js +36 -33
- package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
- package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
- package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
- package/dist/components/tree-select/index.js +16 -16
- package/dist/index.esm-UfGMjYOL.js +197 -0
- package/dist/main.d.ts +67 -8
- package/dist/main.js +176 -175
- package/package.json +1 -1
- package/dist/AccordionSummary-CJppWeqF.js +0 -781
- package/dist/Add-CqcD1PWb.js +0 -403
- package/dist/Box-DqUMmZjL.js +0 -31
- package/dist/Button-C5yquWAB.js +0 -357
- package/dist/ButtonBase-BEF7oTOe.js +0 -887
- package/dist/DataProcessor-WXzhvIg6.js +0 -83
- package/dist/Delete-BdyYpINH.js +0 -23
- package/dist/DialogContent-BvVjD9z3.js +0 -523
- package/dist/FormGroup-CpBsIyYR.js +0 -89
- package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
- package/dist/IconButton-BoGwbvrP.js +0 -184
- package/dist/InputLabel-Dd8RrneV.js +0 -341
- package/dist/MenuItem-DwqJqzuM.js +0 -233
- package/dist/Modal-MUZygjmQ.js +0 -1158
- package/dist/Paper-BkQLdsCI.js +0 -582
- package/dist/Select-DHUl_uG3.js +0 -3916
- package/dist/Source-BSZST_GH.js +0 -4410
- package/dist/SwitchBase-DTndTqI8.js +0 -235
- package/dist/Text-ChJRuaD8.js +0 -2197
- package/dist/TextField-e2oKaUN1.js +0 -669
- package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
- package/dist/Typography-DgsSLCFC.js +0 -178
- package/dist/Vector-BmuhQO4p.js +0 -3606
- package/dist/Vector-DfTqQEln.js +0 -1735
- package/dist/WKT-2wsDT-nq.js +0 -2310
- package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSvgIcon-Ch_cT8az.js +0 -185
- package/dist/createSvgIcon-DuDuASu1.js +0 -62
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/dialog-BYRnCztH.js +0 -154
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
- package/dist/index-DH6qsPBn.js +0 -153
- package/dist/index-e9xTIYWt.js +0 -1934
- package/dist/index.esm-BLLrbTzY.js +0 -318
- package/dist/math-Bvt2Ubuz.js +0 -704
- package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
- package/dist/ol-yOE-NV0X.js +0 -7465
- package/dist/ownerWindow-wg6foiOE.js +0 -10
- package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
- package/dist/styled-SoqbyrkW.js +0 -350
- package/dist/unsupportedProp-DuqR2hj9.js +0 -36
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BW-oWmul.js +0 -19
- package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
- package/dist/useSlot-B_Q4vnX5.js +0 -42
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as x, I as L, a as u, p as v, J as N, m as R, e as p, K as C, f, _ as A } from "./Entity-
|
|
2
|
-
import { T as S, s as d, S as P, D as B } from "./AnimatedTheme-
|
|
3
|
-
import { C as H } from "./ColorSet-
|
|
4
|
-
import { C as _, a as T, b as O, L as j } from "./Tooltip-
|
|
1
|
+
import { b as x, I as L, a as u, p as v, J as N, m as R, e as p, K as C, f, _ as A } from "./Entity-BJCuhdq_.js";
|
|
2
|
+
import { T as S, s as d, S as P, D as B } from "./AnimatedTheme-ktdO3Bel.js";
|
|
3
|
+
import { C as H } from "./ColorSet-cyPmWGwh.js";
|
|
4
|
+
import { C as _, a as T, b as O, L as j } from "./Tooltip-vyZRZWih.js";
|
|
5
5
|
class I extends S {
|
|
6
6
|
setupDefaultRules() {
|
|
7
7
|
super.setupDefaultRules();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as C } from "./AnimatedTheme-
|
|
2
|
-
import { a as b, b as f, C as _, L as w } from "./Tooltip-
|
|
3
|
-
import { R as T } from "./RoundedRectangle-
|
|
4
|
-
import { m as i } from "./Entity-
|
|
1
|
+
import { S as C } from "./AnimatedTheme-ktdO3Bel.js";
|
|
2
|
+
import { a as b, b as f, C as _, L as w } from "./Tooltip-vyZRZWih.js";
|
|
3
|
+
import { R as T } from "./RoundedRectangle-BKLX1LKM.js";
|
|
4
|
+
import { m as i } from "./Entity-BJCuhdq_.js";
|
|
5
5
|
class k extends C {
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments), Object.defineProperty(this, "itemContainers", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as U } from "./AxisRenderer-
|
|
2
|
-
import { a as S, b as D, G as A, R as fe } from "./Tooltip-
|
|
3
|
-
import { m as G, e as j,
|
|
4
|
-
import { D as he } from "./AnimatedTheme-
|
|
1
|
+
import { b as U } from "./AxisRenderer-BCQoUJw6.js";
|
|
2
|
+
import { a as S, b as D, G as A, R as fe } from "./Tooltip-vyZRZWih.js";
|
|
3
|
+
import { m as G, e as j, h as K, c as ce, f as Q } from "./Entity-BJCuhdq_.js";
|
|
4
|
+
import { D as he } from "./AnimatedTheme-ktdO3Bel.js";
|
|
5
5
|
import { w as W, c as g } from "./path-CNVruS--.js";
|
|
6
6
|
function Z(o) {
|
|
7
7
|
return typeof o == "object" && "length" in o ? o : Array.from(o);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as M, e as v, f as w, C as G } from "./Entity-
|
|
2
|
-
import { c as B, s as C } from "./Tooltip-
|
|
1
|
+
import { E as M, e as v, f as w, C as G } from "./Entity-BJCuhdq_.js";
|
|
2
|
+
import { c as B, s as C } from "./Tooltip-vyZRZWih.js";
|
|
3
3
|
class c extends M {
|
|
4
4
|
_afterNew() {
|
|
5
5
|
super._afterNewApplyThemes();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as T, p as H, a as f, e as d, _ as k, f as j, P as
|
|
2
|
-
import { S as B, T as
|
|
3
|
-
import { T as V, s as X, S as F } from "./AnimatedTheme-
|
|
4
|
-
import { C as W } from "./ColorSet-
|
|
5
|
-
import { C as A, v as U, g as M, m as K, a as x, b as D, c as P, s as m, n as q } from "./Tooltip-
|
|
6
|
-
import { S as E, R as $ } from "./Slice-
|
|
1
|
+
import { b as T, p as H, a as f, e as d, _ as k, f as j, P as Y, t as b, m as w } from "./Entity-BJCuhdq_.js";
|
|
2
|
+
import { S as B, T as z } from "./Tick--VhF0xlz.js";
|
|
3
|
+
import { T as V, s as X, S as F } from "./AnimatedTheme-ktdO3Bel.js";
|
|
4
|
+
import { C as W } from "./ColorSet-cyPmWGwh.js";
|
|
5
|
+
import { C as A, v as U, g as M, m as K, a as x, b as D, c as P, s as m, n as q } from "./Tooltip-vyZRZWih.js";
|
|
6
|
+
import { S as E, R as $ } from "./Slice-BUncQh1B.js";
|
|
7
7
|
class G extends V {
|
|
8
8
|
setupDefaultRules() {
|
|
9
9
|
super.setupDefaultRules();
|
|
@@ -497,7 +497,7 @@ class R extends y {
|
|
|
497
497
|
let r = M(0, 0, s, a, 1);
|
|
498
498
|
const u = e / (r.right - r.left), h = i / (r.bottom - r.top);
|
|
499
499
|
let o = { left: 0, right: 0, top: 0, bottom: 0 };
|
|
500
|
-
if (l instanceof
|
|
500
|
+
if (l instanceof Y) {
|
|
501
501
|
let c = l.value, g = Math.min(u, h);
|
|
502
502
|
c = Math.max(g * c, g - Math.min(i, e)) / g, o = M(0, 0, s, a, c), this.setPrivateRaw("irModifyer", c / l.value);
|
|
503
503
|
}
|
|
@@ -577,7 +577,7 @@ class L extends _ {
|
|
|
577
577
|
}, [this.labels.template]));
|
|
578
578
|
}
|
|
579
579
|
_makeTicks() {
|
|
580
|
-
return new x(D.new({}), () =>
|
|
580
|
+
return new x(D.new({}), () => z._new(this._root, {
|
|
581
581
|
themeTags: w(this.ticks.template.get("themeTags", []), ["pie", "series"])
|
|
582
582
|
}, [this.ticks.template]));
|
|
583
583
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as y,
|
|
2
|
-
import { R as p, f as m } from "./Tooltip-
|
|
1
|
+
import { f as y, t as b } from "./Entity-BJCuhdq_.js";
|
|
2
|
+
import { R as p, f as m } from "./Tooltip-vyZRZWih.js";
|
|
3
3
|
class T extends p {
|
|
4
4
|
_beforeChanged() {
|
|
5
5
|
super._beforeChanged(), (this.isDirty("cornerRadiusTL") || this.isDirty("cornerRadiusTR") || this.isDirty("cornerRadiusBR") || this.isDirty("cornerRadiusBL")) && (this._clear = !0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as b } from "./RoundedRectangle-
|
|
2
|
-
import { C as w, G as v } from "./Tooltip-
|
|
3
|
-
import { B as x } from "./Button-
|
|
4
|
-
import { m as f,
|
|
1
|
+
import { R as b } from "./RoundedRectangle-BKLX1LKM.js";
|
|
2
|
+
import { C as w, G as v } from "./Tooltip-vyZRZWih.js";
|
|
3
|
+
import { B as x } from "./Button-BLY4PVJC.js";
|
|
4
|
+
import { m as f, q as D, f as g } from "./Entity-BJCuhdq_.js";
|
|
5
5
|
class _ extends w {
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments), Object.defineProperty(this, "thumb", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as ye, h as re, L as pe, n as be, c as H, s as J, G as me } from "./Tooltip-
|
|
1
|
+
import { t as Re, a as he, P as ne, f as ce } from "./Entity-BJCuhdq_.js";
|
|
2
|
+
import { e as ye, h as re, L as pe, n as be, c as H, s as J, G as me } from "./Tooltip-vyZRZWih.js";
|
|
3
3
|
import { w as xe, c as I } from "./path-CNVruS--.js";
|
|
4
4
|
class Q extends ye {
|
|
5
5
|
constructor() {
|
|
@@ -114,9 +114,9 @@ Object.defineProperty(ue, "classNames", {
|
|
|
114
114
|
writable: !0,
|
|
115
115
|
value: pe.classNames.concat([ue.className])
|
|
116
116
|
});
|
|
117
|
-
const fe = Math.abs, p = Math.atan2, L = Math.cos, ve = Math.max, ae = Math.min, j = Math.sin, q = Math.sqrt, b = 1e-12,
|
|
117
|
+
const fe = Math.abs, p = Math.atan2, L = Math.cos, ve = Math.max, ae = Math.min, j = Math.sin, q = Math.sqrt, b = 1e-12, G = Math.PI, U = G / 2, we = 2 * G;
|
|
118
118
|
function De(n) {
|
|
119
|
-
return n > 1 ? 0 : n < -1 ?
|
|
119
|
+
return n > 1 ? 0 : n < -1 ? G : Math.acos(n);
|
|
120
120
|
}
|
|
121
121
|
function ge(n) {
|
|
122
122
|
return n >= 1 ? U : n <= -1 ? -U : Math.asin(n);
|
|
@@ -162,25 +162,25 @@ function ke() {
|
|
|
162
162
|
else {
|
|
163
163
|
var w = m, x = R, _ = m, P = R, T = C, O = C, M = c.apply(this, arguments) / 2, B = M > b && (h ? +h.apply(this, arguments) : q(u * u + f * f)), N = ae(fe(f - u) / 2, +d.apply(this, arguments)), D = N, A = N, i, o;
|
|
164
164
|
if (B > b) {
|
|
165
|
-
var S = ge(B / u * j(M)),
|
|
166
|
-
(T -= S * 2) > b ? (S *= g ? 1 : -1, _ += S, P -= S) : (T = 0, _ = P = (m + R) / 2), (O -=
|
|
165
|
+
var S = ge(B / u * j(M)), $ = ge(B / f * j(M));
|
|
166
|
+
(T -= S * 2) > b ? (S *= g ? 1 : -1, _ += S, P -= S) : (T = 0, _ = P = (m + R) / 2), (O -= $ * 2) > b ? ($ *= g ? 1 : -1, w += $, x -= $) : (O = 0, w = x = (m + R) / 2);
|
|
167
167
|
}
|
|
168
|
-
var X = f * L(w), Y = f * j(w),
|
|
168
|
+
var X = f * L(w), Y = f * j(w), z = u * L(P), E = u * j(P);
|
|
169
169
|
if (N > b) {
|
|
170
170
|
var K = f * L(x), V = f * j(x), W = u * L(_), Z = u * j(_), k;
|
|
171
|
-
if (C <
|
|
172
|
-
if (k = je(X, Y, W, Z, K, V,
|
|
171
|
+
if (C < G)
|
|
172
|
+
if (k = je(X, Y, W, Z, K, V, z, E)) {
|
|
173
173
|
var ee = X - k[0], te = Y - k[1], ie = K - k[0], se = V - k[1], oe = 1 / j(De((ee * ie + te * se) / (q(ee * ee + te * te) * q(ie * ie + se * se))) / 2), de = q(k[0] * k[0] + k[1] * k[1]);
|
|
174
174
|
D = ae(N, (u - de) / (oe - 1)), A = ae(N, (f - de) / (oe + 1));
|
|
175
175
|
} else
|
|
176
176
|
D = A = 0;
|
|
177
177
|
}
|
|
178
|
-
O > b ? A > b ? (i = F(W, Z, X, Y, f, A, g), o = F(K, V,
|
|
178
|
+
O > b ? A > b ? (i = F(W, Z, X, Y, f, A, g), o = F(K, V, z, E, f, A, g), t.moveTo(i.cx + i.x01, i.cy + i.y01), A < N ? t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, f, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), !g), t.arc(o.cx, o.cy, A, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : (t.moveTo(X, Y), t.arc(0, 0, f, w, x, !g)) : t.moveTo(X, Y), !(u > b) || !(T > b) ? t.lineTo(z, E) : D > b ? (i = F(z, E, K, V, u, -D, g), o = F(X, Y, W, Z, u, -D, g), t.lineTo(i.cx + i.x01, i.cy + i.y01), D < N ? t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, u, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), g), t.arc(o.cx, o.cy, D, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : t.arc(0, 0, u, P, _, g);
|
|
179
179
|
}
|
|
180
180
|
if (t.closePath(), e) return t = null, e + "" || null;
|
|
181
181
|
}
|
|
182
182
|
return s.centroid = function() {
|
|
183
|
-
var e = (+n.apply(this, arguments) + +a.apply(this, arguments)) / 2, v = (+r.apply(this, arguments) + +l.apply(this, arguments)) / 2 -
|
|
183
|
+
var e = (+n.apply(this, arguments) + +a.apply(this, arguments)) / 2, v = (+r.apply(this, arguments) + +l.apply(this, arguments)) / 2 - G / 2;
|
|
184
184
|
return [L(v) * e, j(v) * e];
|
|
185
185
|
}, s.innerRadius = function(e) {
|
|
186
186
|
return arguments.length ? (n = typeof e == "function" ? e : I(+e), s) : n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as b, C as o, d as w } from "./Tooltip-
|
|
2
|
-
import { b as n, e as v } from "./Entity-
|
|
1
|
+
import { G as b, C as o, d as w } from "./Tooltip-vyZRZWih.js";
|
|
2
|
+
import { b as n, e as v } from "./Entity-BJCuhdq_.js";
|
|
3
3
|
function p(i, t) {
|
|
4
4
|
for (let e = 0, r = t.length; e < r; e++) {
|
|
5
5
|
const s = t[e];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as w, aj as mt, a8 as St,
|
|
1
|
+
import { e as w, aj as mt, a8 as St, y as rt, av as yt, aw as Ot, f as m, r as H, a7 as Z, F as B, M as C, D as Ct, x as bt, k as lt, E as F, P as D, ad as vt, t as L, d as q, i as Dt, ax as at, _ as nt, ay as Lt, aa as It, az as wt, R as xt, C as ht, ae as Mt, w as Pt, aA as Bt, aB as kt, h as Wt, q as Nt, aC as Rt, b as Ft, a as At, m as Gt } from "./Entity-BJCuhdq_.js";
|
|
2
2
|
function z(n, t) {
|
|
3
3
|
if (!(n >= 0 && n < t))
|
|
4
4
|
throw new Error("Index out of bounds: " + n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as m, G as X, r as v } from "./Tooltip-
|
|
2
|
-
import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-
|
|
3
|
-
import { G as x } from "./AxisRenderer-
|
|
1
|
+
import { C as m, G as X, r as v } from "./Tooltip-vyZRZWih.js";
|
|
2
|
+
import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-BJCuhdq_.js";
|
|
3
|
+
import { G as x } from "./AxisRenderer-BCQoUJw6.js";
|
|
4
4
|
class c extends m {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments), Object.defineProperty(this, "_alwaysShow", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as c, R as x, f as v } from "./Tooltip-
|
|
2
|
-
import { b as g, c as D, f,
|
|
1
|
+
import { C as c, R as x, f as v } from "./Tooltip-vyZRZWih.js";
|
|
2
|
+
import { b as g, c as D, f, q as O, k as b, r as z } from "./Entity-BJCuhdq_.js";
|
|
3
3
|
class d extends c {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(...arguments), Object.defineProperty(this, "_za", {
|
package/dist/assets/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
#react-doc-viewer #proxy-renderer{background-color:#ededed;min-height:calc(100vh - 85px)}#react-doc-viewer #pdf-controls{position:fixed;z-index:9999;left:50%;top:7px;transform:translate(-50%);box-shadow:none}#react-doc-viewer #pdf-controls button,#react-doc-viewer #pdf-controls a{box-shadow:none;color:#9e9e9e}#react-doc-viewer #pdf-controls #pdf-download{display:none}#react-doc-viewer #image-img{max-width:100%;max-height:100%}#react-doc-viewer #pdf-page-wrapper{margin-top:20px;margin-bottom:20px}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}
|
package/dist/assets/index2.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:
|
|
1
|
+
.react-daterange-picker{display:inline-flex;position:relative}.react-daterange-picker,.react-daterange-picker *,.react-daterange-picker *:before,.react-daterange-picker *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-daterange-picker--disabled{background-color:#f0f0f0;color:#6d6d6d}.react-daterange-picker__wrapper{display:flex;flex-grow:1;flex-shrink:0;align-items:center;border:thin solid gray}.react-daterange-picker__inputGroup{min-width:calc((4px * 3) + .54em * 8 + .217em * 2);height:100%;flex-grow:1;padding:0 2px;box-sizing:content-box}.react-daterange-picker__inputGroup__divider{padding:1px 0;white-space:pre}.react-daterange-picker__inputGroup__divider,.react-daterange-picker__inputGroup__leadingZero{display:inline-block}.react-daterange-picker__inputGroup__input{min-width:.54em;height:100%;position:relative;padding:0 1px;border:0;background:none;color:currentColor;font:inherit;box-sizing:content-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.react-daterange-picker__inputGroup__input::-webkit-outer-spin-button,.react-daterange-picker__inputGroup__input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.react-daterange-picker__inputGroup__input:invalid{background:#ff00001a}.react-daterange-picker__inputGroup__input--hasLeadingZero{margin-left:-.54em;padding-left:calc(1px + .54em)}.react-daterange-picker__button{border:0;background:transparent;padding:4px 6px}.react-daterange-picker__button:enabled{cursor:pointer}.react-daterange-picker__button:enabled:hover .react-daterange-picker__button__icon,.react-daterange-picker__button:enabled:focus .react-daterange-picker__button__icon{stroke:#0078d7}.react-daterange-picker__button:disabled .react-daterange-picker__button__icon{stroke:#6d6d6d}.react-daterange-picker__button svg{display:inherit}.react-daterange-picker__calendar{width:350px;max-width:100vw;z-index:1}.react-daterange-picker__calendar--closed{display:none}.react-daterange-picker__calendar .react-calendar{border-width:thin}.react-calendar{width:350px;max-width:100%;background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar,.react-calendar *,.react-calendar *:before,.react-calendar *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{margin:0;border:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{min-width:44px;background:none}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#e6e6e6}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{display:flex;align-items:center;justify-content:center;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth,.react-calendar__decade-view__years__year--neighboringDecade,.react-calendar__century-view__decades__decade--neighboringCentury{color:#757575}.react-calendar__year-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__century-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{max-width:100%;padding:10px 6.6667px;background:none;text-align:center;line-height:16px;font:inherit;font-size:.833em}.react-calendar__tile:disabled{background-color:#f0f0f0;color:#ababab}.react-calendar__month-view__days__day--neighboringMonth:disabled,.react-calendar__decade-view__years__year--neighboringDecade:disabled,.react-calendar__century-view__decades__decade--neighboringCentury:disabled{color:#cdcdcd}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:hover,.react-calendar__tile--active:enabled:focus{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}.react-daterange-picker .react-daterange-picker__wrapper{height:40px;border-radius:4px;padding:4px 8px;border:1px solid rgba(0,0,0,.23)}.react-daterange-picker .react-daterange-picker__wrapper:hover{border-color:#000000de}.MuiTypography-root.react-daterange-picker__label{position:absolute;display:block;top:-6px;left:9px;font-size:12px;color:#0009;background-color:#fff;z-index:9;padding:0 4px;line-height:.75rem}
|
|
@@ -1,55 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import p from "dayjs";
|
|
2
|
+
import N from "dayjs/plugin/relativeTime";
|
|
3
|
+
p.extend(N);
|
|
4
|
+
const m = "—", h = (t) => {
|
|
5
|
+
const { decimals: e, notation: n } = t ?? {};
|
|
6
|
+
return n === "compact" ? new Intl.NumberFormat("en-US", {
|
|
7
|
+
notation: "compact",
|
|
8
|
+
compactDisplay: "short",
|
|
9
|
+
maximumFractionDigits: e ?? 1,
|
|
10
|
+
...e !== void 0 && { minimumFractionDigits: e }
|
|
11
|
+
}) : new Intl.NumberFormat(
|
|
12
|
+
"en-US",
|
|
13
|
+
e === void 0 ? { maximumFractionDigits: 2 } : { minimumFractionDigits: e, maximumFractionDigits: e }
|
|
14
|
+
);
|
|
15
|
+
}, a = (t) => {
|
|
16
|
+
if (typeof t == "boolean") return t;
|
|
17
|
+
if (typeof t == "number") return t === 1;
|
|
18
|
+
if (typeof t == "string") {
|
|
19
|
+
const e = t.trim().toLowerCase();
|
|
20
|
+
return e === "true" || e === "1";
|
|
21
|
+
}
|
|
22
|
+
return !1;
|
|
23
|
+
}, D = (t) => {
|
|
24
|
+
const e = t.toLowerCase();
|
|
25
|
+
return e.includes("year") ? "YYYY" : e.includes("month") ? "MMM YYYY" : e.includes("hour") || e.includes("minute") || e.includes("time") ? "DD MMM YYYY HH:mm" : "DD MMM YYYY";
|
|
26
|
+
}, Y = (t, e, n = "") => {
|
|
27
|
+
const r = p(t);
|
|
28
|
+
return r.isValid() ? e === "relative" ? r.fromNow() : r.format(e || D(n)) : String(t);
|
|
29
|
+
}, u = (t, e) => `${(t == null ? void 0 : t.prefix) ?? ""}${e}${(t == null ? void 0 : t.suffix) ?? ""}`, T = (t, e, n = m, r = "") => {
|
|
30
|
+
if (t == null || t === "") return n;
|
|
31
|
+
switch ((e == null ? void 0 : e.valueType) ?? (e != null && e.dateFormat ? "date" : "number")) {
|
|
32
|
+
case "date":
|
|
33
|
+
return Y(t, e == null ? void 0 : e.dateFormat, r);
|
|
34
|
+
case "boolean":
|
|
35
|
+
return a(t) ? (e == null ? void 0 : e.trueLabel) ?? "true" : (e == null ? void 0 : e.falseLabel) ?? "false";
|
|
36
|
+
case "text":
|
|
37
|
+
return u(e, String(t));
|
|
38
|
+
case "number":
|
|
39
|
+
default: {
|
|
40
|
+
const c = Number(t);
|
|
41
|
+
return Number.isNaN(c) ? u(e, String(t)) : u(e, h(e).format(c));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}, S = (t) => {
|
|
45
|
+
if (!t) return;
|
|
46
|
+
const { prefix: e, suffix: n, decimals: r, notation: s } = t, c = s === "compact";
|
|
47
|
+
if (e === void 0 && n === void 0 && r === void 0 && !c)
|
|
14
48
|
return;
|
|
15
|
-
const
|
|
16
|
-
return `${
|
|
17
|
-
},
|
|
49
|
+
const g = c ? r === void 0 ? "#,###.#a" : r <= 0 ? "#,##0a" : `#,##0.${"0".repeat(r)}a` : r === void 0 ? "#,###.##" : r <= 0 ? "#,##0" : `#,##0.${"0".repeat(r)}`, l = (d) => d ? `'${d.replace(/'/g, "")}'` : "";
|
|
50
|
+
return `${l(e)}${g}${l(n)}`;
|
|
51
|
+
}, L = (t) => t && t.replace(/[_-]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/\s+/g, " ").trim().replace(/\b\w/g, (e) => e.toUpperCase()), o = (t) => t instanceof Date ? t.getTime() : typeof t == "number" ? t : typeof t == "string" && t !== "" ? Date.parse(t) : NaN, b = (t, e) => {
|
|
52
|
+
const n = new Date(t), r = new Date(e);
|
|
53
|
+
return n.getFullYear() === r.getFullYear() && n.getMonth() === r.getMonth() && n.getDate() === r.getDate();
|
|
54
|
+
}, w = (t, e) => {
|
|
55
|
+
const n = Number(t);
|
|
56
|
+
if (Number.isNaN(n)) return !1;
|
|
57
|
+
const r = Number(e.value);
|
|
58
|
+
switch (e.op) {
|
|
59
|
+
case "lt":
|
|
60
|
+
return n < r;
|
|
61
|
+
case "lte":
|
|
62
|
+
return n <= r;
|
|
63
|
+
case "gt":
|
|
64
|
+
return n > r;
|
|
65
|
+
case "gte":
|
|
66
|
+
return n >= r;
|
|
67
|
+
case "eq":
|
|
68
|
+
return n === r;
|
|
69
|
+
case "neq":
|
|
70
|
+
return n !== r;
|
|
71
|
+
case "between": {
|
|
72
|
+
const s = Number(e.value2);
|
|
73
|
+
return !Number.isNaN(s) && n >= r && n <= s;
|
|
74
|
+
}
|
|
75
|
+
default:
|
|
76
|
+
return !1;
|
|
77
|
+
}
|
|
78
|
+
}, y = (t, e) => {
|
|
79
|
+
const n = o(t), r = o(e.value);
|
|
80
|
+
if (Number.isNaN(n) || Number.isNaN(r)) return !1;
|
|
18
81
|
switch (e.op) {
|
|
19
82
|
case "lt":
|
|
20
|
-
return n <
|
|
83
|
+
return n < r;
|
|
21
84
|
case "lte":
|
|
22
|
-
return n <=
|
|
85
|
+
return n <= r;
|
|
23
86
|
case "gt":
|
|
24
|
-
return n >
|
|
87
|
+
return n > r;
|
|
25
88
|
case "gte":
|
|
26
|
-
return n >=
|
|
89
|
+
return n >= r;
|
|
27
90
|
case "eq":
|
|
28
|
-
return n
|
|
91
|
+
return b(n, r);
|
|
29
92
|
case "neq":
|
|
30
|
-
return n
|
|
31
|
-
case "between":
|
|
32
|
-
|
|
93
|
+
return !b(n, r);
|
|
94
|
+
case "between": {
|
|
95
|
+
const s = o(e.value2);
|
|
96
|
+
return !Number.isNaN(s) && n >= r && n <= s;
|
|
97
|
+
}
|
|
33
98
|
default:
|
|
34
99
|
return !1;
|
|
35
100
|
}
|
|
36
|
-
},
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
101
|
+
}, F = (t, e) => {
|
|
102
|
+
const n = String(t ?? "").toLowerCase(), r = String(e.value ?? "").toLowerCase();
|
|
103
|
+
switch (e.op) {
|
|
104
|
+
case "eq":
|
|
105
|
+
return n === r;
|
|
106
|
+
case "neq":
|
|
107
|
+
return n !== r;
|
|
108
|
+
case "contains":
|
|
109
|
+
return n.includes(r);
|
|
110
|
+
case "notContains":
|
|
111
|
+
return !n.includes(r);
|
|
112
|
+
case "startsWith":
|
|
113
|
+
return n.startsWith(r);
|
|
114
|
+
case "endsWith":
|
|
115
|
+
return n.endsWith(r);
|
|
116
|
+
case "isEmpty":
|
|
117
|
+
return n.trim() === "";
|
|
118
|
+
case "isNotEmpty":
|
|
119
|
+
return n.trim() !== "";
|
|
120
|
+
default:
|
|
121
|
+
return !1;
|
|
122
|
+
}
|
|
123
|
+
}, M = (t, e) => {
|
|
124
|
+
switch (e.op) {
|
|
125
|
+
case "isTrue":
|
|
126
|
+
return a(t);
|
|
127
|
+
case "isFalse":
|
|
128
|
+
return !a(t);
|
|
129
|
+
default:
|
|
130
|
+
return !1;
|
|
131
|
+
}
|
|
132
|
+
}, x = (t, e) => {
|
|
133
|
+
switch (e.type ?? "number") {
|
|
134
|
+
case "date":
|
|
135
|
+
return y(t, e);
|
|
136
|
+
case "text":
|
|
137
|
+
return F(t, e);
|
|
138
|
+
case "boolean":
|
|
139
|
+
return M(t, e);
|
|
140
|
+
case "number":
|
|
141
|
+
default:
|
|
142
|
+
return w(t, e);
|
|
143
|
+
}
|
|
144
|
+
}, i = (t) => t || void 0, f = (t, e) => {
|
|
145
|
+
const n = {
|
|
146
|
+
color: i(e == null ? void 0 : e.color),
|
|
147
|
+
backgroundColor: i(e == null ? void 0 : e.backgroundColor)
|
|
148
|
+
}, r = e == null ? void 0 : e.conditionalRules;
|
|
149
|
+
if (!(r != null && r.length)) return n;
|
|
150
|
+
const s = r.find((c) => x(t, c));
|
|
151
|
+
return s ? {
|
|
152
|
+
color: i(s.color) ?? n.color,
|
|
153
|
+
backgroundColor: i(s.backgroundColor) ?? n.backgroundColor
|
|
154
|
+
} : n;
|
|
49
155
|
};
|
|
50
156
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
157
|
+
S as buildAmNumberFormat,
|
|
158
|
+
D as defaultDateFormat,
|
|
159
|
+
Y as formatDateValue,
|
|
160
|
+
T as formatValue,
|
|
161
|
+
L as humanizeLabel,
|
|
162
|
+
f as resolveConditionalStyle
|
|
55
163
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as x } from "../../../Tooltip-
|
|
2
|
-
import { c as p, p as v } from "../../../Entity-
|
|
1
|
+
import { T as x } from "../../../Tooltip-vyZRZWih.js";
|
|
2
|
+
import { c as p, p as v } from "../../../Entity-BJCuhdq_.js";
|
|
3
3
|
const F = {
|
|
4
4
|
millisecond: "d MMM, yyyy HH:mm:ss.SSS",
|
|
5
5
|
second: "d MMM, yyyy HH:mm:ss",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { buildAmNumberFormat as
|
|
2
|
-
import { C as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
1
|
+
import { buildAmNumberFormat as o } from "./format.js";
|
|
2
|
+
import { C as t } from "../../../ColorSet-cyPmWGwh.js";
|
|
3
|
+
import { c as u } from "../../../Entity-BJCuhdq_.js";
|
|
4
|
+
const n = [
|
|
5
5
|
"#294D94",
|
|
6
6
|
"#375F97",
|
|
7
7
|
"#44729C",
|
|
@@ -12,15 +12,20 @@ const a = [
|
|
|
12
12
|
"#9FCFBF",
|
|
13
13
|
"#B9E1C9",
|
|
14
14
|
"#D6F1D5"
|
|
15
|
-
], c = (r,
|
|
16
|
-
colors:
|
|
15
|
+
], c = (r, e = n) => t.new(r, {
|
|
16
|
+
colors: e.map((m) => u(m)),
|
|
17
17
|
reuse: !0
|
|
18
|
-
}),
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
}), s = [
|
|
19
|
+
{ number: 1e3, suffix: "K" },
|
|
20
|
+
{ number: 1e6, suffix: "M" },
|
|
21
|
+
{ number: 1e9, suffix: "B" },
|
|
22
|
+
{ number: 1e12, suffix: "T" }
|
|
23
|
+
], a = (r, e) => {
|
|
24
|
+
const m = o(e) ?? "#,###.##";
|
|
25
|
+
r.numberFormatter.set("numericFields", void 0), r.numberFormatter.set("numberFormat", m), (e == null ? void 0 : e.notation) === "compact" && r.numberFormatter.set("bigNumberPrefixes", s);
|
|
21
26
|
};
|
|
22
27
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
n as DEFAULT_VIRIDIS_COOL,
|
|
29
|
+
a as applyValueFormat,
|
|
25
30
|
c as colorSetFromPalette
|
|
26
31
|
};
|