@hybridcore/ui 1.1.3 → 1.3.0

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 (72) hide show
  1. package/dist/{ButtonBase-BYmh3G5j.js → ButtonBase-C7CHOX3y.js} +8 -7
  2. package/dist/{CardContent-C8PxkJz4.js → CardContent-DDFwwGfd.js} +3 -3
  3. package/dist/Checkbox-DP6_qp1v.js +469 -0
  4. package/dist/Collapse-9egEADkh.js +296 -0
  5. package/dist/{DialogContent-2aPOjKE7.js → DialogContent-MMUsECN2.js} +746 -789
  6. package/dist/{FormControl-BiAFm76F.js → FormControl-Cj5nc-Nv.js} +151 -163
  7. package/dist/FormControlLabel-j_atSYQA.js +827 -0
  8. package/dist/{IconButton-CQJ8wZE8.js → IconButton-2FRFauye.js} +4 -4
  9. package/dist/{Input-Bf5G3tFN.js → Input-BY_yKOrF.js} +5 -5
  10. package/dist/{listItemTextClasses-BvXFz-Oc.js → List-CgBXAAKA.js} +50 -62
  11. package/dist/ListItem-BFDUUjHt.js +428 -0
  12. package/dist/MenuItem-BejUFNIP.js +233 -0
  13. package/dist/{OutlinedInput-BEVE8VZQ.js → OutlinedInput-CnzESIDi.js} +5 -5
  14. package/dist/{Paper-CaiWdndQ.js → Paper-k37cShvn.js} +4 -4
  15. package/dist/{Select-DxpxZbJp.js → Select-BGt6e73I.js} +804 -1025
  16. package/dist/{Typography-XIiVCSto.js → Typography-Bjo-B13o.js} +3 -3
  17. package/dist/{chainPropTypes-DtBfUj5o.js → chainPropTypes-BmidnkZm.js} +2 -2
  18. package/dist/components/card/index.js +5 -5
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/index.js +34 -0
  21. package/dist/components/collapsible-card/style.js +575 -0
  22. package/dist/components/confirm/dialog.js +5 -5
  23. package/dist/components/container/index.js +6 -6
  24. package/dist/components/context-menu/index.js +191 -603
  25. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  26. package/dist/components/data-management/instance-form/components/variable/index.js +7 -5
  27. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  28. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  29. package/dist/components/geometry-picker/edit/index.js +1 -1
  30. package/dist/components/geometry-picker/geometry/index.js +1 -1
  31. package/dist/components/geometry-picker/index.js +2 -2
  32. package/dist/components/geometry-picker/kml/index.js +1 -1
  33. package/dist/components/geometry-picker/map/index.js +1 -1
  34. package/dist/components/geometry-picker/map/logic.js +1 -1
  35. package/dist/components/icon-button/index.js +1 -1
  36. package/dist/components/map/helpers/ol.js +2 -2
  37. package/dist/components/map/index.js +2 -2
  38. package/dist/components/map/logic.js +1 -1
  39. package/dist/components/map/styled.js +89 -6
  40. package/dist/components/search-input/index.js +3 -3
  41. package/dist/components/template-property-filters/index.js +78 -0
  42. package/dist/components/template-property-filters/property.js +7019 -0
  43. package/dist/components/tree-select/index.js +14 -13
  44. package/dist/components/treeview-filter/index.js +263 -328
  45. package/dist/components/treeview-filter/item/index.js +1 -1
  46. package/dist/components/treeview-filter/item-label/index.js +2 -2
  47. package/dist/createSvgIcon-DAR6Hwv8.js +77 -0
  48. package/dist/createSvgIcon-R_PakhKf.js +213 -0
  49. package/dist/{createTheme-agWfFD64.js → createTheme-oOCi1S_n.js} +5 -5
  50. package/dist/debounce-46wSf_lW.js +15 -0
  51. package/dist/{exactProp-CI8dagM-.js → exactProp-DhXxfU8X.js} +2 -2
  52. package/dist/index-C7W2wuUG.js +609 -0
  53. package/dist/index-DHnXB0CB.js +287 -0
  54. package/dist/{index-IvOfmM1F.js → index-JrtqxUdI.js} +6 -6
  55. package/dist/listItemTextClasses-CaI8l2PD.js +16 -0
  56. package/dist/main.d.ts +158 -0
  57. package/dist/main.js +33 -29
  58. package/dist/{ol-DXmSLlWv.js → ol-q6vTiF_t.js} +1 -1
  59. package/dist/resolveComponentProps-BwtY1IP3.js +54 -0
  60. package/dist/styled-CHMAYxVs.js +142 -0
  61. package/dist/{styled-Iq9jsO4F.js → styled-Wx2vv4j8.js} +1 -1
  62. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  63. package/dist/{useTheme-C0Dky5rV.js → useTheme-BI40KZ7w.js} +2 -1
  64. package/dist/{useTheme-CeyGVuQP.js → useTheme-CD5DEi5n.js} +2 -2
  65. package/dist/useThemeProps-D4or2IlT.js +62 -0
  66. package/dist/{useThemeProps-CzAjOL6F.js → useThemeProps-DT5EdhcP.js} +5 -4
  67. package/dist/{utils-DLpkeyhZ.js → utils-BEaBPoDF.js} +10 -10
  68. package/package.json +1 -1
  69. package/dist/Checkbox-DostZSwR.js +0 -673
  70. package/dist/index-Bw_m9ult.js +0 -1105
  71. package/dist/index-wW2D1aTG.js +0 -957
  72. package/dist/styled-C43K9x7T.js +0 -229
