@hybridcore/ui 1.6.1 → 1.6.3
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/CATALOG.md +179 -0
- package/README.md +1 -2
- package/dist/AccordionSummary-CJppWeqF.js +781 -0
- package/dist/Add-CqcD1PWb.js +403 -0
- package/dist/Box-DqUMmZjL.js +31 -0
- package/dist/Button-C5yquWAB.js +357 -0
- package/dist/ButtonBase-BEF7oTOe.js +887 -0
- package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
- package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
- package/dist/FormGroup-CpBsIyYR.js +89 -0
- package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
- package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
- package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
- package/dist/Modal-MUZygjmQ.js +1158 -0
- package/dist/Paper-BkQLdsCI.js +582 -0
- package/dist/Select-DHUl_uG3.js +3916 -0
- package/dist/SwitchBase-DTndTqI8.js +235 -0
- package/dist/TextField-e2oKaUN1.js +669 -0
- package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
- package/dist/{Typography-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/logic.js +1 -1
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/logic.js +26 -0
- package/dist/components/button/styled.js +9 -0
- package/dist/components/charts/_common/chart-error.js +19 -0
- package/dist/components/charts/candlestick/index.js +3 -3
- package/dist/components/charts/candlestick/logic.js +123 -113
- package/dist/components/charts/chart-wrapper/index.js +5 -5
- package/dist/components/charts/column-line-mix/index.js +9 -8
- package/dist/components/charts/column-line-mix/logic.js +68 -71
- package/dist/components/charts/drill-down-treemap/index.js +8 -7
- package/dist/components/charts/drill-down-treemap/logic.js +138 -144
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
- package/dist/components/charts/heatmap/index.js +9 -8
- package/dist/components/charts/heatmap/logic.js +167 -173
- package/dist/components/charts/highlighting-line-data/index.js +3 -3
- package/dist/components/charts/line/index.js +9 -8
- package/dist/components/charts/line/logic.js +74 -79
- package/dist/components/charts/logaritmic-scale/index.js +9 -8
- package/dist/components/charts/logaritmic-scale/logic.js +63 -69
- package/dist/components/charts/multiple-value-axes/index.js +9 -8
- package/dist/components/charts/multiple-value-axes/logic.js +101 -107
- package/dist/components/charts/nested-pie/index.js +9 -8
- package/dist/components/charts/nested-pie/logic.js +62 -68
- package/dist/components/charts/packed-circles/index.js +7 -6
- package/dist/components/charts/packed-circles/logic.js +50 -56
- package/dist/components/charts/pie-chart/index.js +9 -8
- package/dist/components/charts/pie-chart/logic.js +49 -54
- package/dist/components/charts/stacked-area-radar/index.js +8 -7
- package/dist/components/charts/stacked-area-radar/logic.js +113 -118
- package/dist/components/charts/stacked-column-chart/index.js +9 -8
- package/dist/components/charts/stacked-column-chart/logic.js +78 -84
- package/dist/components/charts/xy-chart/index.js +9 -8
- package/dist/components/charts/xy-chart/logic.js +56 -60
- package/dist/components/collapsible-card/index.js +11 -10
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7120 -0
- package/dist/components/color-picker/logic.js +18 -0
- package/dist/components/color-picker/styled.js +7 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-grid/index.js +22 -0
- package/dist/components/data-grid/logic.js +15 -0
- package/dist/components/data-grid/styled.js +20 -0
- package/dist/components/data-map/components/controls/index.js +4 -6
- package/dist/components/data-map/index.js +11 -11
- package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
- package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
- package/dist/components/data-security-selectors/security-level/index.js +18 -15
- package/dist/components/data-security-selectors/security-level/logic.js +18 -63
- package/dist/components/data-security-selectors/security-level/styled.js +23 -17
- package/dist/components/date-picker-with-custom-range/index.js +1 -1
- package/dist/components/date-range-picker/index.js +2748 -0
- package/dist/components/date-range-picker/styled.js +14 -0
- package/dist/components/date-time-picker/index.js +45 -46
- package/dist/components/divider/index.js +11 -11
- package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
- package/dist/components/document-viewer/components/navigation/index.js +9 -9
- package/dist/components/document-viewer/components/viewer/index.js +31 -35
- package/dist/components/document-viewer/index.js +31 -39
- package/dist/components/document-viewer/logic.js +41 -34
- package/dist/components/document-viewer/styled.js +115 -27
- package/dist/components/duration-select/index.js +27 -0
- package/dist/components/duration-select/logic.js +21 -0
- package/dist/components/duration-select/styled.js +26 -0
- package/dist/components/editable-text/index.js +20 -0
- package/dist/components/editable-text/logic.js +18 -0
- package/dist/components/editable-text/styled.js +22 -0
- package/dist/components/geometry-picker/coordinate/index.js +29 -29
- package/dist/components/geometry-picker/edit/index.js +18 -18
- package/dist/components/geometry-picker/geometry/index.js +67 -67
- package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
- package/dist/components/geometry-picker/index.js +69 -86
- package/dist/components/geometry-picker/kml/index.js +16 -16
- package/dist/components/geometry-picker/logic.js +50 -57
- package/dist/components/geometry-picker/map/index.js +8 -8
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
- package/dist/components/geometry-picker/parser/index.js +46 -50
- package/dist/components/geometry-picker/parser/styled.js +22 -4
- package/dist/components/geometry-picker/styled.js +97 -37
- package/dist/components/geometry-picker/wkt/index.js +13 -13
- package/dist/components/heat-map/components/controls/index.js +4 -6
- package/dist/components/heat-map/components/legend/index.js +15 -17
- package/dist/components/heat-map/index.js +7 -7
- package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
- package/dist/components/instance-form/components/composite-list/index.js +5 -3
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
- package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
- package/dist/components/instance-form/components/policy-list/index.js +47 -81
- package/dist/components/instance-form/components/variable/index.js +6 -9
- package/dist/components/instance-form/components/variables/index.js +48 -55
- package/dist/components/instance-form/helpers.js +9 -0
- package/dist/components/instance-form/index.js +402 -518
- package/dist/components/instance-form/logic.js +115 -0
- package/dist/components/instance-form/styled.js +487 -0
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +11 -11
- package/dist/components/map/index.js +28 -6
- package/dist/components/map/styled.js +1 -1
- package/dist/components/notification/index.js +67 -0
- package/dist/components/notification/logic.js +30 -0
- package/dist/components/notification/store.js +23 -0
- package/dist/components/notification/styled.js +52 -0
- package/dist/components/object-profile-card/components/avatar/index.js +9 -10
- package/dist/components/object-profile-card/index.js +19 -20
- package/dist/components/paginated-list/index.js +2 -3
- package/dist/components/placeholder/index.js +10 -0
- package/dist/components/placeholder/logic.js +12 -0
- package/dist/components/placeholder/styled.js +32 -0
- package/dist/components/positional-tooltip/index.js +24 -0
- package/dist/components/positional-tooltip/styled.js +17 -0
- package/dist/components/property-mapping/index.js +204 -423
- package/dist/components/property-mapping/logic.js +156 -0
- package/dist/components/property-mapping/styled.js +199 -0
- package/dist/components/prr-map/components/controls/index.js +4 -6
- package/dist/components/prr-map/components/legend/index.js +26 -28
- package/dist/components/prr-map/index.js +5 -5
- package/dist/components/range-selector/styled.js +1106 -1034
- package/dist/components/raster-grid-map/components/controls/index.js +4 -6
- package/dist/components/raster-grid-map/components/legend/index.js +4 -6
- package/dist/components/raster-grid-map/index.js +5 -5
- package/dist/components/scroll-drag/index.js +22 -0
- package/dist/components/scroll-drag/logic.js +39 -0
- package/dist/components/scroll-drag/styled.js +17 -0
- package/dist/components/search-input/logic.js +35 -33
- package/dist/components/simple-pivot-table/index.js +12 -12
- package/dist/components/sortable-list/index.js +599 -0
- package/dist/components/sortable-list/logic.js +18 -0
- package/dist/components/sortable-list/styled.js +38 -0
- package/dist/components/static-text/index.js +6 -6
- package/dist/components/stats-box/index.js +12 -0
- package/dist/components/stats-box/styled.js +36 -0
- package/dist/components/template-form/components/property-list/index.js +27 -26
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +758 -12
- package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -22
- package/dist/components/template-form/components/select-icon/index.js +24 -24
- package/dist/components/template-form/helpers.js +17 -0
- package/dist/components/template-form/index.js +270 -308
- package/dist/components/template-form/logic.js +69 -0
- package/dist/components/template-form/styled.js +84 -0
- package/dist/components/text-overflow/index.js +6 -0
- package/dist/components/text-overflow/styled.js +13 -0
- package/dist/components/timeline/index.js +12 -12
- package/dist/components/toggle-view-button/index.js +35 -0
- package/dist/components/toggle-view-button/logic.js +22 -0
- package/dist/components/toggle-view-button/styled.js +11 -0
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/visually-hidden-input/index.js +4 -0
- package/dist/components/visually-hidden-input/styled.js +18 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
- package/dist/createSvgIcon-DuDuASu1.js +62 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
- package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
- package/dist/index-BtlzPygz.js +470 -0
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
- package/dist/main.d.ts +1066 -328
- package/dist/main.js +165 -130
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-Db1RdcPA.js +323 -0
- package/dist/unsupportedProp-DuqR2hj9.js +36 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
- package/dist/useSlot-B_Q4vnX5.js +42 -0
- package/package.json +15 -7
- package/dist/AccordionSummary-CMg08YSA.js +0 -739
- package/dist/Add-DuVVJeQU.js +0 -380
- package/dist/ButtonBase-sObABYY2.js +0 -965
- package/dist/FormControl-BCurCxRj.js +0 -1294
- package/dist/FormControlLabel-BkRfrhNy.js +0 -601
- package/dist/InputAdornment-C7PEvvYr.js +0 -155
- package/dist/Modal-DlB6GH-f.js +0 -1659
- package/dist/Paper-q9kKjAKx.js +0 -527
- package/dist/TextField-DSDIEEKu.js +0 -3161
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/capitalize-quqpGCFu.js +0 -9
- package/dist/components/instance-form/components/composite-list/styled.js +0 -73
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
- package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
- package/dist/components/key-protection/index.js +0 -47
- package/dist/components/key-protection/logic.js +0 -40
- package/dist/components/key-protection/styled.js +0 -45
- package/dist/components/key-protection/utils.js +0 -10
- package/dist/createSvgIcon-BM3-TsGy.js +0 -70
- package/dist/index-BMS1Otro.js +0 -183
- package/dist/index-DPKUmQnz.js +0 -501
- package/dist/index-kCJ_Zvl8.js +0 -34
- package/dist/isMuiElement-BkJ72LB3.js +0 -26
- package/dist/property-list-form-DL_dEoNn.js +0 -381
- package/dist/styled-Bsjp3kFh.js +0 -668
- package/dist/unsupportedProp-BND8AB6O.js +0 -25
- package/dist/useId-B4-oF9Mq.js +0 -34
- package/dist/utils-Cxu-fHjQ.js +0 -115
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { P as u } from "./index-C__OZmYy.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import p from "react";
|
|
4
|
+
import { _ as d } from "./setPrototypeOf-NPgp4cYc.js";
|
|
5
|
+
const _ = u.oneOfType([u.func, u.object]);
|
|
6
|
+
function m(e, t) {
|
|
7
|
+
return process.env.NODE_ENV === "production" ? () => null : function(...o) {
|
|
8
|
+
return e(...o) || t(...o);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function y(e) {
|
|
12
|
+
const {
|
|
13
|
+
prototype: t = {}
|
|
14
|
+
} = e;
|
|
15
|
+
return !!t.isReactComponent;
|
|
16
|
+
}
|
|
17
|
+
function h(e, t, n, o, a) {
|
|
18
|
+
const c = e[t], l = a || t;
|
|
19
|
+
if (c == null || // When server-side rendering React doesn't warn either.
|
|
20
|
+
// This is not an accurate check for SSR.
|
|
21
|
+
// This is only in place for emotion compat.
|
|
22
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
23
|
+
typeof window > "u")
|
|
24
|
+
return null;
|
|
25
|
+
let s;
|
|
26
|
+
return typeof c == "function" && !y(c) && (s = "Did you accidentally provide a plain function component instead?"), s !== void 0 ? new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
27
|
+
}
|
|
28
|
+
const O = m(u.elementType, h);
|
|
29
|
+
function E(e, t) {
|
|
30
|
+
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
31
|
+
}
|
|
32
|
+
function $(...e) {
|
|
33
|
+
return r.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
34
|
+
e.forEach((n) => {
|
|
35
|
+
E(n, t);
|
|
36
|
+
});
|
|
37
|
+
}, e);
|
|
38
|
+
}
|
|
39
|
+
const T = typeof window < "u" ? r.useLayoutEffect : r.useEffect;
|
|
40
|
+
function b(e) {
|
|
41
|
+
const t = r.useRef(e);
|
|
42
|
+
return T(() => {
|
|
43
|
+
t.current = e;
|
|
44
|
+
}), r.useRef((...n) => (
|
|
45
|
+
// @ts-expect-error hide `this`
|
|
46
|
+
(0, t.current)(...n)
|
|
47
|
+
)).current;
|
|
48
|
+
}
|
|
49
|
+
const f = {};
|
|
50
|
+
function I(e, t) {
|
|
51
|
+
const n = r.useRef(f);
|
|
52
|
+
return n.current === f && (n.current = e(t)), n;
|
|
53
|
+
}
|
|
54
|
+
const R = [];
|
|
55
|
+
function w(e) {
|
|
56
|
+
r.useEffect(e, R);
|
|
57
|
+
}
|
|
58
|
+
class i {
|
|
59
|
+
constructor() {
|
|
60
|
+
this.currentId = null, this.clear = () => {
|
|
61
|
+
this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
|
|
62
|
+
}, this.disposeEffect = () => this.clear;
|
|
63
|
+
}
|
|
64
|
+
static create() {
|
|
65
|
+
return new i();
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
69
|
+
*/
|
|
70
|
+
start(t, n) {
|
|
71
|
+
this.clear(), this.currentId = setTimeout(() => {
|
|
72
|
+
this.currentId = null, n();
|
|
73
|
+
}, t);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function x() {
|
|
77
|
+
const e = I(i.create).current;
|
|
78
|
+
return w(e.disposeEffect), e;
|
|
79
|
+
}
|
|
80
|
+
function L(e, t) {
|
|
81
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, d(e, t);
|
|
82
|
+
}
|
|
83
|
+
const N = p.createContext(null);
|
|
84
|
+
export {
|
|
85
|
+
i as T,
|
|
86
|
+
L as _,
|
|
87
|
+
T as a,
|
|
88
|
+
b,
|
|
89
|
+
m as c,
|
|
90
|
+
N as d,
|
|
91
|
+
x as e,
|
|
92
|
+
O as f,
|
|
93
|
+
_ as r,
|
|
94
|
+
E as s,
|
|
95
|
+
$ as u
|
|
96
|
+
};
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { a as s, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
2
|
import * as W from "react";
|
|
3
3
|
import { P as t } from "./index-C__OZmYy.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { c as C } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { a as M, g as O, s as j, b as f, u as P, e as N, c as R } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
6
6
|
import { jsx as _ } from "react/jsx-runtime";
|
|
7
|
-
import { c as f } from "./capitalize-quqpGCFu.js";
|
|
8
7
|
function U(a) {
|
|
9
|
-
return
|
|
8
|
+
return M("MuiTypography", a);
|
|
10
9
|
}
|
|
11
|
-
|
|
10
|
+
O("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
12
11
|
const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], E = (a) => {
|
|
13
12
|
const {
|
|
14
13
|
align: o,
|
|
15
14
|
gutterBottom: r,
|
|
16
|
-
noWrap:
|
|
15
|
+
noWrap: e,
|
|
17
16
|
paragraph: i,
|
|
18
|
-
variant:
|
|
17
|
+
variant: n,
|
|
19
18
|
classes: h
|
|
20
19
|
} = a, p = {
|
|
21
|
-
root: ["root",
|
|
20
|
+
root: ["root", n, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", e && "noWrap", i && "paragraph"]
|
|
22
21
|
};
|
|
23
|
-
return
|
|
24
|
-
}, L =
|
|
22
|
+
return R(p, U, h);
|
|
23
|
+
}, L = j("span", {
|
|
25
24
|
name: "MuiTypography",
|
|
26
25
|
slot: "Root",
|
|
27
26
|
overridesResolver: (a, o) => {
|
|
@@ -35,7 +34,10 @@ const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
35
34
|
ownerState: o
|
|
36
35
|
}) => s({
|
|
37
36
|
margin: 0
|
|
38
|
-
}, o.variant
|
|
37
|
+
}, o.variant === "inherit" && {
|
|
38
|
+
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
39
|
+
font: "inherit"
|
|
40
|
+
}, o.variant !== "inherit" && a.typography[o.variant], o.align !== "inherit" && {
|
|
39
41
|
textAlign: o.align
|
|
40
42
|
}, o.noWrap && {
|
|
41
43
|
overflow: "hidden",
|
|
@@ -63,28 +65,28 @@ const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
63
65
|
secondary: "secondary.main",
|
|
64
66
|
textSecondary: "text.secondary",
|
|
65
67
|
error: "error.main"
|
|
66
|
-
}, $ = (a) => V[a] || a,
|
|
67
|
-
const
|
|
68
|
+
}, $ = (a) => V[a] || a, z = /* @__PURE__ */ W.forwardRef(function(o, r) {
|
|
69
|
+
const e = P({
|
|
68
70
|
props: o,
|
|
69
71
|
name: "MuiTypography"
|
|
70
|
-
}), i = $(
|
|
72
|
+
}), i = $(e.color), n = N(s({}, e, {
|
|
71
73
|
color: i
|
|
72
74
|
})), {
|
|
73
75
|
align: h = "inherit",
|
|
74
76
|
className: p,
|
|
75
77
|
component: g,
|
|
76
|
-
gutterBottom:
|
|
77
|
-
noWrap:
|
|
78
|
+
gutterBottom: d = !1,
|
|
79
|
+
noWrap: b = !1,
|
|
78
80
|
paragraph: c = !1,
|
|
79
81
|
variant: l = "body1",
|
|
80
82
|
variantMapping: m = u
|
|
81
|
-
} =
|
|
83
|
+
} = n, v = B(n, D), y = s({}, n, {
|
|
82
84
|
align: h,
|
|
83
85
|
color: i,
|
|
84
86
|
className: p,
|
|
85
87
|
component: g,
|
|
86
|
-
gutterBottom:
|
|
87
|
-
noWrap:
|
|
88
|
+
gutterBottom: d,
|
|
89
|
+
noWrap: b,
|
|
88
90
|
paragraph: c,
|
|
89
91
|
variant: l,
|
|
90
92
|
variantMapping: m
|
|
@@ -93,14 +95,14 @@ const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
93
95
|
as: T,
|
|
94
96
|
ref: r,
|
|
95
97
|
ownerState: y,
|
|
96
|
-
className:
|
|
98
|
+
className: C(x.root, p)
|
|
97
99
|
}, v));
|
|
98
100
|
});
|
|
99
|
-
process.env.NODE_ENV !== "production" && (
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//
|
|
101
|
+
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
102
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
103
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
104
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
105
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
104
106
|
/**
|
|
105
107
|
* Set the text-align on the component.
|
|
106
108
|
* @default 'inherit'
|
|
@@ -172,5 +174,5 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
|
172
174
|
variantMapping: t.object
|
|
173
175
|
});
|
|
174
176
|
export {
|
|
175
|
-
|
|
177
|
+
z as T
|
|
176
178
|
};
|
|
@@ -0,0 +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}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function a(r) {
|
|
2
|
+
var f, n, t = "";
|
|
3
|
+
if (typeof r == "string" || typeof r == "number") t += r;
|
|
4
|
+
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
+
var o = r.length;
|
|
6
|
+
for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
|
|
7
|
+
} else for (n in r) r[n] && (t && (t += " "), t += n);
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
function i() {
|
|
11
|
+
for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
i as c
|
|
16
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useThemeProps as l } from "@mui/material";
|
|
2
2
|
import r from "lodash";
|
|
3
|
-
import { a as m } from "../../helpers-
|
|
3
|
+
import { a as m } from "../../helpers-D4uXfBfO.js";
|
|
4
4
|
const h = (n) => {
|
|
5
5
|
const e = l({ props: n, name: "HCAccess" }), { pagePath: o, appRoles: c, loading: t = !1 } = e;
|
|
6
6
|
let { feature: s } = e;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useButtonLogic as i } from "./logic.js";
|
|
3
|
+
import { ButtonRoot as s } from "./styled.js";
|
|
4
|
+
const u = (t) => {
|
|
5
|
+
const { state: o, actions: r } = i(t);
|
|
6
|
+
return /* @__PURE__ */ n(s, { ...o.rest, onClick: r.handleClick });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
u as Button
|
|
10
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useThemeProps as f } from "@mui/material";
|
|
2
|
+
const m = (c) => {
|
|
3
|
+
const n = f({ props: c, name: "HCButton" }), { to: t, state: i, onNavigate: r, onNavigateBack: s, onClick: e, ...p } = n, u = { ...n };
|
|
4
|
+
return {
|
|
5
|
+
refs: {},
|
|
6
|
+
state: { ownerState: u, rest: p },
|
|
7
|
+
actions: { handleClick: (o) => {
|
|
8
|
+
if (t !== void 0) {
|
|
9
|
+
if (t === "go-back") {
|
|
10
|
+
s == null || s();
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (o.metaKey || o.ctrlKey || o.shiftKey) {
|
|
14
|
+
window.open(t, "_blank");
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
r == null || r(t, { state: i });
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
e == null || e(o);
|
|
21
|
+
} }
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
m as useButtonLogic
|
|
26
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Box as e, Alert as i } from "@mui/material";
|
|
3
|
+
const d = ({ message: t }) => /* @__PURE__ */ r(
|
|
4
|
+
e,
|
|
5
|
+
{
|
|
6
|
+
sx: {
|
|
7
|
+
width: "100%",
|
|
8
|
+
height: "100%",
|
|
9
|
+
display: "flex",
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
justifyContent: "center",
|
|
12
|
+
padding: 2
|
|
13
|
+
},
|
|
14
|
+
children: /* @__PURE__ */ r(i, { severity: "error", variant: "outlined", sx: { width: "100%" }, children: t })
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
export {
|
|
18
|
+
d as ChartError
|
|
19
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useCandlestickChartLogic as h } from "./logic.js";
|
|
3
3
|
import { CandlestickChartRoot as f } from "./styled.js";
|
|
4
|
-
|
|
4
|
+
const x = (i) => {
|
|
5
5
|
const {
|
|
6
6
|
chartDivRef: n,
|
|
7
7
|
data: o,
|
|
@@ -55,7 +55,7 @@ function u(i) {
|
|
|
55
55
|
}
|
|
56
56
|
)
|
|
57
57
|
] });
|
|
58
|
-
}
|
|
58
|
+
};
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
x as CandlestickChart
|
|
61
61
|
};
|