@hybridcore/ui 1.3.1 → 1.3.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.
Files changed (75) hide show
  1. package/dist/{ButtonBase-DZH9mTSs.js → ButtonBase-DE8d_U2E.js} +9 -9
  2. package/dist/{CardContent-CUZ9jH0z.js → CardContent-Du2i427Y.js} +4 -4
  3. package/dist/{Checkbox-RTVyZJPK.js → Checkbox-BGNAqLl0.js} +7 -7
  4. package/dist/{Collapse-9zKUPtnk.js → Collapse-FRd0_2Pt.js} +7 -7
  5. package/dist/{DialogContent-ijWcBrtC.js → DialogContent-CKeAZ3Ts.js} +12 -12
  6. package/dist/{FormControl-C0mOl3mC.js → FormControl-ChTmxscy.js} +399 -545
  7. package/dist/{FormControlLabel-BK6N5zeb.js → FormControlLabel-Df7csguX.js} +12 -12
  8. package/dist/{IconButton-D7MS15zj.js → IconButton-Cu_XEJB2.js} +5 -5
  9. package/dist/{Input-CIRMXtVU.js → Input-DU22-Zbo.js} +6 -6
  10. package/dist/InputAdornment-6aeADcPO.js +155 -0
  11. package/dist/{List-D26ubZNL.js → List-nOXr-cFJ.js} +6 -6
  12. package/dist/{ListItem-B0ZWvhCF.js → ListItem-RJvRMwkZ.js} +6 -6
  13. package/dist/{MenuItem-CI7xGSGZ.js → MenuItem-DF45rx2m.js} +13 -13
  14. package/dist/{OutlinedInput-aT_qMbXR.js → OutlinedInput-DJCHjkR3.js} +6 -6
  15. package/dist/{Paper-DuVFfsLZ.js → Paper-CD_ma6NJ.js} +5 -5
  16. package/dist/{Select-B625rLnY.js → Select-C1jD_gBQ.js} +15 -15
  17. package/dist/{Source-CnCcu5UP.js → Source-Hf_SiWEW.js} +123 -123
  18. package/dist/{Text-BT5kPHOo.js → Text-D6oGbCdi.js} +41 -41
  19. package/dist/{Typography-CJu4IM_v.js → Typography-C2BkMNk-.js} +4 -4
  20. package/dist/{chainPropTypes-DHF53jrt.js → chainPropTypes-GRMJ22CO.js} +3 -3
  21. package/dist/components/card/index.js +6 -6
  22. package/dist/components/card/styled.js +1 -1
  23. package/dist/components/collapsible-card/style.js +10 -10
  24. package/dist/components/confirm/dialog.js +6 -6
  25. package/dist/components/container/index.js +7 -7
  26. package/dist/components/context-menu/index.js +10 -10
  27. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  28. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  29. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  30. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  31. package/dist/components/date-time-picker/index.js +4 -4
  32. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  33. package/dist/components/geometry-picker/edit/index.js +2 -2
  34. package/dist/components/geometry-picker/geometry/index.js +1 -1
  35. package/dist/components/geometry-picker/index.js +7 -6
  36. package/dist/components/geometry-picker/kml/index.js +1 -1
  37. package/dist/components/geometry-picker/map/logic.js +19 -19
  38. package/dist/components/geometry-picker/map/style.js +1 -1
  39. package/dist/components/icon-button/index.js +1 -1
  40. package/dist/components/map/helpers/mapbox.js +3 -3
  41. package/dist/components/map/helpers/ol.js +3 -3
  42. package/dist/components/map/logic.js +2 -2
  43. package/dist/components/map/styled.js +2 -2
  44. package/dist/components/search-input/index.js +10 -9
  45. package/dist/components/template-property-filters/index.js +49 -481
  46. package/dist/components/template-property-filters/property.js +4 -4
  47. package/dist/components/tree-select/index.js +4 -4
  48. package/dist/components/treeview-filter/index.js +9 -9
  49. package/dist/components/treeview-filter/item/index.js +1 -1
  50. package/dist/components/treeview-filter/item-label/index.js +2 -2
  51. package/dist/createSvgIcon-6wv0RQr3.js +63 -0
  52. package/dist/{createSvgIcon-uzHr0c0Y.js → createSvgIcon-DPZ7UbxM.js} +4 -4
  53. package/dist/{createTheme-BynOz6vJ.js → createTheme-C3DKplhE.js} +22 -22
  54. package/dist/{exactProp-BgztuVaT.js → exactProp--3vlJ9a9.js} +3 -3
  55. package/dist/{extends-C3382pL0.js → extends-Cyw62AD_.js} +2 -2
  56. package/dist/{has-9_asnBxn.js → has-CjQtZJa9.js} +26 -26
  57. package/dist/{index-C5fnQULf.js → index-CtuBGOmk.js} +10 -10
  58. package/dist/{index-CEj0z7vR.js → index-DzFccwzL.js} +6 -6
  59. package/dist/{listItemTextClasses-Lb51gZ03.js → listItemTextClasses-2BAu-hye.js} +4 -4
  60. package/dist/main.d.ts +6 -0
  61. package/dist/main.js +402 -45
  62. package/dist/{ol-q6vTiF_t.js → ol-BUKJ1urU.js} +3 -3
  63. package/dist/property-BSufYw1E.js +6888 -0
  64. package/dist/requirePropFactory-BItwGLRQ.js +18 -0
  65. package/dist/{resolveComponentProps-D6QBz-nM.js → resolveComponentProps-DozbaB8e.js} +8 -8
  66. package/dist/{styled-C3GYAbYC.js → styled-CVWGE9ik.js} +22 -22
  67. package/dist/{styled-B02_UC50.js → styled-iyoioZCr.js} +20 -20
  68. package/dist/{useTheme-rmCSkfoY.js → useTheme--x3BjP9A.js} +3 -4
  69. package/dist/{useTheme-BYHXX22B.js → useTheme-pWltVFb2.js} +2 -2
  70. package/dist/{useThemeProps-DzfjJKh1.js → useThemeProps-C90JF0Qc.js} +3 -3
  71. package/dist/{useThemeProps-CR6NzUGU.js → useThemeProps-DNZoozBw.js} +4 -5
  72. package/dist/{utils-CIiFkdEJ.js → utils-qcu0RzdN.js} +8 -8
  73. package/package.json +2 -2
  74. package/dist/createSvgIcon-CpwgcuKn.js +0 -77
  75. package/dist/property-DyLBS7uO.js +0 -7020