@@ -0,0 +1,287 @@
1
+ import { jsxs as h, Fragment as P, jsx as n } from "react/jsx-runtime";
2
+ import T from "lodash";
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 w, InputAdornment as Y, Tooltip as O, Stack as _ } from "@mui/material";
5
+ import { Container as y, Values as E, MiniButton as G } from "./components/data-management/instance-form/components/composite-list/styled.js";
6
+ import { Add as H, LockOutlined as R } from "@mui/icons-material";
7
+ import $ from "./hooks/useToggle.js";
8
+ import { GeometryPicker as q } from "./components/geometry-picker/index.js";
9
+ import { PhoneInput as J } from "./components/phone-input/index.js";
10
+ import { DateTimePicker as K } from "./components/date-time-picker/index.js";
11
+ import { T as D, F as Q } from "./FormControlLabel-j_atSYQA.js";
12
+ import { B as x, C as U } from "./Checkbox-DP6_qp1v.js";
13
+ import { F as X, I as Z } from "./FormControl-Cj5nc-Nv.js";
14
+ import { S as M } from "./Select-BGt6e73I.js";
15
+ import { M as z } from "./MenuItem-BejUFNIP.js";
16
+ import { useState as ee } from "react";
17
+ function ne({
18
+ property: m,
19
+ mapboxAccessToken: e,
20
+ value: l,
21
+ variant: u = "standard",
22
+ size: o = "medium",
23
+ onChange: a
24
+ }) {
25
+ var V;
26
+ const s = $(!1), [d, C] = ee(), g = (c) => {
27
+ C(T.get(c, m.propertyId));
28
+ }, k = () => {
29
+ a([...l || [], d]), C(""), s.action.close();
30
+ }, A = (c) => () => {
31
+ if (l) {
32
+ let r = [...l];
33
+ r.splice(c, 1), a(r);
34
+ }
35
+ };
36
+ return /* @__PURE__ */ h(P, { children: [
37
+ /* @__PURE__ */ h(y, { variant: u, children: [
38
+ /* @__PURE__ */ n(F, { children: m.name }),
39
+ /* @__PURE__ */ n(E, { children: T.isArray(l) && l.map((c, r) => {
40
+ var f, t;
41
+ return /* @__PURE__ */ n(
42
+ B,
43
+ {
44
+ label: ((t = (f = m.dataTypeInfo) == null ? void 0 : f.innerType) == null ? void 0 : t.type) === "date" ? v(c).format("DD/MM/YYYY HH:mm:ss") : c,
45
+ size: o,
46
+ onDelete: A(r)
47
+ },
48
+ r
49
+ );
50
+ }) }),
51
+ /* @__PURE__ */ n(
52
+ G,
53
+ {
54
+ startIcon: /* @__PURE__ */ n(H, {}),
55
+ variant: "text",
56
+ onClick: s.action.open,
57
+ children: "Add"
58
+ }
59
+ )
60
+ ] }),
61
+ /* @__PURE__ */ h(
62
+ S,
63
+ {
64
+ open: s.state.isOpen,
65
+ onClose: s.action.close,
66
+ maxWidth: "sm",
67
+ fullWidth: !0,
68
+ children: [
69
+ /* @__PURE__ */ n(j, { children: "Add List Value" }),
70
+ /* @__PURE__ */ n(N, { children: (V = m.dataTypeInfo) != null && V.innerType ? /* @__PURE__ */ n(
71
+ te,
72
+ {
73
+ mapboxAccessToken: e,
74
+ property: {
75
+ ...m,
76
+ name: "Value",
77
+ type: m.dataTypeInfo.innerType.type
78
+ },
79
+ value: d,
80
+ onChange: g
81
+ }
82
+ ) : null }),
83
+ /* @__PURE__ */ h(W, { children: [
84
+ /* @__PURE__ */ n(
85
+ w,
86
+ {
87
+ variant: "contained",
88
+ color: "inherit",
89
+ onClick: s.action.close,
90
+ children: "Cancel"
91
+ }
92
+ ),
93
+ /* @__PURE__ */ n(w, { variant: "contained", color: "primary", onClick: k, children: "Ok" })
94
+ ] })
95
+ ]
96
+ }
97
+ )
98
+ ] });
99
+ }
100
+ function te({
101
+ mapboxAccessToken: m,
102
+ property: e,
103
+ value: l,
104
+ variant: u = "standard",
105
+ size: o = "medium",
106
+ disableMargin: a = !1,
107
+ defaultExtent: s,
108
+ // keyAuth,
109
+ onChange: d
110
+ }) {
111
+ var f;
112
+ const C = (t) => {
113
+ const I = t.target.value.split(",").map((p) => p.trimStart());
114
+ d({
115
+ [e.propertyId]: I
116
+ });
117
+ }, g = (t) => {
118
+ const { name: i, type: I, checked: p, value: L } = t.target;
119
+ let b = L;
120
+ e.type === "double" && (b = b.replace(",", "."), b = b.replace(/[^\d.-]+/g, "")), d({
121
+ [i]: I === "checkbox" ? p : b
122
+ });
123
+ }, k = (t) => {
124
+ d({
125
+ [e.propertyId]: t
126
+ });
127
+ }, A = (t) => {
128
+ d({
129
+ [e.propertyId]: t.target.value
130
+ });
131
+ }, V = (t) => (i) => {
132
+ d({
133
+ [t]: i
134
+ });
135
+ }, c = (t) => (i) => {
136
+ d({
137
+ [t]: i
138
+ });
139
+ }, r = (t) => (i) => {
140
+ d({
141
+ [t]: i
142
+ });
143
+ };
144
+ if ([
145
+ "string",
146
+ "integer",
147
+ "double",
148
+ "text",
149
+ "long",
150
+ "byte",
151
+ "bank-account"
152
+ ].includes(e.type))
153
+ return /* @__PURE__ */ n(
154
+ D,
155
+ {
156
+ label: e.name,
157
+ name: e.propertyId,
158
+ value: l ?? e.defaultValue ?? "",
159
+ defaultValue: l,
160
+ onChange: g,
161
+ variant: u,
162
+ type: "text",
163
+ multiline: e.type === "text",
164
+ disabled: !e.editable,
165
+ fullWidth: !0,
166
+ sx: { mb: a ? 0 : 2 },
167
+ InputProps: {
168
+ size: o,
169
+ ...e.privacyPreservationMethod === "ENCRYPTION" ? {
170
+ endAdornment: /* @__PURE__ */ n(Y, { position: "end", children: /* @__PURE__ */ n(O, { title: "Encrypted Field", children: /* @__PURE__ */ n(R, {}) }) })
171
+ } : {}
172
+ }
173
+ }
174
+ );
175
+ if (e.type === "date") {
176
+ const t = l !== void 0 ? v(l).format() : "";
177
+ return /* @__PURE__ */ h(_, { mb: a ? 0 : 2, children: [
178
+ /* @__PURE__ */ n(F, { variant: "subtitle2", children: e.name }),
179
+ /* @__PURE__ */ n(
180
+ K,
181
+ {
182
+ value: t,
183
+ variant: u,
184
+ size: o,
185
+ name: e.propertyId,
186
+ onChange: k
187
+ }
188
+ )
189
+ ] });
190
+ }
191
+ if (e.type === "list") {
192
+ let t = "";
193
+ return e.defaultValue && (t = T.isArray(e.defaultValue) ? l.join(", ") : e.defaultValue), l && (t = T.isArray(l) ? l.join(",") : l), /* @__PURE__ */ n(
194
+ D,
195
+ {
196
+ label: e.name,
197
+ name: e.propertyId,
198
+ value: t,
199
+ onChange: C,
200
+ variant: u,
201
+ disabled: !e.editable,
202
+ fullWidth: !0,
203
+ helperText: o === "small" ? null : "Add list values with the comma (,) separated string",
204
+ sx: { mb: a ? 0 : 2 },
205
+ InputProps: {
206
+ size: o,
207
+ placeholder: o === "small" ? "Add list values with the comma (,) separated string" : ""
208
+ }
209
+ }
210
+ );
211
+ }
212
+ if (e.type === "boolean")
213
+ return /* @__PURE__ */ n(x, { mb: a ? 0 : 2, children: /* @__PURE__ */ n(
214
+ Q,
215
+ {
216
+ control: /* @__PURE__ */ n(
217
+ U,
218
+ {
219
+ name: e.propertyId,
220
+ checked: !!l,
221
+ onChange: g,
222
+ size: o
223
+ }
224
+ ),
225
+ label: e.name
226
+ }
227
+ ) });
228
+ if (e.type === "enum") {
229
+ let t = [];
230
+ return (f = e.dataTypeInfo) != null && f.enumValues && (t = e.dataTypeInfo.enumValues), /* @__PURE__ */ h(
231
+ X,
232
+ {
233
+ fullWidth: !0,
234
+ variant: u,
235
+ sx: { mb: a ? 0 : 2 },
236
+ size: o,
237
+ children: [
238
+ /* @__PURE__ */ n(Z, { id: `${e.propertyId}-label`, children: e.name }),
239
+ /* @__PURE__ */ n(
240
+ M,
241
+ {
242
+ label: e.name,
243
+ name: e.name,
244
+ labelId: `${e.propertyId}-label`,
245
+ id: e.propertyId,
246
+ value: l ?? "",
247
+ onChange: A,
248
+ children: t.map((i, I) => /* @__PURE__ */ n(z, { value: i, children: i }, I))
249
+ }
250
+ )
251
+ ]
252
+ }
253
+ );
254
+ }
255
+ return e.type === "geometry" ? /* @__PURE__ */ n(x, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
256
+ q,
257
+ {
258
+ mapboxAccessToken: m,
259
+ label: e.name,
260
+ value: l ?? e.defaultValue ?? "",
261
+ defaultExtent: s,
262
+ onChange: V(e.propertyId)
263
+ }
264
+ ) }) : e.type === "phone-number" ? /* @__PURE__ */ n(x, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
265
+ J,
266
+ {
267
+ label: e.name,
268
+ placeholder: "Enter phone number",
269
+ value: l ?? e.defaultValue ?? "",
270
+ onChange: c(e.propertyId)
271
+ }
272
+ ) }) : e.type === "composite-list" ? /* @__PURE__ */ n(x, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
273
+ ne,
274
+ {
275
+ property: e,
276
+ value: l ?? e.defaultValue ?? "",
277
+ variant: u,
278
+ size: o,
279
+ mapboxAccessToken: m,
280
+ onChange: r(e.propertyId)
281
+ }
282
+ ) }) : /* @__PURE__ */ n(P, {});
283
+ }
284
+ export {
285
+ ne as C,
286
+ te as V
287
+ };
@@ -1,19 +1,19 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import o from "react";
3
3
  import f from "./components/map/logic.js";
