@hybridcore/ui 1.6.12 → 1.6.14
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/{AccordionSummary-CJppWeqF.js → AccordionSummary-DUtr16g6.js} +7 -7
- package/dist/{Add-CqcD1PWb.js → Add-Bk8R160M.js} +9 -9
- package/dist/{Button-C5yquWAB.js → Button-Cem3nbwc.js} +12 -12
- package/dist/{ButtonBase-BEF7oTOe.js → ButtonBase-DObmf4Q_.js} +4 -5
- package/dist/{IconButton-BoGwbvrP.js → Delete-CVJ6FeDn.js} +91 -72
- package/dist/{FormGroup-CpBsIyYR.js → FormGroup-BRj1o7-E.js} +3 -3
- package/dist/{InputLabel-Dd8RrneV.js → InputLabel-CjD30ZHz.js} +3 -3
- package/dist/{MenuItem-DwqJqzuM.js → MenuItem-BKvRGLvM.js} +6 -6
- package/dist/{Modal-MUZygjmQ.js → Modal-BVYydOr5.js} +7 -9
- package/dist/{Paper-BkQLdsCI.js → Paper-B1HV8GyO.js} +37 -37
- package/dist/{Select-DHUl_uG3.js → Select-Bfhvigsx.js} +2793 -2795
- package/dist/{SwitchBase-DTndTqI8.js → SwitchBase-BEK49kdS.js} +5 -5
- package/dist/{TextField-e2oKaUN1.js → TextField-Ca9ykixI.js} +166 -139
- package/dist/{TransitionGroupContext-BDAp2T0O.js → TransitionGroupContext-Ja2CgIob.js} +1 -1
- package/dist/{Typography-DgsSLCFC.js → Typography-D3X-Y5fh.js} +3 -3
- package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +193 -41
- package/dist/components/charts/_common/utils.js +16 -11
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
- package/dist/components/collapsible-card/index.js +2 -2
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/color-picker/styled.js +1 -1
- package/dist/components/confirm/dialog.js +3 -4
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/date-picker-with-custom-range/index.js +86 -7
- package/dist/components/date-range-picker/index.js +2 -2
- package/dist/components/duration-select/index.js +1 -1
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2 -2
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/metric-card/logic.js +46 -49
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/range-selector/styled.js +65 -4228
- package/dist/components/raster-grid-map/index.js +1 -1
- 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 +5 -5
- package/dist/components/template-form/components/property-list/index.js +11 -12
- package/dist/components/template-form/components/property-list/property-list-columns.js +4 -5
- package/dist/components/template-form/components/property-list/property-list-form.js +25 -26
- package/dist/components/template-form/components/recognition-property-list/index.js +16 -17
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +3 -4
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +21 -22
- package/dist/components/tree-select/index.js +1 -1
- package/dist/createSvgIcon-BghzB2Y9.js +93 -0
- package/dist/{createSvgIcon-Ch_cT8az.js → createSvgIcon-D7U1nd99.js} +3 -3
- package/dist/{DialogContent-BvVjD9z3.js → dialog-BtJhjyF5.js} +326 -185
- package/dist/{generateUtilityClasses-C3ivN9Ie.js → generateUtilityClasses-Cc-owZ4J.js} +9 -11
- package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
- package/dist/{index.esm-BLLrbTzY.js → index.esm-DAf19hyR.js} +1 -1
- package/dist/main.d.ts +54 -8
- package/dist/main.js +176 -175
- package/dist/{styled-SoqbyrkW.js → styled-DD4BkuVf.js} +6 -6
- package/dist/{useSlot-B_Q4vnX5.js → useSlot-u4t0X96G.js} +3 -3
- package/package.json +1 -1
- package/dist/Box-DqUMmZjL.js +0 -31
- package/dist/Delete-BdyYpINH.js +0 -23
- package/dist/createSvgIcon-DuDuASu1.js +0 -62
- package/dist/dialog-BYRnCztH.js +0 -154
- package/dist/index-e9xTIYWt.js +0 -1934
- package/dist/unsupportedProp-DuqR2hj9.js +0 -36
- package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
- package/dist/{objectWithoutPropertiesLoose-DJteAcBH.js → extends-C3382pL0.js} +9 -9
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { g as l } from "./_commonjsHelpers-BVfed4GL.js";
|
|
2
|
-
import { c as f } from "./createSvgIcon-Ch_cT8az.js";
|
|
3
|
-
import { C as d, b as p } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
4
|
-
import { d as g } from "./debounce-46wSf_lW.js";
|
|
5
|
-
import { o as b, a as v } from "./ownerWindow-wg6foiOE.js";
|
|
6
|
-
import { i as h, r as _, u as E } from "./unsupportedProp-DuqR2hj9.js";
|
|
7
|
-
import { s as N, a as C, b as I, u as S } from "./TransitionGroupContext-BDAp2T0O.js";
|
|
8
|
-
import { c as y } from "./createChainedFunction-C0nujS3O.js";
|
|
9
|
-
import { u as $ } from "./useId-BW-oWmul.js";
|
|
10
|
-
import { u as O } from "./useControlled-BYdyS7Pn.js";
|
|
11
|
-
import { u as P } from "./ButtonBase-BEF7oTOe.js";
|
|
12
|
-
var t = {};
|
|
13
|
-
function j(e, r) {
|
|
14
|
-
return process.env.NODE_ENV === "production" ? () => null : (s, o, n, u, i) => {
|
|
15
|
-
const c = n || "<<anonymous>>", m = i || o;
|
|
16
|
-
return typeof s[o] < "u" ? new Error(`The ${u} \`${m}\` of \`${c}\` is deprecated. ${r}`) : null;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
const w = {
|
|
20
|
-
configure: (e) => {
|
|
21
|
-
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
22
|
-
`)), d.configure(e);
|
|
23
|
-
}
|
|
24
|
-
}, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
|
-
__proto__: null,
|
|
26
|
-
capitalize: p,
|
|
27
|
-
createChainedFunction: y,
|
|
28
|
-
createSvgIcon: f,
|
|
29
|
-
debounce: g,
|
|
30
|
-
deprecatedPropType: j,
|
|
31
|
-
isMuiElement: h,
|
|
32
|
-
ownerDocument: b,
|
|
33
|
-
ownerWindow: v,
|
|
34
|
-
requirePropFactory: _,
|
|
35
|
-
setRef: N,
|
|
36
|
-
unstable_ClassNameGenerator: w,
|
|
37
|
-
unstable_useEnhancedEffect: C,
|
|
38
|
-
unstable_useId: $,
|
|
39
|
-
unsupportedProp: E,
|
|
40
|
-
useControlled: O,
|
|
41
|
-
useEventCallback: I,
|
|
42
|
-
useForkRef: S,
|
|
43
|
-
useIsFocusVisible: P
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" })), T = /* @__PURE__ */ l(F);
|
|
45
|
-
var a;
|
|
46
|
-
function W() {
|
|
47
|
-
return a || (a = 1, function(e) {
|
|
48
|
-
"use client";
|
|
49
|
-
Object.defineProperty(e, "__esModule", {
|
|
50
|
-
value: !0
|
|
51
|
-
}), Object.defineProperty(e, "default", {
|
|
52
|
-
enumerable: !0,
|
|
53
|
-
get: function() {
|
|
54
|
-
return r.createSvgIcon;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
var r = T;
|
|
58
|
-
}(t)), t;
|
|
59
|
-
}
|
|
60
|
-
export {
|
|
61
|
-
W as r
|
|
62
|
-
};
|
package/dist/dialog-BYRnCztH.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { jsx as s, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import { confirmable as x } from "react-confirm";
|
|
3
|
-
import { IconButton as D } from "@mui/material";
|
|
4
|
-
import { Close as C } from "@mui/icons-material";
|
|
5
|
-
import { b as h, g as T, D as b, a as y, c as B } from "./DialogContent-BvVjD9z3.js";
|
|
6
|
-
import { _ as j, a as v } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
7
|
-
import * as d from "react";
|
|
8
|
-
import { P as o } from "./index-C__OZmYy.js";
|
|
9
|
-
import { c as M } from "./clsx-OuTLNxxd.js";
|
|
10
|
-
import { s as N, u as O, c as R } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
11
|
-
import { T as P } from "./Typography-DgsSLCFC.js";
|
|
12
|
-
import { B as m } from "./Button-C5yquWAB.js";
|
|
13
|
-
const _ = ["className", "id"], k = (a) => {
|
|
14
|
-
const {
|
|
15
|
-
classes: t
|
|
16
|
-
} = a;
|
|
17
|
-
return R({
|
|
18
|
-
root: ["root"]
|
|
19
|
-
}, T, t);
|
|
20
|
-
}, w = N(P, {
|
|
21
|
-
name: "MuiDialogTitle",
|
|
22
|
-
slot: "Root",
|
|
23
|
-
overridesResolver: (a, t) => t.root
|
|
24
|
-
})({
|
|
25
|
-
padding: "16px 24px",
|
|
26
|
-
flex: "0 0 auto"
|
|
27
|
-
}), u = /* @__PURE__ */ d.forwardRef(function(t, r) {
|
|
28
|
-
const i = O({
|
|
29
|
-
props: t,
|
|
30
|
-
name: "MuiDialogTitle"
|
|
31
|
-
}), {
|
|
32
|
-
className: e,
|
|
33
|
-
id: n
|
|
34
|
-
} = i, l = j(i, _), c = i, f = k(c), {
|
|
35
|
-
titleId: g = n
|
|
36
|
-
} = d.useContext(h);
|
|
37
|
-
return /* @__PURE__ */ s(w, v({
|
|
38
|
-
component: "h2",
|
|
39
|
-
className: M(f.root, e),
|
|
40
|
-
ownerState: c,
|
|
41
|
-
ref: r,
|
|
42
|
-
variant: "h6",
|
|
43
|
-
id: n ?? g
|
|
44
|
-
}, l));
|
|
45
|
-
});
|
|
46
|
-
process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
47
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
48
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
49
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
50
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
51
|
-
/**
|
|
52
|
-
* The content of the component.
|
|
53
|
-
*/
|
|
54
|
-
children: o.node,
|
|
55
|
-
/**
|
|
56
|
-
* Override or extend the styles applied to the component.
|
|
57
|
-
*/
|
|
58
|
-
classes: o.object,
|
|
59
|
-
/**
|
|
60
|
-
* @ignore
|
|
61
|
-
*/
|
|
62
|
-
className: o.string,
|
|
63
|
-
/**
|
|
64
|
-
* @ignore
|
|
65
|
-
*/
|
|
66
|
-
id: o.string,
|
|
67
|
-
/**
|
|
68
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
|
-
*/
|
|
70
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
71
|
-
});
|
|
72
|
-
const I = {
|
|
73
|
-
confirmButtonText: "OK",
|
|
74
|
-
cancelButtonText: "Cancel",
|
|
75
|
-
disableCancelButton: !1
|
|
76
|
-
}, A = ({
|
|
77
|
-
show: a = !0,
|
|
78
|
-
proceed: t = () => {
|
|
79
|
-
},
|
|
80
|
-
title: r,
|
|
81
|
-
description: i,
|
|
82
|
-
options: e
|
|
83
|
-
}) => {
|
|
84
|
-
e = { ...I, ...e };
|
|
85
|
-
const n = () => {
|
|
86
|
-
t(!1);
|
|
87
|
-
}, l = () => {
|
|
88
|
-
t(!1);
|
|
89
|
-
}, c = () => {
|
|
90
|
-
t(!0);
|
|
91
|
-
};
|
|
92
|
-
return /* @__PURE__ */ p(
|
|
93
|
-
b,
|
|
94
|
-
{
|
|
95
|
-
open: a,
|
|
96
|
-
onClose: n,
|
|
97
|
-
"aria-labelledby": "dialog-title",
|
|
98
|
-
"aria-describedby": "dialog-description",
|
|
99
|
-
sx: {
|
|
100
|
-
zIndex: 9999,
|
|
101
|
-
"& .MuiDialog-paper": {
|
|
102
|
-
borderRadius: 3
|
|
103
|
-
},
|
|
104
|
-
"& .MuiDialogTitle-root": {
|
|
105
|
-
px: 4,
|
|
106
|
-
py: 3
|
|
107
|
-
},
|
|
108
|
-
"& .MuiDialogContent-root": {
|
|
109
|
-
p: 4,
|
|
110
|
-
pt: 0
|
|
111
|
-
},
|
|
112
|
-
"& .MuiDialogActions-root": {
|
|
113
|
-
p: 4,
|
|
114
|
-
background: "#0439910A"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
children: [
|
|
118
|
-
/* @__PURE__ */ p(
|
|
119
|
-
u,
|
|
120
|
-
{
|
|
121
|
-
id: "dialog-title",
|
|
122
|
-
sx: {
|
|
123
|
-
display: "flex",
|
|
124
|
-
justifyContent: "space-between",
|
|
125
|
-
alignItems: "center"
|
|
126
|
-
},
|
|
127
|
-
children: [
|
|
128
|
-
r,
|
|
129
|
-
/* @__PURE__ */ s(D, { onClick: l, children: /* @__PURE__ */ s(C, {}) })
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
),
|
|
133
|
-
/* @__PURE__ */ s(y, { sx: { minWidth: 400 }, children: i }),
|
|
134
|
-
/* @__PURE__ */ p(B, { children: [
|
|
135
|
-
!e.disableCancelButton && /* @__PURE__ */ s(m, { color: "inherit", onClick: l, children: e.cancelButtonText }),
|
|
136
|
-
/* @__PURE__ */ s(
|
|
137
|
-
m,
|
|
138
|
-
{
|
|
139
|
-
variant: "contained",
|
|
140
|
-
color: "primary",
|
|
141
|
-
onClick: c,
|
|
142
|
-
autoFocus: !0,
|
|
143
|
-
children: e.confirmButtonText
|
|
144
|
-
}
|
|
145
|
-
)
|
|
146
|
-
] })
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
);
|
|
150
|
-
}, G = x(A);
|
|
151
|
-
export {
|
|
152
|
-
G as D,
|
|
153
|
-
u as a
|
|
154
|
-
};
|