@hybridcore/ui 1.5.13 → 1.5.16

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 (42) hide show
  1. package/dist/{DialogContent-CtA2aNum.js → DialogContent-B8pD_s9h.js} +1 -1
  2. package/dist/{Modal-DzZo-vlm.js → Modal-DpmJpbob.js} +206 -195
  3. package/dist/{Select-ush_fSWy.js → Select-DuyWoyoF.js} +1 -1
  4. package/dist/{TextField-BjFXx91l.js → TextField-CdKnj6de.js} +1 -1
  5. package/dist/assets/index3.css +1 -0
  6. package/dist/components/confirm/dialog.js +2 -2
  7. package/dist/components/confirm/index.js +1 -1
  8. package/dist/components/document-viewer/components/action-buttons/index.js +21 -0
  9. package/dist/components/document-viewer/components/navigation/index.js +26 -0
  10. package/dist/components/document-viewer/components/viewer/custom-renders/txt.js +5 -0
  11. package/dist/components/document-viewer/components/viewer/index.js +38 -0
  12. package/dist/components/document-viewer/data.js +4 -0
  13. package/dist/components/document-viewer/index.js +52 -0
  14. package/dist/components/document-viewer/logic.js +44 -0
  15. package/dist/components/document-viewer/styled.js +39 -0
  16. package/dist/components/document-viewer/utils.js +25 -0
  17. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  18. package/dist/components/instance-form/components/variable/index.js +7 -7
  19. package/dist/components/instance-form/components/variables/index.js +1 -1
  20. package/dist/components/property-mapping/index.js +1 -1
  21. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  22. package/dist/components/range-selector/components/date-range/index.js +1 -1
  23. package/dist/components/range-selector/index.js +1 -1
  24. package/dist/components/template-form/components/property-list/index.js +3 -3
  25. package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
  26. package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
  27. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
  28. package/dist/components/template-form/index.js +2 -2
  29. package/dist/components/template-property-filters/property.js +1 -1
  30. package/dist/components/tree-select/index.js +2 -2
  31. package/dist/{dialog-BDt1r9fh.js → dialog-C7_6_FBz.js} +1 -1
  32. package/dist/empty-GlqisfcO-GlqisfcO.js +4 -0
  33. package/dist/index-4HENfCPg-CwPLzyfw.js +3350 -0
  34. package/dist/index-BepDdkdq-BilQlvph.js +42 -0
  35. package/dist/{index-CAaDu0NI.js → index-CNMnXD0q.js} +1349 -1338
  36. package/dist/{index-D-mTkx9Q.js → index-CdecY907.js} +63 -61
  37. package/dist/main.d.ts +12 -0
  38. package/dist/main.js +54 -52
  39. package/dist/{property-list-form-CLSTkOmv.js → property-list-form-DALcsCp5.js} +92 -104
  40. package/dist/txt-U0b7DL6j.js +19250 -0
  41. package/dist/url-DQYFKQ_E-BH63-AZh.js +558 -0
  42. package/package.json +2 -1
@@ -1,21 +1,21 @@
1
1
  import { jsxs as h, Fragment as M, jsx as n } from "react/jsx-runtime";
2
- import I from "lodash";
2
+ import { KeyboardArrowUp as B, KeyboardArrowDown as N, Add as W, LockOutlined as j } from "@mui/icons-material";
3
+ import { FormControl as Y, FormLabel as $, FormGroup as v, FormControlLabel as _, Checkbox as E, Typography as P, Button as F, Chip as G, Dialog as H, DialogTitle as K, DialogContent as R, DialogActions as U, InputAdornment as J, Tooltip as Q } from "@mui/material";
3
4
  import q from "dayjs";
