@hybridcore/ui 1.5.10 → 1.5.12

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.
@@ -1,43 +1,43 @@
1
- import { jsx as i, jsxs as o, Fragment as re } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as o, Fragment as fe } from "react/jsx-runtime";
2
2
  import f from "react";
3
- import de from "lodash";
4
- import { useForm as oe, Controller as u } from "react-hook-form";
5
- import { getNestedChildrenFromMap as se } from "../../utils/ontology.js";
6
- import { i as ce, d as me } from "../../utils-Bq0ye5vf.js";
7
- import { ConditionalWrapper as ue } from "../conditional-wrapper/index.js";
8
- import { Container as fe } from "../container/index.js";
9
- import { Box as s, TextField as v, FormGroup as he, FormControl as ve, InputLabel as be, Select as ye, MenuItem as Te, FormControlLabel as J, Checkbox as $, Button as g } from "@mui/material";
10
- import { TreeSelect as ge } from "../tree-select/index.js";
11
- import pe from "./components/policy-list/index.js";
12
- import Ie from "./components/variables/index.js";
13
- import { DisseminationList as xe } from "../data-security-selectors/dissemination-list/index.js";
14
- import { SecurityLevel as Ce } from "../data-security-selectors/security-level/index.js";
15
- const Oe = {
3
+ import he from "lodash";
4
+ import { useForm as ve, Controller as m } from "react-hook-form";
5
+ import { getNestedChildrenFromMap as ye } from "../../utils/ontology.js";
6
+ import { i as be, d as Te } from "../../utils-Bq0ye5vf.js";
7
+ import { ConditionalWrapper as ge } from "../conditional-wrapper/index.js";
8
+ import { Container as Oe } from "../container/index.js";
9
+ import { Box as s, TextField as y, FormGroup as Ie, FormControl as pe, InputLabel as xe, Select as Ce, MenuItem as Le, FormControlLabel as ee, Checkbox as te, Button as g } from "@mui/material";
10
+ import { TreeSelect as Ve } from "../tree-select/index.js";
11
+ import Se from "./components/policy-list/index.js";
12
+ import Ee from "./components/variables/index.js";
13
+ import { DisseminationList as Fe } from "../data-security-selectors/dissemination-list/index.js";
14
+ import { SecurityLevel as ke } from "../data-security-selectors/security-level/index.js";
15
+ const Re = {
16
16
  alg: "A256GCM",
17
17
  ext: !0,
18
18
  k: "_El6rHQxC5E7NdO5DiMDITjF7f65wrlaJmFVagVE9Ic",
19
19
  key_ops: ["encrypt", "decrypt"],
20
20
  kty: "oct"
21
- }, Le = [
21
+ }, we = [
22
22
  "IMAGE",
23
23
  "VIDEO",
24
24
  "TEXT",
25
25
  "BINARY",
26
26
  "OTHER"
27
27
  ];
28
- function Ve(e, Q) {
29
- var L, V, S, E, F, k, R, w, B, _, A, D, P, W, M, N, G, K, U, j, q, H, Y;
28
+ function Be(e, ie) {
29
+ var C, L, V, S, E, F, k, R, w, B, _, A, D, P, W, M, N, G, K, U, j, q, H, Y, J, $, Q, X, z;
30
30
  const {
31
- register: x,
32
- handleSubmit: X,
31
+ register: I,
32
+ handleSubmit: ne,
33
33
  control: c,
34
- formState: { errors: z, isDirty: Z },
35
- getValues: C,
34
+ formState: { errors: le, isDirty: ae },
35
+ getValues: p,
36
36
  setValue: b,
37
- reset: ee
38
- } = oe({
37
+ reset: de
38
+ } = ve({
39
39
  defaultValues: e.defaultValues
40
- }), [te, ie] = f.useState([]), [y, O] = f.useState(), [Se, ne] = f.useState(0), le = f.useMemo(() => {
40
+ }), [re, oe] = f.useState([]), [T, x] = f.useState(), [_e, se] = f.useState(0), ce = f.useMemo(() => {
41
41
  const t = [];
42
42
  return e.mappedTemplates.forEach((n) => {
43
43
  n.creatable || t.push(String(n.id));
@@ -48,61 +48,61 @@ function Ve(e, Q) {
48
48
  const t = { ...e.defaultValues }, n = e.mappedTemplates.get(t.templateId);
49
49
  if (n) {
50
50
  const a = n.properties.filter(
51
- (r) => r.privacyPreservationMethod === "ENCRYPTION"
51
+ (d) => d.privacyPreservationMethod === "ENCRYPTION"
52
52
  );
53
53
  if (a.length > 0)
54
- for (let r = 0; r < a.length; r++) {
55
- const l = a[r], d = de.get(t, `variables.${l.propertyId}`);
56
- if (d && e.keyAuth) {
57
- const m = await ce(Oe), h = await me(m, String(d));
58
- h.data && (b(`variables.${l.propertyId}`, h.data), ne((T) => T + 1));
54
+ for (let d = 0; d < a.length; d++) {
55
+ const l = a[d], r = he.get(t, `variables.${l.propertyId}`);
56
+ if (r && e.keyAuth) {
57
+ const u = await be(Re), h = await Te(u, String(r));
58
+ h.data && (b(`variables.${l.propertyId}`, h.data), se((v) => v + 1));
59
59
  }
60
60
  }
61
61
  }
62
62
  })();
63
63
  }, [e.defaultValues, e.mappedTemplates, e.keyAuth]);
64
- const p = () => {
65
- const t = C("templateId");
66
- y && O(void 0);
67
- const n = se(e.mappedTemplates);
68
- ie(n);
64
+ const O = () => {
65
+ const t = p("templateId");
66
+ T && x(void 0);
67
+ const n = ye(e.mappedTemplates);
68
+ oe(n);
69
69
  for (const a of e.mappedTemplates.values())
70
70
  if (a.id === t) {
71
- O(a);
71
+ x(a);
72
72
  break;
73
73
  }
74
74
  };
75
- f.useImperativeHandle(Q, () => ({
75
+ f.useImperativeHandle(ie, () => ({
76
76
  resetForm() {
77
- ee({
77
+ de({
78
78
  title: "",
79
79
  description: "",
80
80
  templateId: 0,
81
81
  variables: {}
82
- }), p();
82
+ }), O();
83
83
  },
84
84
  setFormValue(t, n) {
85
85
  b(t, n);
86
86
  },
87
87
  getFormValue(t) {
88
- return C(t);
88
+ return p(t);
89
89
  }
90
- })), f.useEffect(() => (p(), () => {
90
+ })), f.useEffect(() => (O(), () => {
91
91
  }), [e.mappedTemplates]), f.useEffect(() => {
92
- e.onSelectedTemplateChange && e.onSelectedTemplateChange(y);
93
- }, [y]);
94
- const ae = () => {
92
+ e.onSelectedTemplateChange && e.onSelectedTemplateChange(T);
93
+ }, [T]);
94
+ const me = () => {
95
95
  if (e.onCancel) {
96
- e.onCancel(Z);
96
+ e.onCancel(ae);
97
97
  return;
98
98
  }
99
99
  };
100
100
  return /* @__PURE__ */ i(
101
- ue,
101
+ ge,
102
102
  {
103
103
  condition: e.variant === void 0 || e.variant === "inline",
104
104
  wrapper: (t) => /* @__PURE__ */ i(
105
- fe,
105
+ Oe,
106
106
  {
107
107
  disableHeader: !0,
108
108
  sx: { position: "relative", overflow: "visible" },
@@ -112,51 +112,51 @@ function Ve(e, Q) {
112
112
  children: /* @__PURE__ */ o(
113
113
  "form",
114
114
  {
115
- onSubmit: X(e.onSubmit),
115
+ onSubmit: ne(e.onSubmit),
116
116
  style: { display: "flex", flexDirection: "column" },
117
117
  children: [
118
- !((V = (L = e.fieldOptions) == null ? void 0 : L.title) != null && V.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
118
+ !((L = (C = e.fieldOptions) == null ? void 0 : C.title) != null && L.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
119
119
  /* @__PURE__ */ i(
120
- v,
120
+ y,
121
121
  {
122
122
  label: "Title *",
123
123
  variant: e.inputVariant,
124
124
  fullWidth: !0,
125
- ...x("title", { required: !0 }),
126
- ...z.title && {
125
+ ...I("title", { required: !0 }),
126
+ ...le.title && {
127
127
  helperText: "This field is required!",
128
128
  error: !0
129
129
  }
130
130
  }
131
131
  ),
132
- e.fieldOptions && ((S = e.fieldOptions.title) == null ? void 0 : S.helperText)
132
+ e.fieldOptions && ((V = e.fieldOptions.title) == null ? void 0 : V.helperText)
133
133
  ] }),
134
- !((F = (E = e.fieldOptions) == null ? void 0 : E.description) != null && F.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
134
+ !((E = (S = e.fieldOptions) == null ? void 0 : S.description) != null && E.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
135
135
  /* @__PURE__ */ i(
136
- v,
136
+ y,
137
137
  {
138
138
  label: "Description",
139
139
  variant: e.inputVariant,
140
140
  fullWidth: !0,
141
141
  multiline: !0,
142
- minRows: (R = (k = e.fieldOptions) == null ? void 0 : k.description) == null ? void 0 : R.minRows,
143
- ...x("description")
142
+ minRows: (k = (F = e.fieldOptions) == null ? void 0 : F.description) == null ? void 0 : k.minRows,
143
+ ...I("description")
144
144
  }
145
145
  ),
146
- e.fieldOptions && ((w = e.fieldOptions.description) == null ? void 0 : w.helperText)
146
+ e.fieldOptions && ((R = e.fieldOptions.description) == null ? void 0 : R.helperText)
147
147
  ] }),
148
- !((_ = (B = e.fieldOptions) == null ? void 0 : B.templateId) != null && _.hidden) && /* @__PURE__ */ o(he, { sx: { mb: 2 }, children: [
148
+ !((B = (w = e.fieldOptions) == null ? void 0 : w.templateId) != null && B.hidden) && /* @__PURE__ */ o(Ie, { sx: { mb: 2 }, children: [
149
149
  /* @__PURE__ */ i(
150
- u,
150
+ m,
151
151
  {
152
152
  name: "templateId",
153
153
  control: c,
154
154
  render: ({ field: { value: t, onChange: n } }) => {
155
- var a, r;
156
- if ((r = (a = e.fieldOptions) == null ? void 0 : a.templateId) != null && r.disabled) {
155
+ var a, d;
156
+ if ((d = (a = e.fieldOptions) == null ? void 0 : a.templateId) != null && d.disabled) {
157
157
  const l = t ? e.mappedTemplates.get(t) : void 0;
158
158
  return /* @__PURE__ */ i(
159
- v,
159
+ y,
160
160
  {
161
161
  label: "Template",
162
162
  variant: e.inputVariant,
@@ -168,53 +168,53 @@ function Ve(e, Q) {
168
168
  );
169
169
  }
170
170
  return /* @__PURE__ */ i(
171
- ge,
171
+ Ve,
172
172
  {
173
173
  label: "Template",
174
- data: te,
174
+ data: re,
175
175
  selected: t === 0 ? "" : [String(t)],
176
- disabled: le,
176
+ disabled: ce,
177
177
  variant: e.inputVariant,
178
- onChange: (l, d) => {
179
- const m = {
178
+ onChange: (l, r) => {
179
+ const u = {
180
180
  target: {
181
- value: d ? Number(l) : 0
181
+ value: r ? Number(l) : 0
182
182
  }
183
183
  };
184
- n(m), p();
184
+ n(u), O();
185
185
  }
186
186
  }
187
187
  );
188
188
  }
189
189
  }
190
190
  ),
191
- e.fieldOptions && ((A = e.fieldOptions.templateId) == null ? void 0 : A.helperText)
191
+ e.fieldOptions && ((_ = e.fieldOptions.templateId) == null ? void 0 : _.helperText)
192
192
  ] }),
193
- "aliasList" in e.defaultValues && !((P = (D = e.fieldOptions) == null ? void 0 : D.aliasList) != null && P.hidden) && /* @__PURE__ */ i(
194
- u,
193
+ "aliasList" in e.defaultValues && !((D = (A = e.fieldOptions) == null ? void 0 : A.aliasList) != null && D.hidden) && /* @__PURE__ */ i(
194
+ m,
195
195
  {
196
196
  name: "aliasList",
197
197
  control: c,
198
198
  render: ({ field: { value: t, onChange: n, ...a } }) => {
199
199
  var l;
200
- const r = (d) => {
201
- const T = {
200
+ const d = (r) => {
201
+ const v = {
202
202
  target: {
203
- value: d.target.value.split(",").map((I) => I.trimStart())
203
+ value: r.target.value.split(",").map((Z) => Z.trimStart())
204
204
  }
205
205
  };
206
- n(T);
206
+ n(v);
207
207
  };
208
208
  return /* @__PURE__ */ o(s, { mb: 2, children: [
209
209
  /* @__PURE__ */ i(
210
- v,
210
+ y,
211
211
  {
212
212
  label: "Alias List",
213
213
  variant: e.inputVariant,
214
214
  fullWidth: !0,
215
215
  value: t,
216
216
  helperText: "Add list values with the comma (,) separated string",
217
- onChange: r,
217
+ onChange: d,
218
218
  ...a
219
219
  }
220
220
  ),
@@ -223,8 +223,8 @@ function Ve(e, Q) {
223
223
  }
224
224
  }
225
225
  ),
226
- "appliedPolicies" in e.defaultValues && !((M = (W = e.fieldOptions) == null ? void 0 : W.appliedPolicies) != null && M.hidden) && /* @__PURE__ */ i(
227
- u,
226
+ "appliedPolicies" in e.defaultValues && !((W = (P = e.fieldOptions) == null ? void 0 : P.appliedPolicies) != null && W.hidden) && /* @__PURE__ */ i(
227
+ m,
228
228
  {
229
229
  name: "appliedPolicies",
230
230
  control: c,
@@ -232,7 +232,7 @@ function Ve(e, Q) {
232
232
  var a;
233
233
  return /* @__PURE__ */ o(s, { mb: 2, children: [
234
234
  /* @__PURE__ */ i(
235
- pe,
235
+ Se,
236
236
  {
237
237
  policyList: e.policyList,
238
238
  value: t || void 0,
@@ -245,14 +245,14 @@ function Ve(e, Q) {
245
245
  }
246
246
  ),
247
247
  /* @__PURE__ */ i(
248
- u,
248
+ m,
249
249
  {
250
250
  name: "variables",
251
251
  control: c,
252
252
  render: ({ field: { value: t, onChange: n } }) => /* @__PURE__ */ i(
253
- Ie,
253
+ Ee,
254
254
  {
255
- template: y,
255
+ template: T,
256
256
  value: t,
257
257
  mapboxAccessToken: e.mapboxAccessToken,
258
258
  variant: e.inputVariant,
@@ -262,28 +262,28 @@ function Ve(e, Q) {
262
262
  )
263
263
  }
264
264
  ),
265
- "fileInBase64" in e.defaultValues && !((G = (N = e.fieldOptions) == null ? void 0 : N.fileInBase64) != null && G.hidden) && /* @__PURE__ */ o(re, { children: [
265
+ "fileInBase64" in e.defaultValues && !((N = (M = e.fieldOptions) == null ? void 0 : M.fileInBase64) != null && N.hidden) && /* @__PURE__ */ o(fe, { children: [
266
266
  /* @__PURE__ */ i(
267
- u,
267
+ m,
268
268
  {
269
269
  name: "fileInBase64",
270
270
  control: c,
271
- render: ({ field: { onChange: t, ...n } }) => {
272
- var r;
273
- const a = (l) => {
274
- if (l.target.files) {
275
- const d = new FileReader();
276
- d.onload = async (h) => {
277
- const I = h.target.result.split("base64,")[1];
278
- t(I);
271
+ render: ({ field: { onChange: t, value: n, ...a } }) => {
272
+ var l;
273
+ const d = (r) => {
274
+ if (r.target.files) {
275
+ const u = new FileReader();
276
+ u.onload = async (v) => {
277
+ const ue = v.target.result.split("base64,")[1];
278
+ t(ue);
279
279
  };
280
- const m = l.target.files[0];
281
- b("originalFileName", m.name), b("contentType", m.type), d.readAsDataURL(m);
280
+ const h = r.target.files[0];
281
+ b("originalFileName", h.name), b("contentType", h.type), u.readAsDataURL(h);
282
282
  }
283
283
  };
284
284
  return /* @__PURE__ */ o(s, { mb: 2, children: [
285
285
  /* @__PURE__ */ i(
286
- v,
286
+ y,
287
287
  {
288
288
  type: "file",
289
289
  label: "File to Upload",
@@ -291,82 +291,82 @@ function Ve(e, Q) {
291
291
  fullWidth: !0,
292
292
  helperText: "Select a file to upload",
293
293
  InputLabelProps: { shrink: !0 },
294
- onChange: a,
295
- ...n
294
+ onChange: d,
295
+ ...a
296
296
  }
297
297
  ),
298
- e.fieldOptions && ((r = e.fieldOptions.fileInBase64) == null ? void 0 : r.helperText)
298
+ e.fieldOptions && ((l = e.fieldOptions.fileInBase64) == null ? void 0 : l.helperText)
299
299
  ] });
300
300
  }
301
301
  }
302
302
  ),
303
- /* @__PURE__ */ i(
304
- u,
303
+ !((K = (G = e.fieldOptions) == null ? void 0 : G.type) != null && K.hidden) && /* @__PURE__ */ i(
304
+ m,
305
305
  {
306
306
  name: "type",
307
307
  control: c,
308
308
  render: ({ field: { value: t, onChange: n } }) => {
309
- var r;
309
+ var d;
310
310
  const a = (l) => {
311
311
  const {
312
- target: { value: d }
312
+ target: { value: r }
313
313
  } = l;
314
- n(d);
314
+ n(r);
315
315
  };
316
316
  return /* @__PURE__ */ o(s, { mb: 2, children: [
317
- /* @__PURE__ */ o(ve, { fullWidth: !0, variant: e.inputVariant, children: [
318
- /* @__PURE__ */ i(be, { children: "Type" }),
317
+ /* @__PURE__ */ o(pe, { fullWidth: !0, variant: e.inputVariant, children: [
318
+ /* @__PURE__ */ i(xe, { children: "Type" }),
319
319
  /* @__PURE__ */ i(
320
- ye,
320
+ Ce,
321
321
  {
322
322
  value: t ? [t] : "",
323
323
  onChange: a,
324
- children: Le.map((l) => /* @__PURE__ */ i(Te, { value: l, children: l }, l))
324
+ children: we.map((l) => /* @__PURE__ */ i(Le, { value: l, children: l }, l))
325
325
  }
326
326
  )
327
327
  ] }),
328
- e.fieldOptions && ((r = e.fieldOptions.type) == null ? void 0 : r.helperText)
328
+ e.fieldOptions && ((d = e.fieldOptions.type) == null ? void 0 : d.helperText)
329
329
  ] });
330
330
  }
331
331
  }
332
332
  ),
333
- /* @__PURE__ */ o(s, { mb: 2, children: [
333
+ !((j = (U = e.fieldOptions) == null ? void 0 : U.redacted) != null && j.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
334
334
  /* @__PURE__ */ i(
335
- J,
335
+ ee,
336
336
  {
337
337
  control: /* @__PURE__ */ i(
338
- u,
338
+ m,
339
339
  {
340
340
  name: "redacted",
341
341
  control: c,
342
- render: ({ field: { value: t, ...n } }) => /* @__PURE__ */ i($, { checked: !!t, ...n })
342
+ render: ({ field: { value: t, ...n } }) => /* @__PURE__ */ i(te, { checked: !!t, ...n })
343
343
  }
344
344
  ),
345
345
  label: "Redacted"
346
346
  }
347
347
  ),
348
- e.fieldOptions && ((K = e.fieldOptions.redacted) == null ? void 0 : K.helperText)
348
+ e.fieldOptions && ((q = e.fieldOptions.redacted) == null ? void 0 : q.helperText)
349
349
  ] }),
350
- /* @__PURE__ */ o(s, { mb: 2, children: [
350
+ !((Y = (H = e.fieldOptions) == null ? void 0 : H.contentEncrypted) != null && Y.hidden) && /* @__PURE__ */ o(s, { mb: 2, children: [
351
351
  /* @__PURE__ */ i(
352
- J,
352
+ ee,
353
353
  {
354
354
  control: /* @__PURE__ */ i(
355
- u,
355
+ m,
356
356
  {
357
357
  name: "contentEncrypted",
358
358
  control: c,
359
- render: ({ field: { value: t, ...n } }) => /* @__PURE__ */ i($, { checked: !!t, ...n })
359
+ render: ({ field: { value: t, ...n } }) => /* @__PURE__ */ i(te, { checked: !!t, ...n })
360
360
  }
361
361
  ),
362
362
  label: "Content Encrypted"
363
363
  }
364
364
  ),
365
- e.fieldOptions && ((U = e.fieldOptions.contentEncrypted) == null ? void 0 : U.helperText)
365
+ e.fieldOptions && ((J = e.fieldOptions.contentEncrypted) == null ? void 0 : J.helperText)
366
366
  ] })
367
367
  ] }),
368
- !((q = (j = e.fieldOptions) == null ? void 0 : j.disseminationList) != null && q.hidden) && /* @__PURE__ */ i(
369
- u,
368
+ !((Q = ($ = e.fieldOptions) == null ? void 0 : $.disseminationList) != null && Q.hidden) && /* @__PURE__ */ i(
369
+ m,
370
370
  {
371
371
  name: "disseminationList",
372
372
  rules: {
@@ -374,13 +374,13 @@ function Ve(e, Q) {
374
374
  },
375
375
  control: c,
376
376
  render: ({ field: { value: t, onChange: n }, fieldState: a }) => {
377
- const r = t || [], l = (d) => {
378
- n(d);
377
+ const d = t || [], l = (r) => {
378
+ n(r);
379
379
  };
380
380
  return /* @__PURE__ */ i(
381
- xe,
381
+ Fe,
382
382
  {
383
- selectedIds: r,
383
+ selectedIds: d,
384
384
  memberedGroups: e.memberedGroups,
385
385
  showError: !!a.error,
386
386
  variant: e.inputVariant,
@@ -390,8 +390,8 @@ function Ve(e, Q) {
390
390
  }
391
391
  }
392
392
  ),
393
- !((Y = (H = e.fieldOptions) == null ? void 0 : H.securityLevelId) != null && Y.hidden) && /* @__PURE__ */ i(s, { mt: 2, children: /* @__PURE__ */ i(
394
- u,
393
+ !((z = (X = e.fieldOptions) == null ? void 0 : X.securityLevelId) != null && z.hidden) && /* @__PURE__ */ i(s, { mt: 2, children: /* @__PURE__ */ i(
394
+ m,
395
395
  {
396
396
  name: "securityLevelId",
397
397
  rules: {
@@ -399,12 +399,12 @@ function Ve(e, Q) {
399
399
  },
400
400
  control: c,
401
401
  render: ({ field: { value: t, onChange: n }, fieldState: a }) => {
402
- var l, d;
403
- const r = (m) => {
404
- n(m);
402
+ var l, r;
403
+ const d = (u) => {
404
+ n(u);
405
405
  };
406
406
  return /* @__PURE__ */ i(
407
- Ce,
407
+ ke,
408
408
  {
409
409
  value: t || 0,
410
410
  ontologyId: e.ontologyId,
@@ -412,10 +412,10 @@ function Ve(e, Q) {
412
412
  securityLevels: e.securityLevels,
413
413
  minLevelId: e.minSecurityLevel,
414
414
  templateKeys: (l = e.securityLevelConfig) == null ? void 0 : l.templateKeys,
415
- templateType: (d = e.securityLevelConfig) == null ? void 0 : d.templateType,
415
+ templateType: (r = e.securityLevelConfig) == null ? void 0 : r.templateType,
416
416
  showError: !!a.error,
417
417
  variant: e.inputVariant,
418
- onChange: r
418
+ onChange: d
419
419
  }
420
420
  );
421
421
  }
@@ -429,7 +429,7 @@ function Ve(e, Q) {
429
429
  variant: "text",
430
430
  disabled: e.loading,
431
431
  sx: { textTransform: "none" },
432
- onClick: ae,
432
+ onClick: me,
433
433
  children: "Cancel"
434
434
  }
435
435
  ),
@@ -478,7 +478,7 @@ function Ve(e, Q) {
478
478
  }
479
479
  );
480
480
  }
481
- const Ke = f.forwardRef(Ve);
481
+ const $e = f.forwardRef(Be);
482
482
  export {
483
- Ke as InstanceForm
483
+ $e as InstanceForm
484
484
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.5.10",
4
+ "version": "1.5.12",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",