@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.
Files changed (150) hide show
  1. package/dist/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
  2. package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
  3. package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
  9. package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
  10. package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
  11. package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
  14. package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
  15. package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
  16. package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
  17. package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
  18. package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
  19. package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
  21. package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
  22. package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
  23. package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
  25. package/dist/assets/index.css +1 -1
  26. package/dist/assets/index2.css +1 -1
  27. package/dist/components/button/styled.js +1 -1
  28. package/dist/components/charts/_common/format.js +149 -41
  29. package/dist/components/charts/_common/tooltip.js +2 -2
  30. package/dist/components/charts/_common/utils.js +16 -11
  31. package/dist/components/charts/candlestick/logic.js +34 -35
  32. package/dist/components/charts/column-line-mix/logic.js +40 -41
  33. package/dist/components/charts/donut-chart/logic.js +4 -4
  34. package/dist/components/charts/drill-down-treemap/logic.js +5 -5
  35. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
  36. package/dist/components/charts/forecast-cone/logic.js +134 -120
  37. package/dist/components/charts/heatmap/logic.js +9 -9
  38. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  39. package/dist/components/charts/line/logic.js +19 -20
  40. package/dist/components/charts/logaritmic-scale/logic.js +30 -31
  41. package/dist/components/charts/multiple-value-axes/logic.js +18 -19
  42. package/dist/components/charts/nested-pie/logic.js +3 -3
  43. package/dist/components/charts/packed-circles/logic.js +7 -7
  44. package/dist/components/charts/pie-chart/logic.js +4 -4
  45. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  46. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  47. package/dist/components/charts/xy-chart/logic.js +28 -29
  48. package/dist/components/collapsible-card/index.js +21 -30
  49. package/dist/components/collapsible-card/styled.js +16 -14
  50. package/dist/components/color-picker/index.js +2227 -3357
  51. package/dist/components/color-picker/styled.js +87 -7
  52. package/dist/components/confirm/dialog.js +89 -8
  53. package/dist/components/confirm/index.js +1 -1
  54. package/dist/components/data-map/index.js +1 -1
  55. package/dist/components/data-map/logic.js +20 -20
  56. package/dist/components/data-security-selectors/dissemination-list/index.js +32 -3117
  57. package/dist/components/date-picker-with-custom-range/index.js +86 -7
  58. package/dist/components/date-range-picker/index.js +464 -452
  59. package/dist/components/document-viewer/components/viewer/index.js +1 -1
  60. package/dist/components/duration-select/index.js +10 -10
  61. package/dist/components/duration-select/styled.js +1 -1
  62. package/dist/components/geometry-picker/coordinate/index.js +14 -14
  63. package/dist/components/geometry-picker/edit/index.js +1 -1
  64. package/dist/components/geometry-picker/geometry/index.js +1 -1
  65. package/dist/components/geometry-picker/kml/index.js +11 -11
  66. package/dist/components/geometry-picker/map/logic.js +145 -3656
  67. package/dist/components/geometry-picker/map/style.js +18 -17
  68. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
  69. package/dist/components/heat-map/index.js +1 -1
  70. package/dist/components/heat-map/logic.js +77 -1924
  71. package/dist/components/instance-hierarchy-table/styled.js +18 -16
  72. package/dist/components/map/helpers/mapbox.js +17 -15
  73. package/dist/components/map/helpers/ol.js +386 -27
  74. package/dist/components/map/index.js +11 -10
  75. package/dist/components/map/logic.js +22 -22
  76. package/dist/components/map/styled.js +31 -27
  77. package/dist/components/metric-card/MetricChart.js +9 -9
  78. package/dist/components/metric-card/logic.js +46 -49
  79. package/dist/components/phone-input/index.js +10 -9
  80. package/dist/components/property-mapping/index.js +1 -1
  81. package/dist/components/prr-map/index.js +1 -1
  82. package/dist/components/prr-map/logic.js +27 -26
  83. package/dist/components/range-selector/styled.js +65 -4228
  84. package/dist/components/raster-grid-map/index.js +1 -1
  85. package/dist/components/raster-grid-map/logic.js +60 -57
  86. package/dist/components/simple-pivot-table/index.js +17 -17
  87. package/dist/components/simple-pivot-table/logic.js +67 -76
  88. package/dist/components/sortable-list/index.js +1091 -1264
  89. package/dist/components/template-form/components/property-list/index.js +36 -33
  90. package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
  91. package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
  92. package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
  93. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
  94. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
  95. package/dist/components/tree-select/index.js +16 -16
  96. package/dist/index.esm-UfGMjYOL.js +197 -0
  97. package/dist/main.d.ts +67 -8
  98. package/dist/main.js +176 -175
  99. package/package.json +1 -1
  100. package/dist/AccordionSummary-CJppWeqF.js +0 -781
  101. package/dist/Add-CqcD1PWb.js +0 -403
  102. package/dist/Box-DqUMmZjL.js +0 -31
  103. package/dist/Button-C5yquWAB.js +0 -357
  104. package/dist/ButtonBase-BEF7oTOe.js +0 -887
  105. package/dist/DataProcessor-WXzhvIg6.js +0 -83
  106. package/dist/Delete-BdyYpINH.js +0 -23
  107. package/dist/DialogContent-BvVjD9z3.js +0 -523
  108. package/dist/FormGroup-CpBsIyYR.js +0 -89
  109. package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
  110. package/dist/IconButton-BoGwbvrP.js +0 -184
  111. package/dist/InputLabel-Dd8RrneV.js +0 -341
  112. package/dist/MenuItem-DwqJqzuM.js +0 -233
  113. package/dist/Modal-MUZygjmQ.js +0 -1158
  114. package/dist/Paper-BkQLdsCI.js +0 -582
  115. package/dist/Select-DHUl_uG3.js +0 -3916
  116. package/dist/Source-BSZST_GH.js +0 -4410
  117. package/dist/SwitchBase-DTndTqI8.js +0 -235
  118. package/dist/Text-ChJRuaD8.js +0 -2197
  119. package/dist/TextField-e2oKaUN1.js +0 -669
  120. package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
  121. package/dist/Typography-DgsSLCFC.js +0 -178
  122. package/dist/Vector-BmuhQO4p.js +0 -3606
  123. package/dist/Vector-DfTqQEln.js +0 -1735
  124. package/dist/WKT-2wsDT-nq.js +0 -2310
  125. package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
  126. package/dist/assets/index3.css +0 -1
  127. package/dist/assets/index4.css +0 -1
  128. package/dist/clsx-OuTLNxxd.js +0 -16
  129. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  130. package/dist/createSvgIcon-Ch_cT8az.js +0 -185
  131. package/dist/createSvgIcon-DuDuASu1.js +0 -62
  132. package/dist/debounce-46wSf_lW.js +0 -15
  133. package/dist/dialog-BYRnCztH.js +0 -154
  134. package/dist/formControlState-vgaj2ksH.js +0 -10
  135. package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
  136. package/dist/index-DH6qsPBn.js +0 -153
  137. package/dist/index-e9xTIYWt.js +0 -1934
  138. package/dist/index.esm-BLLrbTzY.js +0 -318
  139. package/dist/math-Bvt2Ubuz.js +0 -704
  140. package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
  141. package/dist/ol-yOE-NV0X.js +0 -7465
  142. package/dist/ownerWindow-wg6foiOE.js +0 -10
  143. package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
  144. package/dist/styled-SoqbyrkW.js +0 -350
  145. package/dist/unsupportedProp-DuqR2hj9.js +0 -36
  146. package/dist/useControlled-BYdyS7Pn.js +0 -31
  147. package/dist/useFormControl-CatNKXAi.js +0 -10
  148. package/dist/useId-BW-oWmul.js +0 -19
  149. package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
  150. package/dist/useSlot-B_Q4vnX5.js +0 -42
