@hybridcore/ui 1.3.0 → 1.3.2

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 (71) hide show
  1. package/dist/{ButtonBase-C7CHOX3y.js → ButtonBase-C875Ww3z.js} +10 -10
  2. package/dist/{CardContent-DDFwwGfd.js → CardContent-pWhEcyoR.js} +4 -4
  3. package/dist/{Checkbox-DP6_qp1v.js → Checkbox-COCZU8Yl.js} +7 -7
  4. package/dist/{Collapse-9egEADkh.js → Collapse-CZFw4GZs.js} +7 -7
  5. package/dist/{DialogContent-MMUsECN2.js → DialogContent-DhcqAG-q.js} +12 -12
  6. package/dist/{FormControl-Cj5nc-Nv.js → FormControl-BhwmBUAq.js} +9 -9
  7. package/dist/{FormControlLabel-j_atSYQA.js → FormControlLabel-BL6c4YAN.js} +44 -44
  8. package/dist/{IconButton-2FRFauye.js → IconButton-DM-0JFx9.js} +5 -5
  9. package/dist/{Input-BY_yKOrF.js → Input-DgIhcA8j.js} +6 -6
  10. package/dist/{List-CgBXAAKA.js → List-Dz3Z1qJk.js} +6 -6
  11. package/dist/{ListItem-BFDUUjHt.js → ListItem-DnyWDeDF.js} +6 -6
  12. package/dist/{MenuItem-BejUFNIP.js → MenuItem-BjC83iWq.js} +13 -13
  13. package/dist/{OutlinedInput-CnzESIDi.js → OutlinedInput-CS2BwiVg.js} +6 -6
  14. package/dist/{Paper-k37cShvn.js → Paper-seBMlMwu.js} +5 -5
  15. package/dist/{Select-BGt6e73I.js → Select-C8Iimh3g.js} +15 -15
  16. package/dist/{Source-CnCcu5UP.js → Source-Hf_SiWEW.js} +123 -123
  17. package/dist/{Text-BT5kPHOo.js → Text-D6oGbCdi.js} +41 -41
  18. package/dist/{Typography-Bjo-B13o.js → Typography-CqyjdT7p.js} +4 -4
  19. package/dist/{chainPropTypes-BmidnkZm.js → chainPropTypes-CwfDfLEA.js} +3 -3
  20. package/dist/components/card/index.js +6 -6
  21. package/dist/components/card/styled.js +1 -1
  22. package/dist/components/collapsible-card/style.js +10 -10
  23. package/dist/components/confirm/dialog.js +6 -6
  24. package/dist/components/container/index.js +7 -7
  25. package/dist/components/context-menu/index.js +10 -10
  26. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  27. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  28. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  29. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  30. package/dist/components/date-time-picker/index.js +4 -4
  31. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  32. package/dist/components/geometry-picker/edit/index.js +2 -2
  33. package/dist/components/geometry-picker/geometry/index.js +1 -1
  34. package/dist/components/geometry-picker/index.js +2 -2
  35. package/dist/components/geometry-picker/kml/index.js +1 -1
  36. package/dist/components/geometry-picker/map/logic.js +19 -19
  37. package/dist/components/geometry-picker/map/style.js +1 -1
  38. package/dist/components/icon-button/index.js +1 -1
  39. package/dist/components/map/helpers/mapbox.js +3 -3
  40. package/dist/components/map/helpers/ol.js +3 -3
  41. package/dist/components/map/logic.js +2 -2
  42. package/dist/components/map/styled.js +2 -2
  43. package/dist/components/search-input/index.js +3 -3
  44. package/dist/components/template-property-filters/index.js +1 -1
  45. package/dist/components/template-property-filters/property.js +10 -7017
  46. package/dist/components/tree-select/index.js +4 -4
  47. package/dist/components/treeview-filter/index.js +9 -9
  48. package/dist/components/treeview-filter/item/index.js +1 -1
  49. package/dist/components/treeview-filter/item-label/index.js +2 -2
  50. package/dist/{createSvgIcon-DAR6Hwv8.js → createSvgIcon-CTQMsmqJ.js} +5 -5
  51. package/dist/{createSvgIcon-R_PakhKf.js → createSvgIcon-pajAAvTK.js} +4 -4
  52. package/dist/{createTheme-oOCi1S_n.js → createTheme-CCwx9ptk.js} +135 -132
  53. package/dist/{exactProp-DhXxfU8X.js → exactProp-D0xuoiRB.js} +3 -3
  54. package/dist/{extends-C3382pL0.js → extends-Cyw62AD_.js} +2 -2
  55. package/dist/{has-9_asnBxn.js → has-CjQtZJa9.js} +26 -26
  56. package/dist/{index-C7W2wuUG.js → index-DlFdC7eU.js} +6 -6
  57. package/dist/{index-DHnXB0CB.js → index-tNZngrO0.js} +10 -10
  58. package/dist/{listItemTextClasses-CaI8l2PD.js → listItemTextClasses-DRMkDW2V.js} +4 -4
  59. package/dist/main.d.ts +6 -0
  60. package/dist/main.js +480 -45
  61. package/dist/{ol-q6vTiF_t.js → ol-BUKJ1urU.js} +3 -3
  62. package/dist/property-CKak9_tn.js +7020 -0
  63. package/dist/{resolveComponentProps-BwtY1IP3.js → resolveComponentProps-DVsx78bV.js} +8 -8
  64. package/dist/{styled-CHMAYxVs.js → styled-CPg13iuX.js} +19 -19
  65. package/dist/{styled-Wx2vv4j8.js → styled-fcu13kUF.js} +20 -20
  66. package/dist/{useTheme-BI40KZ7w.js → useTheme-BWgLzAUj.js} +3 -3
  67. package/dist/{useTheme-CD5DEi5n.js → useTheme-pp7LSyyX.js} +2 -2
  68. package/dist/{useThemeProps-D4or2IlT.js → useThemeProps-CDWnyqCh.js} +3 -3
  69. package/dist/{useThemeProps-DT5EdhcP.js → useThemeProps-DOuXhu3E.js} +4 -4
  70. package/dist/{utils-BEaBPoDF.js → utils-Cbb4HUTT.js} +8 -8
  71. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import { jsx as y, jsxs as D, Fragment as G } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import { P as t } from "../../createTheme-oOCi1S_n.js";