@@ -0,0 +1,63 @@
1
+ import { a as l, e as f } from "./createTheme-C3DKplhE.js";
2
+ import { c as d, u as p } from "./createSvgIcon-DPZ7UbxM.js";
3
+ import { C as g } from "./styled-iyoioZCr.js";
4
+ import { c as b, u as v } from "./useId-BHG98T5I.js";
5
+ import { d as h } from "./debounce-46wSf_lW.js";
6
+ import { o as _ } from "./ownerWindow-niciwP7I.js";
7
+ import { r as E } from "./requirePropFactory-BItwGLRQ.js";
8
+ import { s as N, b as C, a as I, u as S, d as y } from "./ButtonBase-DE8d_U2E.js";
9
+ import { i as $ } from "./isMuiElement-CxT3_ACP.js";
10
+ import { o as O } from "./ownerDocument-CUrv0DIK.js";
11
+ import { u as P } from "./unsupportedProp-BuVD30Gh.js";
12
+ function j(e, r) {
13
+ return process.env.NODE_ENV === "production" ? () => null : (s, o, n, u, i) => {
14
+ const c = n || "<<anonymous>>", m = i || o;
15
+ return typeof s[o] < "u" ? new Error(`The ${u} \`${m}\` of \`${c}\` is deprecated. ${r}`) : null;
16
+ };
17
+ }
18
+ const w = {
19
+ configure: (e) => {
20
+ 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(`
21
+ `)), g.configure(e);
22
+ }
23
+ }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ __proto__: null,
25
+ capitalize: l,
26
+ createChainedFunction: b,
27
+ createSvgIcon: d,
28
+ debounce: h,
29
+ deprecatedPropType: j,
30
+ isMuiElement: $,
31
+ ownerDocument: O,
32
+ ownerWindow: _,
33
+ requirePropFactory: E,
34
+ setRef: N,
35
+ unstable_ClassNameGenerator: w,
36
+ unstable_useEnhancedEffect: C,
37
+ unstable_useId: v,
38
+ unsupportedProp: P,
39
+ useControlled: p,
40
+ useEventCallback: I,
41
+ useForkRef: S,
42
+ useIsFocusVisible: y
43
+ }, Symbol.toStringTag, { value: "Module" }));
44
+ var t = {};
45
+ const T = /* @__PURE__ */ f(F);
46
+ var a;
47
+ function W() {
48
+ return a || (a = 1, function(e) {
49
+ "use client";
50
+ Object.defineProperty(e, "__esModule", {
51
+ value: !0
52
+ }), Object.defineProperty(e, "default", {
53
+ enumerable: !0,
54
+ get: function() {
55
+ return r.createSvgIcon;
56
+ }
57
+ });
58
+ var r = T;
59
+ }(t)), t;
60
+ }
61
+ export {
62
+ W as r
63
+ };
@@ -1,9 +1,9 @@
1
1
  import * as l from "react";