@@ -1,96 +0,0 @@
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,178 +0,0 @@
1
- import { a as s, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as W from "react";
3
- import { P as t } from "./index-C__OZmYy.js";
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
- import { jsx as _ } from "react/jsx-runtime";
7
- function U(a) {
8
- return M("MuiTypography", a);
9
- }
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"]);
11
- const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], E = (a) => {
12
- const {
13
- align: o,
14
- gutterBottom: r,
15
- noWrap: e,
16
- paragraph: i,
17
- variant: n,
18
- classes: h
19
- } = a, p = {
20
- root: ["root", n, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", e && "noWrap", i && "paragraph"]
21
- };
22
- return R(p, U, h);
23
- }, L = j("span", {
24
- name: "MuiTypography",
25
- slot: "Root",
26
- overridesResolver: (a, o) => {
27
- const {
28
- ownerState: r
29
- } = a;
30
- return [o.root, r.variant && o[r.variant], r.align !== "inherit" && o[`align${f(r.align)}`], r.noWrap && o.noWrap, r.gutterBottom && o.gutterBottom, r.paragraph && o.paragraph];
31
- }
32
- })(({
33
- theme: a,
34
- ownerState: o
35
- }) => s({
36
- margin: 0
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" && {
41
- textAlign: o.align
42
- }, o.noWrap && {
43
- overflow: "hidden",
44
- textOverflow: "ellipsis",
45
- whiteSpace: "nowrap"
46
- }, o.gutterBottom && {
47
- marginBottom: "0.35em"
48
- }, o.paragraph && {
49
- marginBottom: 16
50
- })), u = {
51
- h1: "h1",
52
- h2: "h2",
53
- h3: "h3",
54
- h4: "h4",
55
- h5: "h5",
56
- h6: "h6",
57
- subtitle1: "h6",
58
- subtitle2: "h6",
59
- body1: "p",
60
- body2: "p",
61
- inherit: "p"
62
- }, V = {
63
- primary: "primary.main",
64
- textPrimary: "text.primary",
65
- secondary: "secondary.main",
66
- textSecondary: "text.secondary",
67
- error: "error.main"
68
- }, $ = (a) => V[a] || a, z = /* @__PURE__ */ W.forwardRef(function(o, r) {
69
- const e = P({
70
- props: o,
71
- name: "MuiTypography"
72
- }), i = $(e.color), n = N(s({}, e, {
73
- color: i
74
- })), {
75
- align: h = "inherit",
76
- className: p,
77
- component: g,
78
- gutterBottom: d = !1,
79
- noWrap: b = !1,
80
- paragraph: c = !1,
81
- variant: l = "body1",
82
- variantMapping: m = u
83
- } = n, v = B(n, D), y = s({}, n, {
84
- align: h,
85
- color: i,
86
- className: p,
87
- component: g,
88
- gutterBottom: d,
89
- noWrap: b,
90
- paragraph: c,
91
- variant: l,
92
- variantMapping: m
93
- }), T = g || (c ? "p" : m[l] || u[l]) || "span", x = E(y);
94
- return /* @__PURE__ */ _(L, s({
95
- as: T,
96
- ref: r,
97
- ownerState: y,
98
- className: C(x.root, p)
99
- }, v));
100
- });
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
- // └─────────────────────────────────────────────────────────────────────┘
106
- /**
107
- * Set the text-align on the component.
108
- * @default 'inherit'
109
- */
110
- align: t.oneOf(["center", "inherit", "justify", "left", "right"]),
111
- /**
112
- * The content of the component.
113
- */
114
- children: t.node,
115
- /**
116
- * Override or extend the styles applied to the component.
117
- */
118
- classes: t.object,
119
- /**
120
- * @ignore
121
- */
122
- className: t.string,
123
- /**
124
- * The component used for the root node.
125
- * Either a string to use a HTML element or a component.
126
- */
127
- component: t.elementType,
128
- /**
129
- * If `true`, the text will have a bottom margin.
130
- * @default false
131
- */
132
- gutterBottom: t.bool,
133
- /**
134
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
135
- *
136
- * Note that text overflow can only happen with block or inline-block level elements
137
- * (the element needs to have a width in order to overflow).
138
- * @default false
139
- */
140
- noWrap: t.bool,
141
- /**
142
- * If `true`, the element will be a paragraph element.
143
- * @default false
144
- */
145
- paragraph: t.bool,
146
- /**
147
- * The system prop that allows defining system overrides as well as additional CSS styles.
148
- */
149
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
150
- /**
151
- * Applies the theme typography styles.
152
- * @default 'body1'
153
- */
154
- variant: t.oneOfType([t.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), t.string]),
155
- /**
156
- * The component maps the variant prop to a range of different HTML element types.
157
- * For instance, subtitle1 to `<h6>`.
158
- * If you wish to change that mapping, you can provide your own.
159
- * Alternatively, you can use the `component` prop.
160
- * @default {
161
- * h1: 'h1',
162
- * h2: 'h2',
163
- * h3: 'h3',
164
- * h4: 'h4',
165
- * h5: 'h5',
166
- * h6: 'h6',
167
- * subtitle1: 'h6',
168
- * subtitle2: 'h6',
169
- * body1: 'p',
170
- * body2: 'p',
171
- * inherit: 'p',
172
- * }
173
- */
174
- variantMapping: t.object
175
- });
176
- export {
177
- z as T
178
- };