@hybridcore/ui 1.6.12 → 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/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/utils.js +16 -11
- 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/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 +54 -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/Delete-BdyYpINH.js +0 -23
- package/dist/DialogContent-BvVjD9z3.js +0 -523
- package/dist/FormGroup-CpBsIyYR.js +0 -89
- 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,235 +0,0 @@
|
|
|
1
|
-
import { a as c, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
-
import * as D from "react";
|
|
3
|
-
import { P as e } from "./index-C__OZmYy.js";
|
|
4
|
-
import { c as V } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { a as W, g as $, s as F, r as A, b as G, c as H } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
6
|
-
import { u as J } from "./useFormControl-CatNKXAi.js";
|
|
7
|
-
import { jsxs as K, jsx as Q } from "react/jsx-runtime";
|
|
8
|
-
import { B as X } from "./ButtonBase-BEF7oTOe.js";
|
|
9
|
-
import { u as Y } from "./useControlled-BYdyS7Pn.js";
|
|
10
|
-
import { r as Z } from "./TransitionGroupContext-BDAp2T0O.js";
|
|
11
|
-
function ee(o) {
|
|
12
|
-
return W("PrivateSwitchBase", o);
|
|
13
|
-
}
|
|
14
|
-
$("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
15
|
-
const oe = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], se = (o) => {
|
|
16
|
-
const {
|
|
17
|
-
classes: a,
|
|
18
|
-
checked: r,
|
|
19
|
-
disabled: l,
|
|
20
|
-
edge: n
|
|
21
|
-
} = o, u = {
|
|
22
|
-
root: ["root", r && "checked", l && "disabled", n && `edge${G(n)}`],
|
|
23
|
-
input: ["input"]
|
|
24
|
-
};
|
|
25
|
-
return H(u, ee, a);
|
|
26
|
-
}, te = F(X, {
|
|
27
|
-
name: "MuiSwitchBase"
|
|
28
|
-
})(({
|
|
29
|
-
ownerState: o
|
|
30
|
-
}) => c({
|
|
31
|
-
padding: 9,
|
|
32
|
-
borderRadius: "50%"
|
|
33
|
-
}, o.edge === "start" && {
|
|
34
|
-
marginLeft: o.size === "small" ? -3 : -12
|
|
35
|
-
}, o.edge === "end" && {
|
|
36
|
-
marginRight: o.size === "small" ? -3 : -12
|
|
37
|
-
})), ae = F("input", {
|
|
38
|
-
name: "MuiSwitchBase",
|
|
39
|
-
shouldForwardProp: A
|
|
40
|
-
})({
|
|
41
|
-
cursor: "inherit",
|
|
42
|
-
position: "absolute",
|
|
43
|
-
opacity: 0,
|
|
44
|
-
width: "100%",
|
|
45
|
-
height: "100%",
|
|
46
|
-
top: 0,
|
|
47
|
-
left: 0,
|
|
48
|
-
margin: 0,
|
|
49
|
-
padding: 0,
|
|
50
|
-
zIndex: 1
|
|
51
|
-
}), ne = /* @__PURE__ */ D.forwardRef(function(a, r) {
|
|
52
|
-
const {
|
|
53
|
-
autoFocus: l,
|
|
54
|
-
checked: n,
|
|
55
|
-
checkedIcon: u,
|
|
56
|
-
className: R,
|
|
57
|
-
defaultChecked: f,
|
|
58
|
-
disabled: w,
|
|
59
|
-
disableFocusRipple: h = !1,
|
|
60
|
-
edge: x = !1,
|
|
61
|
-
icon: S,
|
|
62
|
-
id: P,
|
|
63
|
-
inputProps: I,
|
|
64
|
-
inputRef: q,
|
|
65
|
-
name: N,
|
|
66
|
-
onBlur: m,
|
|
67
|
-
onChange: b,
|
|
68
|
-
onFocus: g,
|
|
69
|
-
readOnly: O,
|
|
70
|
-
required: j = !1,
|
|
71
|
-
tabIndex: v,
|
|
72
|
-
type: d,
|
|
73
|
-
value: k
|
|
74
|
-
} = a, _ = M(a, oe), [B, z] = Y({
|
|
75
|
-
controlled: n,
|
|
76
|
-
default: !!f,
|
|
77
|
-
name: "SwitchBase",
|
|
78
|
-
state: "checked"
|
|
79
|
-
}), t = J(), E = (s) => {
|
|
80
|
-
g && g(s), t && t.onFocus && t.onFocus(s);
|
|
81
|
-
}, T = (s) => {
|
|
82
|
-
m && m(s), t && t.onBlur && t.onBlur(s);
|
|
83
|
-
}, U = (s) => {
|
|
84
|
-
if (s.nativeEvent.defaultPrevented)
|
|
85
|
-
return;
|
|
86
|
-
const C = s.target.checked;
|
|
87
|
-
z(C), b && b(s, C);
|
|
88
|
-
};
|
|
89
|
-
let i = w;
|
|
90
|
-
t && typeof i > "u" && (i = t.disabled);
|
|
91
|
-
const L = d === "checkbox" || d === "radio", p = c({}, a, {
|
|
92
|
-
checked: B,
|
|
93
|
-
disabled: i,
|
|
94
|
-
disableFocusRipple: h,
|
|
95
|
-
edge: x
|
|
96
|
-
}), y = se(p);
|
|
97
|
-
return /* @__PURE__ */ K(te, c({
|
|
98
|
-
component: "span",
|
|
99
|
-
className: V(y.root, R),
|
|
100
|
-
centerRipple: !0,
|
|
101
|
-
focusRipple: !h,
|
|
102
|
-
disabled: i,
|
|
103
|
-
tabIndex: null,
|
|
104
|
-
role: void 0,
|
|
105
|
-
onFocus: E,
|
|
106
|
-
onBlur: T,
|
|
107
|
-
ownerState: p,
|
|
108
|
-
ref: r
|
|
109
|
-
}, _, {
|
|
110
|
-
children: [/* @__PURE__ */ Q(ae, c({
|
|
111
|
-
autoFocus: l,
|
|
112
|
-
checked: n,
|
|
113
|
-
defaultChecked: f,
|
|
114
|
-
className: y.input,
|
|
115
|
-
disabled: i,
|
|
116
|
-
id: L ? P : void 0,
|
|
117
|
-
name: N,
|
|
118
|
-
onChange: U,
|
|
119
|
-
readOnly: O,
|
|
120
|
-
ref: q,
|
|
121
|
-
required: j,
|
|
122
|
-
ownerState: p,
|
|
123
|
-
tabIndex: v,
|
|
124
|
-
type: d
|
|
125
|
-
}, d === "checkbox" && k === void 0 ? {} : {
|
|
126
|
-
value: k
|
|
127
|
-
}, I)), B ? u : S]
|
|
128
|
-
}));
|
|
129
|
-
});
|
|
130
|
-
process.env.NODE_ENV !== "production" && (ne.propTypes = {
|
|
131
|
-
/**
|
|
132
|
-
* If `true`, the `input` element is focused during the first mount.
|
|
133
|
-
*/
|
|
134
|
-
autoFocus: e.bool,
|
|
135
|
-
/**
|
|
136
|
-
* If `true`, the component is checked.
|
|
137
|
-
*/
|
|
138
|
-
checked: e.bool,
|
|
139
|
-
/**
|
|
140
|
-
* The icon to display when the component is checked.
|
|
141
|
-
*/
|
|
142
|
-
checkedIcon: e.node.isRequired,
|
|
143
|
-
/**
|
|
144
|
-
* Override or extend the styles applied to the component.
|
|
145
|
-
*/
|
|
146
|
-
classes: e.object,
|
|
147
|
-
/**
|
|
148
|
-
* @ignore
|
|
149
|
-
*/
|
|
150
|
-
className: e.string,
|
|
151
|
-
/**
|
|
152
|
-
* @ignore
|
|
153
|
-
*/
|
|
154
|
-
defaultChecked: e.bool,
|
|
155
|
-
/**
|
|
156
|
-
* If `true`, the component is disabled.
|
|
157
|
-
*/
|
|
158
|
-
disabled: e.bool,
|
|
159
|
-
/**
|
|
160
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
161
|
-
* @default false
|
|
162
|
-
*/
|
|
163
|
-
disableFocusRipple: e.bool,
|
|
164
|
-
/**
|
|
165
|
-
* If given, uses a negative margin to counteract the padding on one
|
|
166
|
-
* side (this is often helpful for aligning the left or right
|
|
167
|
-
* side of the icon with content above or below, without ruining the border
|
|
168
|
-
* size and shape).
|
|
169
|
-
* @default false
|
|
170
|
-
*/
|
|
171
|
-
edge: e.oneOf(["end", "start", !1]),
|
|
172
|
-
/**
|
|
173
|
-
* The icon to display when the component is unchecked.
|
|
174
|
-
*/
|
|
175
|
-
icon: e.node.isRequired,
|
|
176
|
-
/**
|
|
177
|
-
* The id of the `input` element.
|
|
178
|
-
*/
|
|
179
|
-
id: e.string,
|
|
180
|
-
/**
|
|
181
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
182
|
-
*/
|
|
183
|
-
inputProps: e.object,
|
|
184
|
-
/**
|
|
185
|
-
* Pass a ref to the `input` element.
|
|
186
|
-
*/
|
|
187
|
-
inputRef: Z,
|
|
188
|
-
/*
|
|
189
|
-
* @ignore
|
|
190
|
-
*/
|
|
191
|
-
name: e.string,
|
|
192
|
-
/**
|
|
193
|
-
* @ignore
|
|
194
|
-
*/
|
|
195
|
-
onBlur: e.func,
|
|
196
|
-
/**
|
|
197
|
-
* Callback fired when the state is changed.
|
|
198
|
-
*
|
|
199
|
-
* @param {object} event The event source of the callback.
|
|
200
|
-
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
201
|
-
*/
|
|
202
|
-
onChange: e.func,
|
|
203
|
-
/**
|
|
204
|
-
* @ignore
|
|
205
|
-
*/
|
|
206
|
-
onFocus: e.func,
|
|
207
|
-
/**
|
|
208
|
-
* It prevents the user from changing the value of the field
|
|
209
|
-
* (not from interacting with the field).
|
|
210
|
-
*/
|
|
211
|
-
readOnly: e.bool,
|
|
212
|
-
/**
|
|
213
|
-
* If `true`, the `input` element is required.
|
|
214
|
-
*/
|
|
215
|
-
required: e.bool,
|
|
216
|
-
/**
|
|
217
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
218
|
-
*/
|
|
219
|
-
sx: e.object,
|
|
220
|
-
/**
|
|
221
|
-
* @ignore
|
|
222
|
-
*/
|
|
223
|
-
tabIndex: e.oneOfType([e.number, e.string]),
|
|
224
|
-
/**
|
|
225
|
-
* The input component prop `type`.
|
|
226
|
-
*/
|
|
227
|
-
type: e.string.isRequired,
|
|
228
|
-
/**
|
|
229
|
-
* The value of the component.
|
|
230
|
-
*/
|
|
231
|
-
value: e.any
|
|
232
|
-
});
|
|
233
|
-
export {
|
|
234
|
-
ne as S
|
|
235
|
-
};
|