4
- import { B as W, b as z, a as V, c as H } from "../../ButtonBase-C7CHOX3y.js";
3
+ import { P as t } from "../../createTheme-CCwx9ptk.js";
4
+ import { B as W, u as z, b as V, a as H } from "../../ButtonBase-C875Ww3z.js";
5
5
  import { o as k } from "../../ownerDocument-CUrv0DIK.js";
6
- import { e as q, a as X } from "../../exactProp-DhXxfU8X.js";
7
- import { L, a as Y } from "../../List-CgBXAAKA.js";
8
- import { l as T, g as J, L as K } from "../../ListItem-BFDUUjHt.js";
9
- import { a as b, _ as P } from "../../extends-C3382pL0.js";
10
- import { u as $, c as R, a as w } from "../../chainPropTypes-BmidnkZm.js";
11
- import { s as B, r as Q, a as C } from "../../styled-Wx2vv4j8.js";
12
- import { g as Z, l as S, b as ee } from "../../listItemTextClasses-CaI8l2PD.js";
13
- import { T as E } from "../../Typography-Bjo-B13o.js";
6
+ import { e as q, a as X } from "../../exactProp-D0xuoiRB.js";
7
+ import { a as L, L as Y } from "../../List-Dz3Z1qJk.js";
8
+ import { l as T, g as J, L as K } from "../../ListItem-DnyWDeDF.js";
9
+ import { _ as b, a as P } from "../../extends-Cyw62AD_.js";
10
+ import { u as $, c as R, a as w } from "../../chainPropTypes-CwfDfLEA.js";
11
+ import { s as B, r as Q, a as C } from "../../styled-fcu13kUF.js";
12
+ import { g as Z, l as S, a as ee } from "../../listItemTextClasses-DRMkDW2V.js";
13
+ import { T as E } from "../../Typography-CqyjdT7p.js";
14
14
  const te = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected", "className"], oe = (e, o) => {