4
- import { M as n } from "./styled-C43K9x7T.js";
4
+ import a from "./components/map/styled.js";
5
5
  import './assets/index.css';const l = (e, i) => {
6
6
  var t, r;
7
7
  const { refs: s, action: m } = f(e);
8
- return o.useImperativeHandle(i, () => m), /* @__PURE__ */ a(
9
- n.Container,
8
+ return o.useImperativeHandle(i, () => m), /* @__PURE__ */ n(
9
+ a.Container,
10
10
  {
11
11
  sx: {
12
12
  position: "relative",
13
13
  cursor: ((t = e.options) == null ? void 0 : t.cursor) || "default"
14
14
  },
15
- children: /* @__PURE__ */ a(
16
- n.Container,
15
+ children: /* @__PURE__ */ n(
16
+ a.Container,
17
17
  {
18
18
  id: e.id || "map",
19
19
  ref: s.mapContainer,
@@ -0,0 +1,16 @@
1
+ import { g as s } from "./chainPropTypes-BmidnkZm.js";
2
+ import { g as e } from "./styled-Wx2vv4j8.js";
3
+ function n(t) {
4
+ return e("MuiListItemIcon", t);
5
+ }
6
+ const o = s("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
7
+ function l(t) {
8
+ return e("MuiListItemText", t);
9
+ }
10
+ const r = s("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
11
+ export {
12
+ o as a,
13
+ l as b,
14
+ n as g,
15
+ r as l
16
+ };
package/dist/main.d.ts CHANGED
@@ -59,6 +59,8 @@ declare interface CardProps {
59
59
  stats?: default_2.ReactNode;
60
60
  }
61
61
 
62
+ export declare const CollapsibleCard: FC<Props_10>;
63
+
62
64
  export declare const ConditionalWrapper: React.FC<ConditionalWrapperProps>;
63
65
 
64
66
  declare interface ConditionalWrapperProps {
@@ -464,6 +466,22 @@ declare interface Props {
464
466
  children?: default_2.ReactNode;
465
467
  }
466
468
 
469
+ declare interface Props_10 {
470
+ header: React.ReactNode;
471
+ content: React.ReactNode;
472
+ expanded?: boolean;
473
+ defaultExpanded?: boolean;
474
+ actions?: React.ReactNode;
475
+ sx?: SxProps_2;
476
+ onChange?(event: React.SyntheticEvent, newExpanded: boolean): void;
477
+ }
478
+
479
+ declare interface Props_11 {
480
+ values: FV.TemplateFilter[];
481
+ templates: Map<string | number, ONTOLOGY.TemplateType>;
482
+ onChange(values: FV.TemplateFilter[]): void;
483
+ }
484
+
467
485
  declare interface Props_2 {
468
486
  open: boolean;
469
487
  buttons: ButtonType[];
@@ -682,6 +700,8 @@ declare interface SubmitButton {
682
700
  onClick?(): void;
683
701
  }
684
702
 
703
+ export declare const TemplatePropertyFilters: FC<Props_11>;
704
+
685
705
  export declare const TreeSelect: FC<TreeSelectProps>;
686
706
 
687
707
  declare interface TreeSelectProps {
@@ -844,6 +864,144 @@ declare namespace AUTH {
844
864
  }
845
865
  }
846
866
 
867
+ declare namespace FV {
868
+ type TemplateType = "EVENT" | "OBJECT" | "DOCUMENT";
869
+
870
+ interface SearchDTO {
871
+ keyword: string;
872
+ sortCriteria: "RELEVANCE" | "DATE" | "DISTANCE" | "RANDOM";
873
+ boundingBox: BoundingBox | null;
874
+ operator: "AND" | "OR" | "RANGE" | "NOT" | "EQUALS" | "FUZZY";
875
+ pageNumber: number;
876
+ rows: number;
877
+ minimalDetails: boolean;
878
+ spatialFilter: SpatialFilter | null;
879
+ timelineFilter: TimelineFilter | null;
880
+ templateFilters: TemplateFilter[];
881
+ templateType: TemplateType | null;
882
+ }
883
+
884
+ interface HierarchySearchDTO {
885
+ templatesPerPage: number;
886
+ pageNumber: number;
887
+ rowsPerTemplate: number;
888
+ keyword: string;
889
+ sortCriteria: "RELEVANCE" | "DATE" | "DISTANCE" | "RANDOM";
890
+ boundingBox: BoundingBox | null;
891
+ operator: "AND" | "OR" | "RANGE" | "NOT" | "EQUALS" | "FUZZY";
892
+ spatialFilter: SpatialFilter | null;
893
+ templateFilters: HierarchyTemplateFilter[];
894
+ }
895
+
896
+ interface BoundingBox {
897
+ bottomLeft: BottomLeft;
898
+ topRight: TopRight;
899
+ }
900
+
901
+ interface BottomLeft {
902
+ latitude: number;
903
+ longitude: number;
904
+ }
905
+
906
+ interface TopRight {
907
+ latitude: number;
908
+ longitude: number;
909
+ }
910
+
911
+ interface SpatialFilter {
912
+ wkt: string;
913
+ buffer: number;
914
+ geoFilterType: string;
915
+ }
916
+
917
+ interface TimelineFilter {
918
+ start: string;
919
+ end: string;
920
+ rangeGap: string;
921
+ }
922
+
923
+ interface TemplateFilter {
924
+ templateKey: string;
925
+ filterOperator: string;
926
+ filters: PropertyFilter[];
927
+ exclusionTemplateKeys: string[];
928
+ }
929
+
930
+ interface HierarchyTemplateFilter {
931
+ templateKey: string;
932
+ includeChildTemplates: boolean;
933
+ filterOperator: string;
934
+ filters: PropertyFilter[];
935
+ exclusionTemplateKeys: string[];
936
+ }
937
+
938
+ interface PropertyFilter {
939
+ fieldName: string;
940
+ value: PropertyFilterValue;
941
+ }
942
+
943
+ interface PropertyFilterValue {
944
+ min?: string;
945
+ max?: string;
946
+ exact?: string;
947
+ list?: string[];
948
+ }
949
+
950
+ interface SearchResults {
951
+ totalResultCount: number;
952
+ totalPageCount: number;
953
+ results: SearchResult[];
954
+ }
955
+
956
+ interface SearchResult {
957
+ id: number;
958
+ title: string;
959
+ templateId: number;
960
+ variables: INSTANCE.GroupedVariables;
961
+ description?: string;
962
+ }
963
+
964
+ interface Location {
965
+ kml: string;
966
+ }
967
+
968
+ interface HierarchySearchResults {
969
+ totalTemplateCount: number;
970
+ totalPageCount: number;
971
+ instanceCountsByTemplateType: InstanceCountsByTemplateType;
972
+ results: HierarchySearchResult[];
973
+ }
974
+
975
+ interface InstanceCountsByTemplateType {
976
+ EVENT: number;
977
+ OBJECT: number;
978
+ DOCUMENT: number;
979
+ DICTIONARY_AGENT: number;
980
+ DICTIONARY_DEFINITION: number;
981
+ }
982
+
983
+ interface HierarchySearchResultInstance {
984
+ id: number;
985
+ title: string;
986
+ description?: string;
987
+ variables: INSTANCE.GroupedVariables;
988
+ highlights?: {};
989
+ }
990
+
991
+ interface HierarchySearchResult {
992
+ totalInstanceCount: number;
993
+ templateId: number;
994
+ instances: HierarchySearchResultInstance[];
995
+ }
996
+
997
+ interface KeywordSearchDTO {
998
+ keyword: string;
999
+ instanceId: number;
1000
+ pageNumber: number;
1001
+ rows: number;
1002
+ }
1003
+ }
1004
+
847
1005
  declare namespace INSTANCE {
848
1006
  interface String {
849
1007
  [key: string | number]: string;
package/dist/main.js CHANGED
@@ -1,43 +1,47 @@
1
1
  import { Access as e } from "./components/access/index.js";
2
- import { Card as m } from "./components/card/index.js";
2
+ import { Card as p } from "./components/card/index.js";
3
3
  import { ConditionalWrapper as f } from "./components/conditional-wrapper/index.js";
4
- import { alert as n, confirm as i } from "./components/confirm/index.js";
4
+ import { alert as i, confirm as n } from "./components/confirm/index.js";
5
5
  import { Container as c } from "./components/container/index.js";
6
- import { ContextMenu as u } from "./components/context-menu/index.js";
7
- import { InstanceForm as P } from "./components/data-management/instance-form/index.js";
8
- import { DisseminationList as y } from "./components/data-security-selectors/dissemination-list/index.js";
6
+ import { ContextMenu as s } from "./components/context-menu/index.js";
7
+ import { InstanceForm as C } from "./components/data-management/instance-form/index.js";
8
+ import { DisseminationList as d } from "./components/data-security-selectors/dissemination-list/index.js";
9
9
  import { SecurityLevel as I } from "./components/data-security-selectors/security-level/index.js";
10
- import { DateTimePicker as L } from "./components/date-time-picker/index.js";
11
- import { GeometryPicker as T } from "./components/geometry-picker/index.js";
12
- import { IconButton as k } from "./components/icon-button/index.js";
13
- import { KeyProtectionMenu as F } from "./components/key-protection/menu.js";
14
- import { S as g } from "./utils-Bq0ye5vf.js";
15
- import { Loading as w } from "./components/loading/index.js";
16
- import { i as B } from "./index-IvOfmM1F.js";
17
- import { PhoneInput as U } from "./components/phone-input/index.js";
18
- import { SearchInput as W } from "./components/search-input/index.js";
10
+ import { DateTimePicker as T } from "./components/date-time-picker/index.js";
11
+ import { GeometryPicker as L } from "./components/geometry-picker/index.js";
12
+ import { IconButton as h } from "./components/icon-button/index.js";
13
+ import { KeyProtectionMenu as D } from "./components/key-protection/menu.js";
14
+ import { S as b } from "./utils-Bq0ye5vf.js";
15
+ import { Loading as v } from "./components/loading/index.js";
16
+ import { i as A } from "./index-JrtqxUdI.js";
17
+ import { PhoneInput as G } from "./components/phone-input/index.js";
18
+ import { SearchInput as V } from "./components/search-input/index.js";
19
19
  import { TreeSelect as j } from "./components/tree-select/index.js";
20
20
  import { TreeViewFilter as z } from "./components/treeview-filter/index.js";
21
+ import { CollapsibleCard as H } from "./components/collapsible-card/index.js";
22
+ import { TemplatePropertyFilters as N } from "./components/template-property-filters/index.js";
21
23
  export {
22
24
  e as Access,
23
- m as Card,
25
+ p as Card,
26
+ H as CollapsibleCard,
24
27
  f as ConditionalWrapper,
25
28
  c as Container,
26
- u as ContextMenu,
27
- L as DateTimePicker,
28
- y as DisseminationList,
29
- T as GeometryPicker,
30
- k as IconButton,
31
- P as InstanceForm,
32
- g as KeyProductionUtils,
33
- F as KeyProtectionMenu,
34
- w as Loading,
35
- B as Map,
36
- U as PhoneInput,
37
- W as SearchInput,
29
+ s as ContextMenu,
30
+ T as DateTimePicker,
31
+ d as DisseminationList,
32
+ L as GeometryPicker,
33
+ h as IconButton,
34
+ C as InstanceForm,
35
+ b as KeyProductionUtils,
36
+ D as KeyProtectionMenu,
37
+ v as Loading,
38
+ A as Map,
39
+ G as PhoneInput,
40
+ V as SearchInput,
38
41
  I as SecurityLevel,
42
+ N as TemplatePropertyFilters,
39
43
  j as TreeSelect,
40
44
  z as TreeViewFilter,
41
- n as alert,
42
- i as confirm
45
+ i as alert,
46
+ n as confirm
43
47
  };
@@ -4,7 +4,7 @@ import { f as Ci, A as va, B as ze, D as Ir, i as tt, T as di, l as Z, O as ui,
4
4
  import { s as Fr, b as Ga, d as xn, r as Ya, e as jn, f as ds, g as Fs, h as Xa, i as Ds, j as Yi, k as Os, l as lt, m as Jn, n as Mt, o as Wa, p as En, t as Ua, S as _t, F as Ve, I as Ht, a as tn, T as Ri, R as Ba, C as Ka, q as za, u as Va, v as ce, w as Rt, x as en, y as nn, z as Bt, A as Kt, B as sn, D as rn, E as on, G as xe, H as gi, J as an, K as Dr, L as Ha, M as Za, N as qa, O as Ms } from "./Text-BT5kPHOo.js";
5
5
  import { Feature as me } from "ol";
6
6
  import { getNumberCoordinates as us, validate as Or, parse as Mr, getGeometries as Qn, findPlacemarkCoordinates as ja, build as Ja } from "./components/map/helpers/kml.js";
7
- import { d as Nr, a as Qa } from "./styled-C43K9x7T.js";
7
+ import { defaultStyle as Nr, selectStyleFunction as Qa } from "./components/map/styled.js";
8
8
  import { parse as $a, findCoordinate as tl } from "./components/map/helpers/wkt.js";
9
9
  const gt = {
10
10
  /**
@@ -0,0 +1,54 @@
1
+ import { a as o } from "./extends-C3382pL0.js";
2
+ import { i as g } from "./isHostComponent-kiaBvYVo.js";
3
+ import { c as v } from "./chainPropTypes-BmidnkZm.js";
4
+ function O(n, s, e) {
5
+ return n === void 0 || g(n) ? s : o({}, s, {
6
+ ownerState: o({}, s.ownerState, e)
7
+ });
8
+ }
9
+ function p(n, s = []) {
10
+ if (n === void 0)
11
+ return {};
12
+ const e = {};
13
+ return Object.keys(n).filter((t) => t.match(/^on[A-Z]/) && typeof n[t] == "function" && !s.includes(t)).forEach((t) => {
14
+ e[t] = n[t];
15
+ }), e;
16
+ }
17
+ function y(n) {
18
+ if (n === void 0)
19
+ return {};
20
+ const s = {};
21
+ return Object.keys(n).filter((e) => !(e.match(/^on[A-Z]/) && typeof n[e] == "function")).forEach((e) => {
22
+ s[e] = n[e];
23
+ }), s;
24
+ }
25
+ function P(n) {
26
+ const {
27
+ getSlotProps: s,
28
+ additionalProps: e,
29
+ externalSlotProps: t,
30
+ externalForwardedProps: l,
31
+ className: u
32
+ } = n;
33
+ if (!s) {
34
+ const f = v(e == null ? void 0 : e.className, u, l == null ? void 0 : l.className, t == null ? void 0 : t.className), m = o({}, e == null ? void 0 : e.style, l == null ? void 0 : l.style, t == null ? void 0 : t.style), i = o({}, e, l, t);
35
+ return f.length > 0 && (i.className = f), Object.keys(m).length > 0 && (i.style = m), {
36
+ props: i,
37
+ internalRef: void 0
38
+ };
39
+ }
40
+ const N = p(o({}, l, t)), h = y(t), S = y(l), r = s(N), d = v(r == null ? void 0 : r.className, e == null ? void 0 : e.className, u, l == null ? void 0 : l.className, t == null ? void 0 : t.className), c = o({}, r == null ? void 0 : r.style, e == null ? void 0 : e.style, l == null ? void 0 : l.style, t == null ? void 0 : t.style), a = o({}, r, e, S, h);
41
+ return d.length > 0 && (a.className = d), Object.keys(c).length > 0 && (a.style = c), {
42
+ props: a,
43
+ internalRef: r.ref
44
+ };
45
+ }
46
+ function k(n, s, e) {
47
+ return typeof n == "function" ? n(s, e) : n;
48
+ }
49
+ export {
50
+ O as a,
51
+ p as e,
52
+ P as m,
53
+ k as r
54
+ };