2
- import { _ as z, a as S } from "./extends-C3382pL0.js";
2
+ import { a as z, _ as S } from "./extends-Cyw62AD_.js";
3
3
  import { jsxs as I, jsx as _ } from "react/jsx-runtime";
4
- import { c as v, P as o } from "./createTheme-BynOz6vJ.js";
5
- import { g as w, u as C, c as N, a as T } from "./chainPropTypes-DHF53jrt.js";
6
- import { g as O, s as R } from "./styled-B02_UC50.js";
4
+ import { a as v, P as o } from "./createTheme-C3DKplhE.js";
5
+ import { g as w, u as C, c as N, a as T } from "./chainPropTypes-GRMJ22CO.js";
6
+ import { g as O, s as R } from "./styled-iyoioZCr.js";
7
7
  function L({
8
8
  controlled: e,
9
9
  default: n,
@@ -2,7 +2,7 @@ import nt from "@emotion/styled";
2
2
  import { CacheProvider as ot, Global as it, ThemeContext as st, css as at, keyframes as ct } from "@emotion/react";
3
3
  import "react";
4
4
  import { jsx as Mr } from "react/jsx-runtime";
5
- import { a as me, _ as Nr } from "./extends-C3382pL0.js";
5
+ import { _ as me, a as Nr } from "./extends-Cyw62AD_.js";
6
6
  var no = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function ut(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -2368,28 +2368,28 @@ function uo(e = {}, ...r) {
2368
2368
  export {
2369
2369
  Gr as G,
2370
2370
  J as P,
2371
- uo as a,
2372
- tt as b,
2373
- Xr as c,
2371
+ Xr as a,
2372
+ Ar as b,
2373
+ no as c,
2374
2374
  $e as d,
2375
- ye as e,
2375
+ oo as e,
2376
2376
  Zt as f,
2377
- so as g,
2378
- oo as h,
2379
- Jt as i,
2380
- ae as j,
2381
- Qr as k,
2382
- Ie as l,
2383
- ao as m,
2384
- no as n,
2385
- ut as o,
2386
- Ar as p,
2387
- io as q,
2377
+ ut as g,
2378
+ ae as h,
2379
+ ye as i,
2380
+ so as j,
2381
+ tn as k,
2382
+ uo as l,
2383
+ sn as m,
2384
+ Vn as n,
2385
+ rt as o,
2386
+ tt as p,
2387
+ Jt as q,
2388
2388
  co as r,
2389
- Vt as s,
2390
- tn as t,
2391
- sn as u,
2392
- Vn as v,
2393
- rt as w,
2394
- Xn as x
2389
+ io as s,
2390
+ Vt as t,
2391
+ Xn as u,
2392
+ Qr as v,
2393
+ ao as w,
2394
+ Ie as x
2395
2395
  };
@@ -1,6 +1,6 @@
1
- import { P as a } from "./createTheme-BynOz6vJ.js";
2
- import { b as p } from "./chainPropTypes-DHF53jrt.js";
3
- import { a as f } from "./extends-C3382pL0.js";
1
+ import { P as a } from "./createTheme-C3DKplhE.js";
2
+ import { b as p } from "./chainPropTypes-GRMJ22CO.js";
3
+ import { _ as f } from "./extends-Cyw62AD_.js";
4
4
  function m(e) {
5
5
  const {
6
6
  prototype: n = {}
@@ -17,6 +17,6 @@ function a() {
17
17
  }, a.apply(null, arguments);
18
18
  }
19
19
  export {
20
- i as _,
21
- a
20
+ a as _,
21
+ i as a
22
22
  };
@@ -645,44 +645,44 @@ const Q = c.includes("webkit") && !c.includes("edge"), Z = c.includes("macintosh
645
645
  }();
646
646
  export {
647
647
  A,
648
- y as B,
649
- j as C,
648
+ $ as B,
649
+ Y as C,
650
650
  L as D,
651
651
  O as E,
652
652
  H as F,
653
- _ as G,
654
- K as H,
653
+ U as G,
654
+ p as H,
655
655
  ne as I,
656
656
  Z as M,
657
657
  R as O,
658
658
  se as P,
659
659
  z as T,
660
660
  f as V,
661
- te as W,
662
- T as a,
663
- M as b,
664
- m as c,
665
- N as d,
666
- W as e,
667
- $ as f,
661
+ Q as W,
662
+ y as a,
663
+ X as b,
664
+ N as c,
665
+ m as d,
666
+ S as e,
667
+ T as f,
668
668
  P as g,
669
- p as h,
670
- X as i,
671
- S as j,
672
- V as k,
669
+ J as h,
670
+ M as i,
671
+ ee as j,
672
+ d as k,
673
673
  h as l,
674
674
  B as m,
675
- q as n,
676
- Y as o,
675
+ I as n,
676
+ j as o,
677
677
  G as p,
678
- U as q,
679
- I as r,
680
- w as s,
681
- k as t,
678
+ W as q,
679
+ w as r,
680
+ D as s,
681
+ V as t,
682
682
  v as u,
683
- Q as v,
684
- J as w,
685
- ee as x,
686
- d as y,
687
- D as z
683
+ _ as v,
684
+ K as w,
685
+ k as x,
686
+ te as y,
687
+ q as z
688
688
  };
@@ -1,18 +1,18 @@
1
1
  import { jsxs as h, Fragment as P, jsx as n } from "react/jsx-runtime";
2
2
  import T from "lodash";
3
3
  import v from "dayjs";
4
- import { Typography as F, Chip as B, Dialog as S, DialogTitle as j, DialogContent as N, DialogActions as W, Button as D, InputAdornment as Y, Tooltip as O, Stack as _ } from "@mui/material";
4
+ import { Typography as F, Chip as B, Dialog as S, DialogTitle as j, DialogContent as N, DialogActions as W, Button as w, InputAdornment as Y, Tooltip as O, Stack as _ } from "@mui/material";
5
5
  import { Container as y, Values as E, MiniButton as G } from "./components/data-management/instance-form/components/composite-list/styled.js";
6
6
  import { Add as H, LockOutlined as R } from "@mui/icons-material";
7
7
  import $ from "./hooks/useToggle.js";
8
8
  import { GeometryPicker as q } from "./components/geometry-picker/index.js";
9
9
  import { PhoneInput as J } from "./components/phone-input/index.js";
10
10
  import { DateTimePicker as K } from "./components/date-time-picker/index.js";
11
- import { T as w, F as Q } from "./FormControlLabel-BK6N5zeb.js";
12
- import { B as x, C as U } from "./Checkbox-RTVyZJPK.js";
13
- import { F as X, I as Z } from "./FormControl-C0mOl3mC.js";
14
- import { S as M } from "./Select-B625rLnY.js";
15
- import { M as z } from "./MenuItem-CI7xGSGZ.js";
11
+ import { T as D, F as Q } from "./FormControlLabel-Df7csguX.js";
12
+ import { B as x, C as U } from "./Checkbox-BGNAqLl0.js";
13
+ import { F as X, I as Z } from "./FormControl-ChTmxscy.js";
14
+ import { S as M } from "./Select-C1jD_gBQ.js";
15
+ import { M as z } from "./MenuItem-DF45rx2m.js";
16
16
  import { useState as ee } from "react";
17
17
  function ne({
18
18
  property: m,
@@ -82,7 +82,7 @@ function ne({
82
82
  ) : null }),
83
83
  /* @__PURE__ */ h(W, { children: [
84
84
  /* @__PURE__ */ n(
85
- D,
85
+ w,
86
86
  {
87
87
  variant: "contained",
88
88
  color: "inherit",
@@ -90,7 +90,7 @@ function ne({
90
90
  children: "Cancel"
91
91
  }
92
92
  ),
93
- /* @__PURE__ */ n(D, { variant: "contained", color: "primary", onClick: k, children: "Ok" })
93
+ /* @__PURE__ */ n(w, { variant: "contained", color: "primary", onClick: k, children: "Ok" })
94
94
  ] })
95
95
  ]
96
96
  }
@@ -151,7 +151,7 @@ function te({
151
151
  "bank-account"
152
152
  ].includes(e.type))
153
153
  return /* @__PURE__ */ n(
154
- w,
154
+ D,
155
155
  {
156
156
  label: e.name,
157
157
  name: e.propertyId,
@@ -191,7 +191,7 @@ function te({
191
191
  if (e.type === "list") {
192
192
  let t = "";
193
193
  return e.defaultValue && (t = T.isArray(e.defaultValue) ? l.join(", ") : e.defaultValue), l && (t = T.isArray(l) ? l.join(",") : l), /* @__PURE__ */ n(
194
- w,
194
+ D,
195
195
  {
196
196
  label: e.name,
197
197
  name: e.propertyId,
@@ -2,12 +2,12 @@ import { jsx as T, jsxs as ae } from "react/jsx-runtime";
2
2
  import xe from "./components/treeview-filter/item-label/index.js";
3
3
  import se from "lodash";
4
4
  import * as l from "react";
5
- import { P as o } from "./createTheme-BynOz6vJ.js";
6
- import { b as Ie, a as Te, e as he } from "./ButtonBase-DZH9mTSs.js";
7
- import { g as Ee, a as ve } from "./chainPropTypes-DHF53jrt.js";
8
- import { g as De, s as W } from "./styled-B02_UC50.js";
9
- import { a as $, u as Ne } from "./useThemeProps-DzfjJKh1.js";
10
- import { C as ie } from "./Collapse-9zKUPtnk.js";
5
+ import { P as o } from "./createTheme-C3DKplhE.js";
6
+ import { b as Ie, u as Te, e as he } from "./ButtonBase-DE8d_U2E.js";
7
+ import { g as Ee, a as ve } from "./chainPropTypes-GRMJ22CO.js";
8
+ import { g as De, s as W } from "./styled-iyoioZCr.js";
9
+ import { a as $, u as Ne } from "./useThemeProps-C90JF0Qc.js";
10
+ import { C as ie } from "./Collapse-FRd0_2Pt.js";
11
11
  import { u as Oe } from "./unsupportedProp-BuVD30Gh.js";
12
12
  import { o as Se } from "./ownerDocument-CUrv0DIK.js";
13
13
  function ce(e) {
@@ -1,5 +1,5 @@
1
- import { g as s } from "./chainPropTypes-DHF53jrt.js";
2
- import { g as e } from "./styled-B02_UC50.js";
1
+ import { g as s } from "./chainPropTypes-GRMJ22CO.js";
2
+ import { g as e } from "./styled-iyoioZCr.js";
3
3
  function n(t) {
4
4
  return e("MuiListItemIcon", t);
5
5
  }
@@ -9,8 +9,8 @@ function l(t) {
9
9
  }
10
10
  const r = s("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
11
11
  export {
12
- o as a,
13
- l as b,
12
+ l as a,
13
+ o as b,
14
14
  n as g,
15
15
  r as l
16
16
  };
package/dist/main.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
1
2
  import { BoxProps } from '@mui/material';
2
3
  import { Collection } from 'ol';
3
4
  import { Coordinate } from 'ol/coordinate';
@@ -12,6 +13,7 @@ import { FC } from 'react';
12
13
  import { Feature } from 'ol';
13
14
  import { Geometry } from 'ol/geom';
14
15
  import { IconButtonProps } from '@mui/material/IconButton';
16
+ import { LocalizationProvider } from '@mui/x-date-pickers';
15
17
  import { Pixel } from 'ol/pixel';
16
18
  import { Size } from 'ol/size';
17
19
  import { SxProps } from '@mui/material/styles';
@@ -21,6 +23,8 @@ import { View } from 'ol';
21
23
 
22
24
  export declare const Access: React.FC<Props>;
23
25
 
26
+ export { AdapterDayjs }
27
+
24
28
  declare function alert_2(title: string, message: string): Promise<unknown>;
25
29
  export { alert_2 as alert }
26
30
 
@@ -336,6 +340,8 @@ export declare const KeyProtectionMenu: React.FC<Props_6>;
336
340
 
337
341
  export declare const Loading: React.FC<Props_7>;
338
342
 
343
+ export { LocalizationProvider }
344
+
339
345
  declare namespace MAP {
340
346
  interface Coordinate {
341
347
  latitude: number;