4
- import { FormControl as B, FormLabel as N, FormGroup as W, FormControlLabel as j, Checkbox as Y, Typography as P, Button as F, Chip as $, Dialog as v, DialogTitle as _, DialogContent as E, DialogActions as G, InputAdornment as H, Tooltip as K } from "@mui/material";
5
- import { Container as R, Values as U, MiniButton as J } from "./components/instance-form/components/composite-list/styled.js";
6
- import { KeyboardArrowUp as Q, KeyboardArrowDown as X, Add as Z, LockOutlined as z } from "@mui/icons-material";
5
+ import I from "lodash";
6
+ import { Container as X, Values as Z, MiniButton as z } from "./components/instance-form/components/composite-list/styled.js";
7
7
  import O from "./hooks/useToggle.js";
8
- import { GeometryPicker as ee } from "./components/geometry-picker/index.js";
9
- import { PhoneInput as ne } from "./components/phone-input/index.js";
10
- import { DateTimePicker as ae } from "./components/date-time-picker/index.js";
11
- import { T as p } from "./TextField-BjFXx91l.js";
8
+ import { DateTimePicker as ee } from "./components/date-time-picker/index.js";
9
+ import { GeometryPicker as ne } from "./components/geometry-picker/index.js";
10
+ import { PhoneInput as ae } from "./components/phone-input/index.js";
11
+ import { T as S } from "./TextField-CdKnj6de.js";
12
12
  import { F as le } from "./FormControlLabel-BNT5EI0b.js";
13
13
  import { C as te } from "./Checkbox-B0P8LhCl.js";
14
14
  import { F as oe, I as de } from "./InputLabel-ClDXuWBr.js";
15
- import { S as ie } from "./Select-ush_fSWy.js";
15
+ import { S as ie } from "./Select-DuyWoyoF.js";
16
16
  import { M as re } from "./MenuItem-Lcjh1XlV.js";
17
17
  import { B as L } from "./Box-SSMZuKnS.js";