15
15
  const {
16
16
  ownerState: s
@@ -3,7 +3,7 @@ import "@mui/material";
3
3
  import "./styled.js";
4
4
  import "@mui/icons-material";
5
5
  import "../../../../../hooks/useToggle.js";
6
- import { C as l } from "../../../../../index-DHnXB0CB.js";
6
+ import { C as l } from "../../../../../index-tNZngrO0.js";
7
7
  import "react";
8
8
  import "lodash";
9
9
  import "dayjs";
@@ -1,17 +1,17 @@
1
1
  import "react/jsx-runtime";
2
2
  import "lodash";
3
3
  import "dayjs";
4
- import { V as b } from "../../../../../index-DHnXB0CB.js";
4
+ import { V as b } from "../../../../../index-tNZngrO0.js";
5
5
  import "@mui/material";
6
6
  import "@mui/icons-material";
7
7
  import "../../../../geometry-picker/index.js";
8
8
  import "../../../../phone-input/index.js";
9
9
  import "../../../../date-time-picker/index.js";
10
- import "../../../../../FormControlLabel-j_atSYQA.js";
11
- import "../../../../../Checkbox-DP6_qp1v.js";
12
- import "../../../../../FormControl-Cj5nc-Nv.js";
13
- import "../../../../../Select-BGt6e73I.js";
14
- import "../../../../../MenuItem-BejUFNIP.js";
10
+ import "../../../../../FormControlLabel-BL6c4YAN.js";
11
+ import "../../../../../Checkbox-COCZU8Yl.js";
12
+ import "../../../../../FormControl-BhwmBUAq.js";
13
+ import "../../../../../Select-C8Iimh3g.js";
14
+ import "../../../../../MenuItem-BjC83iWq.js";
15
15
  export {
16
16
  b as default
17
17
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, Fragment as i } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import { V as m } from "../../../../../index-DHnXB0CB.js";
3
+ import { V as m } from "../../../../../index-tNZngrO0.js";
4
4
  import d from "lodash";
5
5
  function h({
6
6
  template: o,
@@ -2,7 +2,7 @@ import { jsxs as $t, jsx as ye } from "react/jsx-runtime";
2
2
  import * as V from "react";
3
3
  import { useLayoutEffect as _t, useContext as Kt, useRef as j, useState as te, createContext as qt, useMemo as ee, useCallback as P, Component as en, Fragment as Ne, useEffect as bt, forwardRef as tn } from "react";
4
4
  import { Box as nn, FormLabel as un, FormHelperText as on } from "@mui/material";
5
- import { _ as an, a as A } from "../../../extends-C3382pL0.js";
5
+ import { a as an, _ as A } from "../../../extends-Cyw62AD_.js";
6
6
  import { _ as rn, a as ln } from "../../../assertThisInitialized-BUtkG-md.js";
7
7
  import { keyframes as sn, jsx as C, css as pt } from "@emotion/react";
8
8
  import { createPortal as cn } from "react-dom";
@@ -9,8 +9,8 @@ import { Schedule as Z } from "@mui/icons-material";
9
9
  import $ from "../../hooks/useMenuLogic.js";
10
10
  const K = ({
11
11
  value: g,
12
- name: Y,
13
- minDate: D,
12
+ name: D,
13
+ minDate: Y,
14
14
  variant: M,
15
15
  size: H = "small",
16
16
  minuteStep: m = 30,
@@ -49,7 +49,7 @@ const K = ({
49
49
  {
50
50
  value: o,
51
51
  format: "DD/MM/YYYY",
52
- minDate: D,
52
+ minDate: Y,
53
53
  onChange: x,
54
54
  slotProps: {
55
55
  textField: {
@@ -95,7 +95,7 @@ const K = ({
95
95
  children: v.map((t) => /* @__PURE__ */ e(E, { onClick: C(t), children: t }, t))
96
96
  }
97
97
  ),
98
- /* @__PURE__ */ e("input", { type: "hidden", name: Y, value: (o == null ? void 0 : o.format()) ?? "" })
98
+ /* @__PURE__ */ e("input", { type: "hidden", name: D, value: (o == null ? void 0 : o.format()) ?? "" })
99
99
  ] });
100
100
  };
101
101
  export {
@@ -2,7 +2,7 @@ import { jsxs as l, Fragment as p, jsx as o } from "react/jsx-runtime";
2
2
  import { Button as a, Box as f } from "@mui/material";
3
3
  import u from "../map/index.js";
4
4
  import C from "../parser/index.js";
5
- import { g as y, c as g } from "../../../ol-q6vTiF_t.js";
5
+ import { g as y, c as g } from "../../../ol-BUKJ1urU.js";
6
6
  import { useState as h } from "react";
7
7
  import { Add as P } from "@mui/icons-material";
8
8
  import { parse as v, convert as x } from "../../map/helpers/wkt.js";
@@ -2,10 +2,10 @@ import { jsxs as a, jsx as e, Fragment as x } from "react/jsx-runtime";
2
2
  import E, { useState as F, useEffect as T } from "react";
3
3
  import { Dialog as w, DialogContent as K, DialogActions as j, Button as c, Box as O } from "@mui/material";
4
4
  import C from "../map/index.js";
5
- import { c as P, a as R } from "../../../ol-q6vTiF_t.js";
5
+ import { c as P, a as R } from "../../../ol-BUKJ1urU.js";
6
6
  import { parse as S } from "../../map/helpers/wkt.js";
7
7
  import _ from "lodash";
8
- import { t as B } from "../../../Source-CnCcu5UP.js";
8
+ import { t as B } from "../../../Source-Hf_SiWEW.js";
9
9
  function z({
10
10
  value: g,
11
11
  disableActions: y,
@@ -3,7 +3,7 @@ import D, { useState as k } from "react";
3
3
  import { Dialog as R, DialogContent as K, Box as t, Typography as x, DialogActions as F, Button as d } from "@mui/material";
4
4
  import P from "../map/index.js";
5
5
  import b from "../parser/index.js";
6
- import { c as _ } from "../../../ol-q6vTiF_t.js";
6
+ import { c as _ } from "../../../ol-BUKJ1urU.js";
7
7
  import { Button as l } from "../styled.js";
8
8
  import { HorizontalRule as j, ShowChart as O, CircleOutlined as I } from "@mui/icons-material";
9
9
  import L from "./map-overlay.js";
@@ -8,8 +8,8 @@ import y from "./geometry/index.js";
8
8
  import b from "./kml/index.js";
9
9
  import g from "./wkt/index.js";
10
10
  import { IconButton as s, Dialog as E, DialogTitle as W, DialogContent as K } from "@mui/material";
11
- import { F as L, I as z, a as G } from "../../FormControl-Cj5nc-Nv.js";
12
- import { I as w } from "../../Input-BY_yKOrF.js";
11
+ import { F as L, a as z, I as G } from "../../FormControl-BhwmBUAq.js";
12
+ import { I as w } from "../../Input-DgIhcA8j.js";
13
13
  const J = ({
14
14
  label: c,
15
15
  mapboxAccessToken: r,
@@ -3,7 +3,7 @@ import { useState as i, useEffect as b } from "react";
3
3
  import k from "./select-input-method.js";
4
4
  import { Box as c, TextField as M, Button as d } from "@mui/material";
5
5
  import { validate as C } from "../../map/helpers/kml.js";
6
- import { b as L, c as T } from "../../../ol-q6vTiF_t.js";
6
+ import { b as L, c as T } from "../../../ol-BUKJ1urU.js";
7
7
  function W({ onCancel: m, onSubmit: a }) {
8
8
  const [t, l] = i(), [o, f] = i(), [s, n] = i(), p = (e) => {
9
9
  l(e);
@@ -1,10 +1,10 @@
1
1
  import k from "react";
2
2
  import { createMapboxLayer as Xe } from "../../map/helpers/mapbox.js";
3
- import { I as $e, s as ke, n as ge, e as ve, C as fe, f as v, V as se, F as L, P as me, p as Ze, h as ze, i as _e, R as Ge, j as ye, k as J, M as D, l as Je, m as Qe, o as et, q as tt, L as z, r as it, t as Ie, u as Re, G as st, v as nt, b as Fe, a as rt } from "../../../ol-q6vTiF_t.js";
4
- import { T as Q, g as F, c as ot, e as Te, B as ne, E as ee, a as at, F as Ae, t as ht, s as be, b as ct, l as q, u as oe } from "../../../has-9_asnBxn.js";
5
- import { c as xe } from "../../../Text-BT5kPHOo.js";
3
+ import { I as $e, s as ke, n as ge, e as ve, C as fe, f as v, V as se, F as L, P as me, p as Ze, h as Je, i as _e, R as Ge, j as ye, k as Q, M as D, l as Qe, m as ze, o as et, q as tt, L as J, r as it, t as Ie, u as Re, G as st, v as nt, b as Fe, a as rt } from "../../../ol-BUKJ1urU.js";
4
+ import { T as z, g as F, d as ot, q as Te, a as ne, E as ee, f as at, F as Ae, x as ht, r as be, i as ct, l as q, u as oe } from "../../../has-CjQtZJa9.js";
5
+ import { O as xe } from "../../../Text-D6oGbCdi.js";
6
6
  import { defaultStyle as lt, selectStyleFunction as dt, markerStyle as ut } from "./style.js";
7
- import { c as E, d as ae, P as U, e as te, f as C, g as I, h as ie, i as gt, j as Oe, k as Ne, s as R, l as Ve, m as ft, n as Se, o as je, p as _t, q as mt, r as yt } from "../../../Source-CnCcu5UP.js";
7
+ import { G as E, ax as ae, ac as U, aL as te, k as C, aM as I, h as ie, T as gt, aI as Oe, ay as Ne, aN as R, aO as Ve, aP as ft, aQ as Se, P as je, J as _t, aR as mt, aK as yt } from "../../../Source-Hf_SiWEW.js";
8
8
  import { alert as xt } from "../../confirm/index.js";
9
9
  const pt = {
10
10
  /**
@@ -32,7 +32,7 @@ class pe extends $e {
32
32
  * @param {Options} [options] Options.
33
33
  */
34
34
  constructor(e) {
35
- super(), this.on, this.once, this.un, e = e || {}, this.boundAddFeature_ = this.addFeature_.bind(this), this.boundRemoveFeature_ = this.removeFeature_.bind(this), this.condition_ = e.condition ? e.condition : ke, this.addCondition_ = e.addCondition ? e.addCondition : ge, this.removeCondition_ = e.removeCondition ? e.removeCondition : ge, this.toggleCondition_ = e.toggleCondition ? e.toggleCondition : ve, this.multi_ = e.multi ? e.multi : !1, this.filter_ = e.filter ? e.filter : Q, this.hitTolerance_ = e.hitTolerance ? e.hitTolerance : 0, this.style_ = e.style !== void 0 ? e.style : Ft(), this.features_ = e.features || new fe();
35
+ super(), this.on, this.once, this.un, e = e || {}, this.boundAddFeature_ = this.addFeature_.bind(this), this.boundRemoveFeature_ = this.removeFeature_.bind(this), this.condition_ = e.condition ? e.condition : ke, this.addCondition_ = e.addCondition ? e.addCondition : ge, this.removeCondition_ = e.removeCondition ? e.removeCondition : ge, this.toggleCondition_ = e.toggleCondition ? e.toggleCondition : ve, this.multi_ = e.multi ? e.multi : !1, this.filter_ = e.filter ? e.filter : z, this.hitTolerance_ = e.hitTolerance ? e.hitTolerance : 0, this.style_ = e.style !== void 0 ? e.style : Ft(), this.features_ = e.features || new fe();
36
36
  let t;
37
37
  if (e.layers)
38
38
  if (typeof e.layers == "function")
@@ -44,7 +44,7 @@ class pe extends $e {
44
44
  };
45
45
  }
46
46
  else
47
- t = Q;
47
+ t = z;
48
48
  this.layerFilter_ = t, this.featureLayerAssociation_ = {};
49
49
  }
50
50
  /**
@@ -279,7 +279,7 @@ class Tt extends me {
279
279
  /** @type {import("./Pointer.js").Options} */
280
280
  e
281
281
  ), this.on, this.once, this.un, this.boundHandleFeatureChange_ = this.handleFeatureChange_.bind(this), this.condition_ = e.condition ? e.condition : Ze, this.defaultDeleteCondition_ = function(s) {
282
- return ze(s) && ke(s);
282
+ return Je(s) && ke(s);
283
283
  }, this.deleteCondition_ = e.deleteCondition ? e.deleteCondition : this.defaultDeleteCondition_, this.insertVertexCondition_ = e.insertVertexCondition ? e.insertVertexCondition : _e, this.vertexFeature_ = null, this.vertexSegments_ = null, this.lastPixel_ = [0, 0], this.ignoreNextSingleClick_ = !1, this.featuresBeingModified_ = null, this.rBush_ = new Ge(), this.pixelTolerance_ = e.pixelTolerance !== void 0 ? e.pixelTolerance : 10, this.snappedToVertex_ = !1, this.changingFeature_ = !1, this.dragSegments_ = [], this.overlay_ = new se({
284
284
  source: new ye({
285
285
  useSpatialIndex: !1,
@@ -301,10 +301,10 @@ class Tt extends me {
301
301
  }, this.source_ = null, this.hitDetection_ = null;
302
302
  let t;
303
303
  if (e.features ? t = e.features : e.source && (this.source_ = e.source, t = new fe(this.source_.getFeatures()), this.source_.addEventListener(
304
- J.ADDFEATURE,
304
+ Q.ADDFEATURE,
305
305
  this.handleSourceAdd_.bind(this)
306
306
  ), this.source_.addEventListener(
307
- J.REMOVEFEATURE,
307
+ Q.REMOVEFEATURE,
308
308
  this.handleSourceRemove_.bind(this)
309
309
  )), !t)
310
310
  throw new Error(
@@ -1111,7 +1111,7 @@ function $(l, e, t) {
1111
1111
  return o;
1112
1112
  }
1113
1113
  function Be(l, e, t) {
1114
- if (e instanceof z) {
1114
+ if (e instanceof J) {
1115
1115
  Z(l, e.getCoordinates(), !1, t);
1116
1116
  return;
1117
1117
  }
@@ -1235,13 +1235,13 @@ class Dt extends me {
1235
1235
  e
1236
1236
  );
1237
1237
  t.stopDown || (t.stopDown = Ae), super(t), this.on, this.once, this.un, this.shouldHandle_ = !1, this.downPx_ = null, this.downTimeout_, this.lastDragTime_, this.pointerType_, this.freehand_ = !1, this.source_ = e.source ? e.source : null, this.features_ = e.features ? e.features : null, this.snapTolerance_ = e.snapTolerance ? e.snapTolerance : 12, this.type_ = /** @type {import("../geom/Geometry.js").Type} */
1238
- e.type, this.mode_ = Lt(this.type_), this.stopClick_ = !!e.stopClick, this.minPoints_ = e.minPoints ? e.minPoints : this.mode_ === "Polygon" ? 3 : 2, this.maxPoints_ = this.mode_ === "Circle" ? 2 : e.maxPoints ? e.maxPoints : 1 / 0, this.finishCondition_ = e.finishCondition ? e.finishCondition : Q, this.geometryLayout_ = e.geometryLayout ? e.geometryLayout : "XY";
1238
+ e.type, this.mode_ = Lt(this.type_), this.stopClick_ = !!e.stopClick, this.minPoints_ = e.minPoints ? e.minPoints : this.mode_ === "Polygon" ? 3 : 2, this.maxPoints_ = this.mode_ === "Circle" ? 2 : e.maxPoints ? e.maxPoints : 1 / 0, this.finishCondition_ = e.finishCondition ? e.finishCondition : z, this.geometryLayout_ = e.geometryLayout ? e.geometryLayout : "XY";
1239
1239
  let s = e.geometryFunction;
1240
1240
  if (!s) {
1241
1241
  const i = this.mode_;
1242
1242
  if (i === "Circle")
1243
1243
  s = function(n, r, o) {
1244
- const a = r || new Je([NaN, NaN]), h = C(n[0]), c = R(
1244
+ const a = r || new Qe([NaN, NaN]), h = C(n[0]), c = R(
1245
1245
  h,
1246
1246
  C(n[n.length - 1])
1247
1247
  );
@@ -1253,7 +1253,7 @@ class Dt extends me {
1253
1253
  };
1254
1254
  else {
1255
1255
  let n;
1256
- i === "Point" ? n = U : i === "LineString" ? n = z : i === "Polygon" && (n = je), s = function(r, o, a) {
1256
+ i === "Point" ? n = U : i === "LineString" ? n = J : i === "Polygon" && (n = je), s = function(r, o, a) {
1257
1257
  return o ? i === "Polygon" ? r[0].length ? o.setCoordinates(
1258
1258
  [r[0].concat([r[0][0]])],
1259
1259
  this.geometryLayout_
@@ -1268,7 +1268,7 @@ class Dt extends me {
1268
1268
  }),
1269
1269
  style: e.style ? e.style : Mt(),
1270
1270
  updateWhileInteracting: !0
1271
- }), this.geometryName_ = e.geometryName, this.condition_ = e.condition ? e.condition : Qe, this.freehandCondition_, e.freehand ? this.freehandCondition_ = _e : this.freehandCondition_ = e.freehandCondition ? e.freehandCondition : ve, this.traceCondition_, this.setTrace(e.trace || !1), this.traceState_ = { active: !1 }, this.traceSource_ = e.traceSource || e.source || null, this.addChangeListener(et.ACTIVE, this.updateState_);
1271
+ }), this.geometryName_ = e.geometryName, this.condition_ = e.condition ? e.condition : ze, this.freehandCondition_, e.freehand ? this.freehandCondition_ = _e : this.freehandCondition_ = e.freehandCondition ? e.freehandCondition : ve, this.traceCondition_, this.setTrace(e.trace || !1), this.traceState_ = { active: !1 }, this.traceSource_ = e.traceSource || e.source || null, this.addChangeListener(et.ACTIVE, this.updateState_);
1272
1272
  }
1273
1273
  /**
1274
1274
  * Toggle tracing mode or set a tracing condition.
@@ -1550,7 +1550,7 @@ class Dt extends me {
1550
1550
  s ? (s.setFlatCoordinates(
1551
1551
  t.getLayout(),
1552
1552
  t.getFlatCoordinates()
1553
- ), s.changed()) : (s = new z(
1553
+ ), s.changed()) : (s = new J(
1554
1554
  t.getFlatCoordinates(),
1555
1555
  t.getLayout()
1556
1556
  ), this.sketchLine_.setGeometry(s));
@@ -1564,7 +1564,7 @@ class Dt extends me {
1564
1564
  const t = this.getMap().getView().getProjection(), s = Se(this.geometryLayout_);
1565
1565
  for (; e.length < s; )
1566
1566
  e.push(0);
1567
- this.finishCoordinate_ = e, this.mode_ === "Point" ? this.sketchCoords_ = e.slice() : this.mode_ === "Polygon" ? (this.sketchCoords_ = [[e.slice(), e.slice()]], this.sketchLineCoords_ = this.sketchCoords_[0]) : this.sketchCoords_ = [e.slice(), e.slice()], this.sketchLineCoords_ && (this.sketchLine_ = new L(new z(this.sketchLineCoords_)));
1567
+ this.finishCoordinate_ = e, this.mode_ === "Point" ? this.sketchCoords_ = e.slice() : this.mode_ === "Polygon" ? (this.sketchCoords_ = [[e.slice(), e.slice()]], this.sketchLineCoords_ = this.sketchCoords_[0]) : this.sketchCoords_ = [e.slice(), e.slice()], this.sketchLineCoords_ && (this.sketchLine_ = new L(new J(this.sketchLineCoords_)));
1568
1568
  const i = this.geometryFunction_(
1569
1569
  this.sketchCoords_,
1570
1570
  void 0,
@@ -1836,7 +1836,7 @@ class Gt extends me {
1836
1836
  /** @type {import("./Pointer.js").Options} */
1837
1837
  e
1838
1838
  );
1839
- t.handleDownEvent || (t.handleDownEvent = Q), t.stopDown || (t.stopDown = Ae), super(t), this.on, this.once, this.un, this.source_ = e.source ? e.source : null, this.vertex_ = e.vertex !== void 0 ? e.vertex : !0, this.edge_ = e.edge !== void 0 ? e.edge : !0, this.features_ = e.features ? e.features : null, this.featuresListenerKeys_ = [], this.featureChangeListenerKeys_ = {}, this.indexedFeaturesExtents_ = {}, this.pendingFeatures_ = {}, this.pixelTolerance_ = e.pixelTolerance !== void 0 ? e.pixelTolerance : 10, this.rBush_ = new Ge(), this.GEOMETRY_SEGMENTERS_ = {
1839
+ t.handleDownEvent || (t.handleDownEvent = z), t.stopDown || (t.stopDown = Ae), super(t), this.on, this.once, this.un, this.source_ = e.source ? e.source : null, this.vertex_ = e.vertex !== void 0 ? e.vertex : !0, this.edge_ = e.edge !== void 0 ? e.edge : !0, this.features_ = e.features ? e.features : null, this.featuresListenerKeys_ = [], this.featureChangeListenerKeys_ = {}, this.indexedFeaturesExtents_ = {}, this.pendingFeatures_ = {}, this.pixelTolerance_ = e.pixelTolerance !== void 0 ? e.pixelTolerance : 10, this.rBush_ = new Ge(), this.GEOMETRY_SEGMENTERS_ = {
1840
1840
  Point: this.segmentPointGeometry_.bind(this),
1841
1841
  LineString: this.segmentLineStringGeometry_.bind(this),
1842
1842
  LinearRing: this.segmentLineStringGeometry_.bind(this),
@@ -1998,13 +1998,13 @@ class Gt extends me {
1998
1998
  ) : this.source_ && s.push(
1999
1999
  q(
2000
2000
  this.source_,
2001
- J.ADDFEATURE,
2001
+ Q.ADDFEATURE,
2002
2002
  this.handleFeatureAdd_,
2003
2003
  this
2004
2004
  ),
2005
2005
  q(
2006
2006
  this.source_,
2007
- J.REMOVEFEATURE,
2007
+ Q.REMOVEFEATURE,
2008
2008
  this.handleFeatureRemove_,
2009
2009
  this
2010
2010
  )
@@ -1,4 +1,4 @@
1
- import { S as e, F as t, a as c, I as o, C as w, T as g } from "../../../Text-BT5kPHOo.js";
1
+ import { S as e, F as t, a as c, I as o, C as w, T as g } from "../../../Text-D6oGbCdi.js";
2
2
  const i = "data:image/svg+xml,%3csvg%20id='Layer_1'%20height='512'%20viewBox='0%200%2064%2064'%20width='512'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20data-name='Layer%201'%3e%3clinearGradient%20id='linear-gradient'%20gradientUnits='userSpaceOnUse'%20x1='63.568'%20x2='14.149'%20y1='60.512'%20y2='11.093'%3e%3cstop%20offset='0'%20stop-color='%23c21500'/%3e%3cstop%20offset='1'%20stop-color='%23f85032'/%3e%3c/linearGradient%3e%3cpath%20d='m48.19%2017.36a19.2%2019.2%200%200%200%20-17.18-9.33%2018.905%2018.905%200%200%200%20-17.94%2018.9c0%2012.74%2013%2024.93%2016.98%2028.36a2.969%202.969%200%200%200%203.9%200c5.77-4.97%2023.84-22.39%2014.24-37.93zm-16.19%2018.54a9.825%209.825%200%201%201%209.82-9.83%209.833%209.833%200%200%201%20-9.82%209.83z'%20fill='url(%23linear-gradient)'/%3e%3c/svg%3e", s = 0.5, h = new e({
3
3
  fill: new t({
4
4
  color: "rgba(255, 255, 255, 0.2)"
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { VerticalButton as m, MiniButton as c } from "./styled.js";
3
- import { I as e } from "../../IconButton-2FRFauye.js";
3
+ import { I as e } from "../../IconButton-DM-0JFx9.js";
4
4
  const a = ({
5
5
  variant: i = "default",
6
6
  startIcon: f,
@@ -1,5 +1,5 @@
1
1
  import n from "mapbox-gl";
2
- import { L as b, b as y, S as u } from "../../../Source-CnCcu5UP.js";
2
+ import { L as b, aS as u, au as y } from "../../../Source-Hf_SiWEW.js";
3
3
  const v = ({
4
4
  id: r = "map",
5
5
  center: s,
@@ -30,13 +30,13 @@ const v = ({
30
30
  const p = t.rotation;
31
31
  return e.jumpTo({
32
32
  // @ts-ignore
33
- center: y(t.center),
33
+ center: u(t.center),
34
34
  zoom: t.zoom - 1,
35
35
  bearing: -p * 180 / Math.PI,
36
36
  animate: !1
37
37
  }), e._frame && (e._frame.cancel(), e._frame = null), e._render(), a;
38
38
  },
39
- source: new u({})
39
+ source: new y({})
40
40
  });
41
41
  return {
42
42
  map: e,
@@ -1,11 +1,11 @@
1
1
  import "lodash";
2
- import "../../../Source-CnCcu5UP.js";
3
- import { x as K, c as n, D as T, E as i, b as p, a as u, z as M, y as L, d as l, w as k, B as W, g as f, J as g, A as x, H as C } from "../../../ol-q6vTiF_t.js";
2
+ import "../../../Source-Hf_SiWEW.js";
3
+ import { x as K, c as n, D as T, E as i, b as p, a as u, z as M, y as L, d as l, w as k, B as W, g as f, J as g, A as x, H as C } from "../../../ol-BUKJ1urU.js";
4
4
  import "ol";
5
5
  import "./kml.js";
6
6
  import "../styled.js";
7
7
  import "./wkt.js";
8
- import "../../../Text-BT5kPHOo.js";
8
+ import "../../../Text-D6oGbCdi.js";
9
9
  export {
10
10
  K as convertFeaturesToKML,
11
11
  n as convertFeaturesToWKT,
@@ -1,6 +1,6 @@
1
1
  import a from "react";
2
- import { d as R } from "../../ol-q6vTiF_t.js";
3
- import { a as _ } from "../../Source-CnCcu5UP.js";
2
+ import { d as R } from "../../ol-BUKJ1urU.js";
3
+ import { a as _ } from "../../Source-Hf_SiWEW.js";
4
4
  function U({
5
5
  id: l = "map",
6
6
  layers: c = [],
@@ -1,5 +1,5 @@
1
- import { S as r, F as t, a, C as s, I as c, T as f } from "../../Text-BT5kPHOo.js";
2
- import { s as d } from "../../styled-CHMAYxVs.js";
1
+ import { S as r, F as t, a, C as s, I as c, T as f } from "../../Text-D6oGbCdi.js";
2
+ import { s as d } from "../../styled-CPg13iuX.js";
3
3
  const i = 0.4, g = d("div")(
4
4
  ({ theme: o, cssPosition: n = "absolute" }) => ({
5
5
  position: n,
@@ -2,9 +2,9 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import k, { useState as O } from "react";
3
3
  import { Close as m, Search as u } from "@mui/icons-material";
4
4
  import { FilledInput as b, Input as R } from "@mui/material";
5
- import { F as _, I as j, a as g } from "../../FormControl-Cj5nc-Nv.js";
6
- import { O as v } from "../../OutlinedInput-CnzESIDi.js";
7
- import { I as t } from "../../IconButton-2FRFauye.js";
5
+ import { F as _, a as j, I as g } from "../../FormControl-BhwmBUAq.js";
6
+ import { O as v } from "../../OutlinedInput-CS2BwiVg.js";
7
+ import { I as t } from "../../IconButton-DM-0JFx9.js";
8
8
  const z = ({
9
9
  defaultValue: x = "",
10
10
  label: C = "Search",
@@ -1,7 +1,7 @@
1
1
  import { jsx as s, Fragment as c } from "react/jsx-runtime";
2
2
  import a from "lodash";
3
3
  import { CollapsibleCard as g } from "../collapsible-card/index.js";
4
- import p from "./property.js";
4
+ import { P as p } from "../../property-CKak9_tn.js";
5
5
  const K = ({
6
6
  values: f,
7
7
  templates: d,