18
- import { useState as S } from "react";
18
+ import { useState as p } from "react";
19
19
  function me({
20
20
  property: i,
21
21
  mapboxAccessToken: e,
@@ -25,36 +25,36 @@ function me({
25
25
  onChange: g
26
26
  }) {
27
27
  var C, V, l;
28
- const d = O(!1), [m, T] = S(), [b, w] = S(!1), x = 10, A = (t) => {
28
+ const o = O(!1), [m, T] = p(), [b, w] = p(!1), x = 10, A = (t) => {
29
29
  T(I.get(t, i.propertyId));
30
30
  }, y = () => {
31
- g([...a || [], m]), T(""), d.action.close();
31
+ g([...a || [], m]), T(""), o.action.close();
32
32
  }, D = (t) => () => {
33
33
  if (a) {
34
- const o = [...a];
35
- o.splice(t, 1), g(o);
34
+ const d = [...a];
35
+ d.splice(t, 1), g(d);
36
36
  }
37
37
  }, k = (t) => {
38
- const { value: o, checked: c } = t.target;
38
+ const { value: d, checked: c } = t.target;
39
39
  let s = I.isArray(a) ? a : [];
40
- c ? s.push(o) : s = s.filter((f) => f !== o), g(s);
40
+ c ? s.push(d) : s = s.filter((f) => f !== d), g(s);
41
41
  };
42
42
  if (((V = (C = i.dataTypeInfo) == null ? void 0 : C.innerType) == null ? void 0 : V.type) === "enum") {
43
43
  const { enumValues: t } = i.dataTypeInfo.innerType;
44
44
  return /* @__PURE__ */ h(M, { children: [
45
- /* @__PURE__ */ h(B, { fullWidth: !0, component: "fieldset", variant: u, children: [
46
- /* @__PURE__ */ n(N, { component: "legend", sx: { mb: 1 }, children: i.name }),
47
- /* @__PURE__ */ n(W, { children: t && t.length > 0 ? t.slice(0, b ? 9999 : x).map((o, c) => /* @__PURE__ */ n(
48
- j,
45
+ /* @__PURE__ */ h(Y, { fullWidth: !0, component: "fieldset", variant: u, children: [
46
+ /* @__PURE__ */ n($, { component: "legend", sx: { mb: 1 }, children: i.name }),
47
+ /* @__PURE__ */ n(v, { children: t && t.length > 0 ? t.slice(0, b ? 9999 : x).map((d, c) => /* @__PURE__ */ n(
48
+ _,
49
49
  {
50
- label: o,
50
+ label: d,
51
51
  control: /* @__PURE__ */ n(
52
- Y,
52
+ E,
53
53
  {
54
54
  name: i.propertyId,
55
- value: o,
55
+ value: d,
56
56
  size: "small",
57
- checked: I.isArray(a) ? a.includes(o) : !1,
57
+ checked: I.isArray(a) ? a.includes(d) : !1,
58
58
  onChange: k
59
59
  }
60
60
  ),
@@ -72,8 +72,8 @@ function me({
72
72
  {
73
73
  size: "small",
74
74
  sx: { p: 0, textTransform: "none" },
75
- endIcon: b ? /* @__PURE__ */ n(Q, {}) : /* @__PURE__ */ n(X, {}),
76
- onClick: () => w((o) => !o),
75
+ endIcon: b ? /* @__PURE__ */ n(B, {}) : /* @__PURE__ */ n(N, {}),
76
+ onClick: () => w((d) => !d),
77
77
  children: [
78
78
  "Show ",
79
79
  b ? "Less" : "More"
@@ -83,40 +83,40 @@ function me({
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ h(M, { children: [
86
- /* @__PURE__ */ h(R, { variant: u, children: [
86
+ /* @__PURE__ */ h(X, { variant: u, children: [
87
87
  /* @__PURE__ */ n(P, { children: i.name }),
88
- /* @__PURE__ */ n(U, { children: I.isArray(a) && a.map((t, o) => {
88
+ /* @__PURE__ */ n(Z, { children: I.isArray(a) && a.map((t, d) => {
89
89
  var c, s;
90
90
  return /* @__PURE__ */ n(
91
- $,
91
+ G,
92
92
  {
93
93
  label: ((s = (c = i.dataTypeInfo) == null ? void 0 : c.innerType) == null ? void 0 : s.type) === "date" ? q(t).format("DD/MM/YYYY HH:mm:ss") : t,
94
94
  size: r,
95
- onDelete: D(o)
95
+ onDelete: D(d)
96
96
  },
97
- o
97
+ d
98
98
  );
99
99
  }) }),
100
100
  /* @__PURE__ */ n(
101
- J,
101
+ z,
102
102
  {
103
- startIcon: /* @__PURE__ */ n(Z, {}),
103
+ startIcon: /* @__PURE__ */ n(W, {}),
104
104
  variant: "text",
105
- onClick: d.action.open,
105
+ onClick: o.action.open,
106
106
  children: "Add"
107
107
  }
108
108
  )
109
109
  ] }),
110
110
  /* @__PURE__ */ h(
111
- v,
111
+ H,
112
112
  {
113
- open: d.state.isOpen,
114
- onClose: d.action.close,
113
+ open: o.state.isOpen,
114
+ onClose: o.action.close,
115
115
  maxWidth: "sm",
116
116
  fullWidth: !0,
117
117
  children: [
118
- /* @__PURE__ */ n(_, { children: "Add List Value" }),
119
- /* @__PURE__ */ n(E, { children: (l = i.dataTypeInfo) != null && l.innerType ? /* @__PURE__ */ n(
118
+ /* @__PURE__ */ n(K, { children: "Add List Value" }),
119
+ /* @__PURE__ */ n(R, { children: (l = i.dataTypeInfo) != null && l.innerType ? /* @__PURE__ */ n(
120
120
  ce,
121
121
  {
122
122
  mapboxAccessToken: e,
@@ -129,13 +129,13 @@ function me({
129
129
  onChange: A
130
130
  }
131
131
  ) : null }),
132
- /* @__PURE__ */ h(G, { children: [
132
+ /* @__PURE__ */ h(U, { children: [
133
133
  /* @__PURE__ */ n(
134
134
  F,
135
135
  {
136
136
  variant: "contained",
137
137
  color: "inherit",
138
- onClick: d.action.close,
138
+ onClick: o.action.close,
139
139
  children: "Cancel"
140
140
  }
141
141
  ),
@@ -153,21 +153,21 @@ function ce({
153
153
  variant: u = "standard",
154
154
  size: r = "medium",
155
155
  defaultExtent: g,
156
- fieldOptions: d,
156
+ fieldOptions: o,
157
157
  // keyAuth,
158
158
  onChange: m
159
159
  }) {
160
160
  var k, C, V;
161
161
  const T = (l) => {
162
- const o = l.target.value.split(",").map((c) => c.trimStart());
162
+ const d = l.target.value.split(",").map((c) => c.trimStart());
163
163
  m({
164
- [e.propertyId]: o
164
+ [e.propertyId]: d
165
165
  });
166
166
  }, b = (l) => {
167
- const { name: t, type: o, checked: c, value: s } = l.target;
167
+ const { name: t, type: d, checked: c, value: s } = l.target;
168
168
  let f = s;
169
169
  e.type === "double" && (f = f.replace(",", "."), f = f.replace(/[^\d.-]+/g, "")), m({
170
- [t]: o === "checkbox" ? c : f
170
+ [t]: d === "checkbox" ? c : f
171
171
  });
172
172
  }, w = (l) => {
173
173
  m({
@@ -190,6 +190,8 @@ function ce({
190
190
  [l]: t
191
191
  });
192
192
  };
193
+ if (o && o[e.propertyId] && o[e.propertyId].component)
194
+ return o[e.propertyId].component;
193
195
  if ([
194
196
  "string",
195
197
  "integer",
@@ -200,7 +202,7 @@ function ce({
200
202
  "bank-account"
201
203
  ].includes(e.type))
202
204
  return /* @__PURE__ */ n(
203
- p,
205
+ S,
204
206
  {
205
207
  label: e.name,
206
208
  name: e.propertyId,
@@ -215,11 +217,11 @@ function ce({
215
217
  fullWidth: !0,
216
218
  InputProps: {
217
219
  size: r,
218
- ...d && d[e.propertyId] && {
219
- tabIndex: d[e.propertyId].order
220
+ ...o && o[e.propertyId] && {
221
+ tabIndex: o[e.propertyId].order
220
222
  },
221
223
  ...e.privacyPreservationMethod === "ENCRYPTION" ? {
222
- endAdornment: /* @__PURE__ */ n(H, { position: "end", children: /* @__PURE__ */ n(K, { title: "Encrypted Field", children: /* @__PURE__ */ n(z, {}) }) })
224
+ endAdornment: /* @__PURE__ */ n(J, { position: "end", children: /* @__PURE__ */ n(Q, { title: "Encrypted Field", children: /* @__PURE__ */ n(j, {}) }) })
223
225
  } : {}
224
226
  }
225
227
  }
@@ -227,7 +229,7 @@ function ce({
227
229
  if (e.type === "date") {
228
230
  const l = a !== void 0 ? q(a).format() : a;
229
231
  return /* @__PURE__ */ n(
230
- ae,
232
+ ee,
231
233
  {
232
234
  label: e.name,
233
235
  value: l,
@@ -235,8 +237,8 @@ function ce({
235
237
  size: r,
236
238
  name: e.propertyId,
237
239
  onChange: w,
238
- ...d && d[e.propertyId] && {
239
- minDate: d[e.propertyId].minDate
240
+ ...o && o[e.propertyId] && {
241
+ minDate: o[e.propertyId].minDate
240
242
  }
241
243
  }
242
244
  );
@@ -244,7 +246,7 @@ function ce({
244
246
  if (e.type === "list") {
245
247
  let l = "";
246
248
  return e.defaultValue && (l = I.isArray(e.defaultValue) ? a.join(", ") : e.defaultValue), a && (l = I.isArray(a) ? a.join(",") : a), /* @__PURE__ */ n(
247
- p,
249
+ S,
248
250
  {
249
251
  label: e.name,
250
252
  name: e.propertyId,
@@ -258,8 +260,8 @@ function ce({
258
260
  InputProps: {
259
261
  size: r,
260
262
  placeholder: r === "small" ? "Add list values with the comma (,) separated string" : "",
261
- ...d && d[e.propertyId] && {
262
- tabIndex: d[e.propertyId].order
263
+ ...o && o[e.propertyId] && {
264
+ tabIndex: o[e.propertyId].order
263
265
  }
264
266
  }
265
267
  }
@@ -302,11 +304,11 @@ function ce({
302
304
  value: a ?? "",
303
305
  onChange: x,
304
306
  inputProps: {
305
- ...d && d[e.propertyId] && {
306
- tabIndex: d[e.propertyId].order
307
+ ...o && o[e.propertyId] && {
308
+ tabIndex: o[e.propertyId].order
307
309
  }
308
310
  },
309
- children: l.map((t, o) => /* @__PURE__ */ n(re, { value: t, children: t }, o))
311
+ children: l.map((t, d) => /* @__PURE__ */ n(re, { value: t, children: t }, d))
310
312
  }
311
313
  )
312
314
  ]
@@ -314,7 +316,7 @@ function ce({
314
316
  );
315
317
  }
316
318
  return e.type === "geometry" ? /* @__PURE__ */ n(L, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
317
- ee,
319
+ ne,
318
320
  {
319
321
  mapboxAccessToken: i,
320
322
  label: e.name,
@@ -324,7 +326,7 @@ function ce({
324
326
  onChange: A(e.propertyId)
325
327
  }
326
328
  ) }) : e.type === "phone-number" ? /* @__PURE__ */ n(L, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
327
- ne,
329
+ ae,
328
330
  {
329
331
  label: e.name,
330
332
  placeholder: "Enter phone number",
package/dist/main.d.ts CHANGED
@@ -209,6 +209,17 @@ declare interface DisseminationListProps {
209
209
  onChange(value: string[]): void;
210
210
  }
211
211
 
212
+ export declare const DocumentViewer: FC<DocumentViewerProps>;
213
+
214
+ declare interface DocumentViewerProps {
215
+ data: string; // Base64
216
+ logo: default_2.ReactNode;
217
+ title: string;
218
+ rightPanel?: default_2.ReactNode;
219
+ rightPanelWidth?: number;
220
+ onBookmark(): void;
221
+ }
222
+
212
223
  declare function encrypt(encryptionKey: any, data: any): Promise<{
213
224
  status: string;
214
225
  data: string;
@@ -229,6 +240,7 @@ declare interface FieldOptions {
229
240
  disabled?: boolean;
230
241
  minDate?: Dayjs;
231
242
  helperText?: React.ReactNode;
243
+ component?: React.ReactNode;
232
244
  [key: string]: string | number | object | boolean;
233
245
  }
234
246
 
package/dist/main.js CHANGED
@@ -5,35 +5,36 @@ import { CardAlternate as $t } from "./components/card-alternate/index.js";
5
5
  import { CollapsibleCard as Et } from "./components/collapsible-card/index.js";
6
6
  import { ConditionalWrapper as zt } from "./components/conditional-wrapper/index.js";
7
7
  import { Container as Nt } from "./components/container/index.js";
8
- import { ContextMenu as _t } from "./components/context-menu/index.js";
8
+ import { ContextMenu as Vt } from "./components/context-menu/index.js";
9
9
  import { DateTimePicker as qt } from "./components/date-time-picker/index.js";
10
- import { DisseminationList as Kt } from "./components/data-security-selectors/dissemination-list/index.js";
11
- import { GeometryPicker as Rt } from "./components/geometry-picker/index.js";
12
- import { IconButton as te } from "./components/icon-button/index.js";
13
- import { InstanceForm as re } from "./components/instance-form/index.js";
14
- import { InstanceHierarchyTable as ne } from "./components/instance-hierarchy-table/index.js";
15
- import { InstanceTable as ae } from "./components/instance-table/index.js";
16
- import { KeyProtectionMenu as he } from "./components/key-protection/menu.js";
17
- import { LinearIndicator as ue } from "./components/linear-indicator/index.js";
18
- import { Loading as fe } from "./components/loading/index.js";
19
- import { LocalizationProvider as le } from "@mui/x-date-pickers";
20
- import { PhoneInput as ye } from "./components/phone-input/index.js";
21
- import { SearchInput as De } from "./components/search-input/index.js";
22
- import { SecurityLevel as ge } from "./components/data-security-selectors/security-level/index.js";
23
- import { TemplateForm as Te } from "./components/template-form/index.js";
24
- import { TemplateFilters as we } from "./components/template-filters/index.js";
25
- import { TemplatePropertyFilters as ve } from "./components/template-property-filters/index.js";
26
- import { Property as Se } from "./components/template-property-filters/property.js";
27
- import { TreeSelect as be } from "./components/tree-select/index.js";
28
- import { TreeViewFilter as Fe } from "./components/treeview-filter/index.js";
29
- import { S as Ie } from "./utils-Bq0ye5vf.js";
30
- import { i as je } from "./index-DlnzUkwe.js";
31
- import { b as $e } from "./helpers-DaCoWmi2.js";
32
- import { ThemeProvider as Ee, createTheme as Ue } from "@mui/material";
10
+ import { DocumentViewer as Kt } from "./components/document-viewer/index.js";
11
+ import { DisseminationList as Rt } from "./components/data-security-selectors/dissemination-list/index.js";
12
+ import { GeometryPicker as te } from "./components/geometry-picker/index.js";
13
+ import { IconButton as re } from "./components/icon-button/index.js";
14
+ import { InstanceForm as ne } from "./components/instance-form/index.js";
15
+ import { InstanceHierarchyTable as ae } from "./components/instance-hierarchy-table/index.js";
16
+ import { InstanceTable as he } from "./components/instance-table/index.js";
17
+ import { KeyProtectionMenu as ue } from "./components/key-protection/menu.js";
18
+ import { LinearIndicator as fe } from "./components/linear-indicator/index.js";
19
+ import { Loading as le } from "./components/loading/index.js";
20
+ import { LocalizationProvider as ye } from "@mui/x-date-pickers";
21
+ import { PhoneInput as De } from "./components/phone-input/index.js";
22
+ import { SearchInput as ge } from "./components/search-input/index.js";
23
+ import { SecurityLevel as Te } from "./components/data-security-selectors/security-level/index.js";
24
+ import { TemplateForm as we } from "./components/template-form/index.js";
25
+ import { TemplateFilters as ve } from "./components/template-filters/index.js";
26
+ import { TemplatePropertyFilters as Se } from "./components/template-property-filters/index.js";
27
+ import { Property as be } from "./components/template-property-filters/property.js";
28
+ import { TreeSelect as Fe } from "./components/tree-select/index.js";
29
+ import { TreeViewFilter as Ie } from "./components/treeview-filter/index.js";
30
+ import { S as je } from "./utils-Bq0ye5vf.js";
31
+ import { i as $e } from "./index-DlnzUkwe.js";
32
+ import { b as Ee } from "./helpers-DaCoWmi2.js";
33
+ import { ThemeProvider as ze, createTheme as Ze } from "@mui/material";
33
34
  import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
34
35
  import I from "dayjs";
35
36
  import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
36
- import { b as ut } from "./index-CAaDu0NI.js";
37
+ import { b as ut } from "./index-CNMnXD0q.js";
37
38
  var tt = { exports: {} };
38
39
  (function(l, D) {
39
40
  (function(f, c) {
@@ -158,10 +159,10 @@ var et = { exports: {} };
158
159
  w && (y = T[2]), n = this.$locale(), !S && y && (n = d.Ls[y]), this.$d = function(j, B, b, P) {
159
160
  try {
160
161
  if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * j);
161
- var m = F(B)(j), N = m.year, $ = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, R = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), _ = nt || (N || $ ? 1 : J.getDate()), V = N || J.getFullYear(), W = 0;
162
+ var m = F(B)(j), N = m.year, $ = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, R = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), V = nt || (N || $ ? 1 : J.getDate()), _ = N || J.getFullYear(), W = 0;
162
163
  N && !$ || (W = $ > 0 ? $ - 1 : J.getMonth());
163
164
  var E, q = ot || 0, G = at || 0, K = it || 0, Q = ht || 0;
164
- return R ? new Date(Date.UTC(V, W, _, q, G, K, Q + 60 * R.offset * 1e3)) : b ? new Date(Date.UTC(V, W, _, q, G, K, Q)) : (E = new Date(V, W, _, q, G, K, Q), X && (E = P(E).week(X).toDate()), E);
165
+ return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : b ? new Date(Date.UTC(_, W, V, q, G, K, Q)) : (E = new Date(_, W, V, q, G, K, Q), X && (E = P(E).week(X).toDate()), E);
165
166
  } catch {
166
167
  return /* @__PURE__ */ new Date("");
167
168
  }
@@ -386,38 +387,39 @@ class St {
386
387
  }
387
388
  export {
388
389
  Ht as Access,
389
- $e as AccessUtils,
390
+ Ee as AccessUtils,
390
391
  St as AdapterDayjs,
391
392
  jt as Card,
392
393
  $t as CardAlternate,
393
394
  Et as CollapsibleCard,
394
395
  zt as ConditionalWrapper,
395
396
  Nt as Container,
396
- _t as ContextMenu,
397
+ Vt as ContextMenu,
397
398
  qt as DateTimePicker,
398
- Kt as DisseminationList,
399
- Rt as GeometryPicker,
400
- te as IconButton,
401
- re as InstanceForm,
402
- ne as InstanceHierarchyTable,
403
- ae as InstanceTable,
404
- Ie as KeyProductionUtils,
405
- he as KeyProtectionMenu,
406
- ue as LinearIndicator,
407
- fe as Loading,
408
- le as LocalizationProvider,
409
- je as Map,
410
- ye as PhoneInput,
411
- Se as PropertyFilterInput,
412
- De as SearchInput,
413
- ge as SecurityLevel,
414
- we as TemplateFilters,
415
- Te as TemplateForm,
416
- ve as TemplatePropertyFilters,
417
- Ee as ThemeProvider,
418
- be as TreeSelect,
419
- Fe as TreeViewFilter,
399
+ Rt as DisseminationList,
400
+ Kt as DocumentViewer,
401
+ te as GeometryPicker,
402
+ re as IconButton,
403
+ ne as InstanceForm,
404
+ ae as InstanceHierarchyTable,
405
+ he as InstanceTable,
406
+ je as KeyProductionUtils,
407
+ ue as KeyProtectionMenu,
408
+ fe as LinearIndicator,
409
+ le as Loading,
410
+ ye as LocalizationProvider,
411
+ $e as Map,
412
+ De as PhoneInput,
413
+ be as PropertyFilterInput,
414
+ ge as SearchInput,
415
+ Te as SecurityLevel,
416
+ ve as TemplateFilters,
417
+ we as TemplateForm,
418
+ Se as TemplatePropertyFilters,
419
+ ze as ThemeProvider,
420
+ Fe as TreeSelect,
421
+ Ie as TreeViewFilter,
420
422
  Bt as alert,
421
423
  It as confirm,
422
- Ue as createTheme
424
+ Ze as createTheme
423
425
  };