@hybridcore/ui 1.5.16 → 1.5.18

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.
@@ -9,7 +9,7 @@ import Q, { jsx as r, jsxs as X } from "react/jsx-runtime";
9
9
  import { P as Y } from "./Paper-DRRYGupP.js";
10
10
  import { I as oo } from "./IconButton-DekcZv4i.js";
11
11
  import { T as eo } from "./Typography-CLq43OVQ.js";
12
- import { r as to, i as so } from "./createSvgIcon-BXjHHQ0B.js";
12
+ import { r as to, i as so } from "./createSvgIcon-CsckVnG-.js";
13
13
  function ro(e) {
14
14
  return k("MuiAlert", e);
15
15
  }
@@ -1,4 +1,4 @@
1
- import { r as t, i as a } from "./createSvgIcon-BXjHHQ0B.js";
1
+ import { r as t, i as a } from "./createSvgIcon-CsckVnG-.js";
2
2
  import u from "react/jsx-runtime";
3
3
  var e = {}, l = a;
4
4
  Object.defineProperty(e, "__esModule", {
@@ -1,5 +1,5 @@
1
1
  import i, { jsx as r } from "react/jsx-runtime";
2
- import { r as n, i as s } from "../../createSvgIcon-BXjHHQ0B.js";
2
+ import { r as n, i as s } from "../../createSvgIcon-CsckVnG-.js";
3
3
  import { s as o } from "../../styled-DkqItiLo.js";
4
4
  import { A as d, a as c, b as u } from "../../AccordionDetails-mpRYHtGq.js";
5
5
  var t = {}, p = s;
@@ -0,0 +1,29 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { useMemo as i } from "react";
3
+ import s from "lodash";
4
+ import n from "./variable.js";
5
+ const c = ({
6
+ template: r,
7
+ data: t
8
+ }) => {
9
+ const a = i(() => {
10
+ let e = /* @__PURE__ */ new Map();
11
+ return r.properties.forEach((o) => {
12
+ const p = `${r.type}-${r.templateKey}-${o.propertyId}`;
13
+ e.set(p, o.name);
14
+ }), e;
15
+ }, [r]);
16
+ return s.keys(t.variables).map((e, o) => /* @__PURE__ */ m(
17
+ n,
18
+ {
19
+ type: e,
20
+ data: s.get(t.variables, e),
21
+ propertyNames: a,
22
+ hashPrefix: `${t.template.type}-${t.template.templateKey}-`
23
+ },
24
+ o
25
+ ));
26
+ };
27
+ export {
28
+ c as InstanceVariableList
29
+ };
@@ -0,0 +1,33 @@
1
+ import { styled as a, Box as e, Typography as o } from "@mui/material";
2
+ const i = a(e, {
3
+ name: "SNVariable",
4
+ slot: "root"
5
+ })({
6
+ width: "100%"
7
+ }), r = a(e, {
8
+ name: "SNVariable",
9
+ slot: "row"
10
+ })({
11
+ display: "flex"
12
+ }), n = a(o, {
13
+ name: "SNVariable",
14
+ slot: "title"
15
+ })(({ theme: l }) => ({
16
+ flex: 2,
17
+ lineHeight: 1.43,
18
+ paddingRight: l.spacing(0.5),
19
+ fontSize: 12
20
+ })), s = a(o, {
21
+ name: "SNVariable",
22
+ slot: "value"
23
+ })(() => ({
24
+ flex: 3,
25
+ wordBreak: "break-word",
26
+ fontSize: 12
27
+ }));
28
+ export {
29
+ i as VariableRoot,
30
+ r as VariableRow,
31
+ n as VariableTitle,
32
+ s as VariableValue
33
+ };
@@ -0,0 +1,56 @@
1
+ import { jsx as o, Fragment as g, jsxs as v } from "react/jsx-runtime";
2
+ import { Box as a } from "@mui/material";
3
+ import m from "lodash";
4
+ import x from "dayjs";
5
+ import { VariableRoot as V, VariableRow as Y, VariableTitle as h, VariableValue as d } from "./styled.js";
6
+ const j = [
7
+ "string",
8
+ "boolean",
9
+ "date",
10
+ "byte",
11
+ "double",
12
+ "integer",
13
+ "long",
14
+ "enum",
15
+ "list",
16
+ "text",
17
+ "composite-list"
18
+ ], i = ({ title: r, value: e }) => /* @__PURE__ */ v(Y, { children: [
19
+ /* @__PURE__ */ o(h, { variant: "subtitle2", children: r }),
20
+ /* @__PURE__ */ o(d, { variant: "body2", children: e })
21
+ ] }), s = ({ title: r, value: e }) => /* @__PURE__ */ o(i, { title: r, value: e }), D = ({ title: r, value: e }) => /* @__PURE__ */ o(i, { title: r, value: e ? "Yes" : "No" }), T = ({ title: r, value: e }) => {
22
+ const u = x(e).format("DD/MM/YYYY");
23
+ return /* @__PURE__ */ o(i, { title: r, value: u });
24
+ }, c = ({ title: r, value: e }) => {
25
+ const u = e.join(", ");
26
+ return /* @__PURE__ */ o(i, { title: r, value: u });
27
+ };
28
+ function P({
29
+ type: r,
30
+ data: e,
31
+ filter: u,
32
+ propertyNames: b,
33
+ hashPrefix: f
34
+ }) {
35
+ return r === "geometry" ? /* @__PURE__ */ o(g, {}) : /* @__PURE__ */ o(V, { children: m.keys(e).filter(
36
+ (l) => u === void 0 || u === "" || l.includes(u)
37
+ ).map((l, t) => {
38
+ const n = b.get(f + l);
39
+ return j.includes(r) ? /* @__PURE__ */ v(a, { mb: 1, className: "variable", children: [
40
+ r === "string" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
41
+ r === "boolean" && /* @__PURE__ */ o(D, { title: n, value: e[l] }),
42
+ r === "date" && /* @__PURE__ */ o(T, { title: n, value: e[l] }),
43
+ r === "byte" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
44
+ r === "double" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
45
+ r === "integer" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
46
+ r === "long" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
47
+ r === "enum" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
48
+ r === "list" && /* @__PURE__ */ o(c, { title: n, value: e[l] }),
49
+ r === "text" && /* @__PURE__ */ o(s, { title: n, value: e[l] }),
50
+ r === "composite-list" && /* @__PURE__ */ o(c, { title: n, value: e[l] })
51
+ ] }, t) : /* @__PURE__ */ o(a, {}, t);
52
+ }) });
53
+ }
54
+ export {
55
+ P as default
56
+ };
@@ -1,31 +1,32 @@
1
- import { jsxs as f, Fragment as u, jsx as n } from "react/jsx-runtime";
2
- import P from "react";
1
+ import { jsxs as f, jsx as i } from "react/jsx-runtime";
2
+ import u from "react";
3
3
  import { Badge as s, Tab as T } from "@mui/material";
4
- import v from "./tab-panel.js";
5
- import d from "./appleTabs.style.js";
4
+ import P from "./tab-panel.js";
5
+ import b from "./appleTabs.style.js";
6
+ import { TabsRoot as v } from "./styled.js";
6
7
  import { T as C } from "../../Tabs-DqdkJU6b.js";
7
- function b(i) {
8
+ function d(n) {
8
9
  return {
9
- id: `simple-tab-${i}`,
10
- "aria-controls": `simple-tabpanel-${i}`
10
+ id: `simple-tab-${n}`,
11
+ "aria-controls": `simple-tabpanel-${n}`
11
12
  };
12
13
  }
13
- function z({
14
- defaultActive: i = 0,
15
- tabContents: e,
16
- styleVariant: h,
17
- tabPanelStyle: p,
14
+ const A = ({
15
+ defaultActive: n = 0,
16
+ tabContents: r,
17
+ styleVariant: p,
18
+ tabPanelStyle: h,
18
19
  onChange: t,
19
20
  ...l
20
- }) {
21
- const [g, m] = P.useState(i), r = t !== void 0 ? i : g, c = (o, a) => {
21
+ }) => {
22
+ const [g, m] = u.useState(n), e = t !== void 0 ? n : g, c = (o, a) => {
22
23
  m(a), t && t(a);
23
24
  };
24
- return /* @__PURE__ */ f(u, { children: [
25
- h === "APPLE" ? /* @__PURE__ */ n(d.Tabs, { value: r, onChange: c, ...l, children: e.map((o, a) => /* @__PURE__ */ n(
26
- d.Item,
25
+ return /* @__PURE__ */ f(v, { children: [
26
+ p === "APPLE" ? /* @__PURE__ */ i(b.Tabs, { value: e, onChange: c, ...l, children: r.map((o, a) => /* @__PURE__ */ i(
27
+ b.Item,
27
28
  {
28
- label: /* @__PURE__ */ n(
29
+ label: /* @__PURE__ */ i(
29
30
  s,
30
31
  {
31
32
  badgeContent: o.badgeContent,
@@ -44,13 +45,13 @@ function z({
44
45
  ),
45
46
  icon: o.icon,
46
47
  iconPosition: o.iconPosition,
47
- ...b(a)
48
+ ...d(a)
48
49
  },
49
50
  a
50
- )) }) : /* @__PURE__ */ n(C, { value: r, onChange: c, ...l, children: e.map((o, a) => /* @__PURE__ */ n(
51
+ )) }) : /* @__PURE__ */ i(C, { value: e, onChange: c, ...l, children: r.map((o, a) => /* @__PURE__ */ i(
51
52
  T,
52
53
  {
53
- label: /* @__PURE__ */ n(
54
+ label: /* @__PURE__ */ i(
54
55
  s,
55
56
  {
56
57
  badgeContent: o.badgeContent,
@@ -69,25 +70,25 @@ function z({
69
70
  ),
70
71
  icon: o.icon,
71
72
  iconPosition: o.iconPosition,
72
- ...b(a)
73
+ ...d(a)
73
74
  },
74
75
  a
75
76
  )) }),
76
- e.map((o, a) => {
77
+ r.map((o, a) => {
77
78
  if (o.content)
78
- return /* @__PURE__ */ n(
79
- v,
79
+ return /* @__PURE__ */ i(
80
+ P,
80
81
  {
81
- value: r,
82
+ value: e,
82
83
  index: a,
83
- style: p,
84
+ style: h,
84
85
  children: o.content
85
86
  },
86
87
  a
87
88
  );
88
89
  })
89
90
  ] });
90
- }
91
+ };
91
92
  export {
92
- z as default
93
+ A as Tabs
93
94
  };
@@ -0,0 +1,12 @@
1
+ import { styled as o, Box as t } from "@mui/material";
2
+ const r = o(t, {
3
+ name: "SNTabs",
4
+ // The component name
5
+ slot: "root"
6
+ // The slot name
7
+ })(() => ({
8
+ width: "100%"
9
+ }));
10
+ export {
11
+ r as TabsRoot
12
+ };
@@ -1,8 +1,8 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as d } from "@mui/x-data-grid";
3
- import { A as n, a as m, d as s } from "../../../../Add-BKnWHZ7A.js";
3
+ import { A as n, a as m, d as s } from "../../../../Add-Cjs72ewI.js";
4
4
  import p from "./property-list-columns.js";
5
- import { a as c } from "../../../../property-list-form-DALcsCp5.js";
5
+ import { a as c } from "../../../../property-list-form-D77cAJ24.js";
6
6
  import u from "./property-list-logic.js";
7
7
  import { B as f } from "../../../../Box-SSMZuKnS.js";
8
8
  import { T as y } from "../../../../Typography-CLq43OVQ.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
2
- import { d as u, a as b } from "../../../../Delete-DfyX03ib.js";
2
+ import { d as u, a as b } from "../../../../Delete-6rKk6pCT.js";
3
3
  import { T as l } from "../../../../Typography-CLq43OVQ.js";
4
4
  import { I as p } from "../../../../IconButton-DekcZv4i.js";
5
5
  const y = (o) => [
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "lodash";
4
- import { a as b } from "../../../../property-list-form-DALcsCp5.js";
4
+ import { a as b } from "../../../../property-list-form-D77cAJ24.js";
5
5
  import "../../../../constants/index.js";
6
6
  import "../../../../TextField-CdKnj6de.js";
7
7
  import "../../../../InputLabel-ClDXuWBr.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as a } from "@mui/x-data-grid";
3
- import { A as n, a as d, d as s } from "../../../../Add-BKnWHZ7A.js";
3
+ import { A as n, a as d, d as s } from "../../../../Add-Cjs72ewI.js";
4
4
  import m from "./recognition-property-list-columns.js";
5
5
  import c from "./recognition-property-list-form.js";
6
6
  import p from "./recognition-property-list-logic.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
2
- import { d as o, a as l } from "../../../../Delete-DfyX03ib.js";
2
+ import { d as o, a as l } from "../../../../Delete-6rKk6pCT.js";
3
3
  import { I as d } from "../../../../IconButton-DekcZv4i.js";
4
4
  const h = (r) => [
5
5
  { field: "ownerType", headerName: "Owner Type", width: 120 },
@@ -1,6 +1,6 @@
1
1
  import V, { jsxs as i, Fragment as S, jsx as t } from "react/jsx-runtime";
2
2
  import o from "react";
3
- import { r as C, i as g } from "../../../../createSvgIcon-BXjHHQ0B.js";
3
+ import { r as C, i as g } from "../../../../createSvgIcon-CsckVnG-.js";
4
4
  import { RECOGNITION_PROPERTY_OWNER_TYPE as h, RECOGNITION_PROPERTY_TYPE as T, RECOGNITION_PROPERTY_TERM_MATCH as v } from "../../../../constants/index.js";
5
5
  import { F as c, I as u } from "../../../../InputLabel-ClDXuWBr.js";
6
6
  import { S as d } from "../../../../Select-DuyWoyoF.js";
@@ -4,7 +4,7 @@ import { AddPhotoAlternate as I, Delete as W, Search as j, CheckBox as E, CloudU
4
4
  import { IconButton as S, Dialog as N, DialogContent as O, Box as u, TextField as q, InputAdornment as z, Button as d, DialogActions as G } from "@mui/material";
5
5
  import i from "./styled.js";
6
6
  import H from "../../../../hooks/useToggle.js";
7
- import J from "../../../tabs/index.js";
7
+ import { Tabs as J } from "../../../tabs/index.js";
8
8
  function Z({
9
9
  value: s,
10
10
  list: A,
@@ -10,7 +10,7 @@ import { TreeSelect as _ } from "../tree-select/index.js";
10
10
  import { FormLabel as w, Button as b } from "@mui/material";
11
11
  import A from "./components/select-icon/index.js";
12
12
  import { T as m } from "../../TextField-CdKnj6de.js";
13
- import { F as g } from "../../property-list-form-DALcsCp5.js";
13
+ import { F as g } from "../../property-list-form-D77cAJ24.js";
14
14
  import { F as d } from "../../FormControlLabel-BNT5EI0b.js";
15
15
  import { C as c } from "../../Checkbox-B0P8LhCl.js";
16
16
  import { B as p } from "../../Box-SSMZuKnS.js";
@@ -2,11 +2,11 @@ import { c as l, g as p } from "./createTheme-DrgvKMA_.js";
2
2
  import { c as d } from "./createSvgIcon-CBoAEepv.js";
3
3
  import { C as g } from "./createTheme-DVoJnXAT.js";
4
4
  import { c as _, u as v } from "./useId-BHG98T5I.js";
5
- import { r as b, u as h } from "./unsupportedProp-BND8AB6O.js";
6
- import { s as E, u as N, b as C, a as I, c as S } from "./ButtonBase-CgQC8DUB.js";
7
- import { d as x } from "./debounce-46wSf_lW.js";
8
- import { i as y } from "./isMuiElement-CxT3_ACP.js";
9
- import { o as q } from "./ownerDocument-CUrv0DIK.js";
5
+ import { o as b } from "./ownerDocument-CUrv0DIK.js";
6
+ import { r as h, u as E } from "./unsupportedProp-BND8AB6O.js";
7
+ import { s as N, u as C, b as I, a as S, c as x } from "./ButtonBase-CgQC8DUB.js";
8
+ import { d as y } from "./debounce-46wSf_lW.js";
9
+ import { i as q } from "./isMuiElement-CxT3_ACP.js";
10
10
  import { o as $ } from "./ownerWindow-niciwP7I.js";
11
11
  import { u as D } from "./useControlled-BYdyS7Pn.js";
12
12
  function M(e, t) {
@@ -35,21 +35,21 @@ const O = {
35
35
  capitalize: l,
36
36
  createChainedFunction: _,
37
37
  createSvgIcon: d,
38
- debounce: x,
38
+ debounce: y,
39
39
  deprecatedPropType: M,
40
- isMuiElement: y,
41
- ownerDocument: q,
40
+ isMuiElement: q,
41
+ ownerDocument: b,
42
42
  ownerWindow: $,
43
- requirePropFactory: b,
44
- setRef: E,
43
+ requirePropFactory: h,
44
+ setRef: N,
45
45
  unstable_ClassNameGenerator: O,
46
- unstable_useEnhancedEffect: N,
46
+ unstable_useEnhancedEffect: C,
47
47
  unstable_useId: v,
48
- unsupportedProp: h,
48
+ unsupportedProp: E,
49
49
  useControlled: D,
50
- useEventCallback: C,
51
- useForkRef: I,
52
- useIsFocusVisible: S
50
+ useEventCallback: I,
51
+ useForkRef: S,
52
+ useIsFocusVisible: x
53
53
  }, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ p(P);
54
54
  var s;
55
55
  function B() {
package/dist/main.d.ts CHANGED
@@ -23,6 +23,7 @@ import { ReactNode } from 'react';
23
23
  import { Size } from 'ol/size';
24
24
  import { SxProps } from '@mui/material';
25
25
  import { SxProps as SxProps_2 } from '@mui/material/styles';
26
+ import { TabsProps as TabsProps_2 } from '@mui/material';
26
27
  import { Theme } from '@mui/material/styles';
27
28
  import { ThemeOptions } from '@mui/material';
28
29
  import { ThemeProvider } from '@mui/material';
@@ -852,6 +853,15 @@ declare interface SubmitButton_2 {
852
853
  onClick?(): void;
853
854
  }
854
855
 
856
+ declare interface TabContent {
857
+ label: string;
858
+ content?: React.ReactNode;
859
+ badgeContent?: string | number;
860
+ badgeColor?: "error" | "primary";
861
+ icon?: React.ReactElement;
862
+ iconPosition?: "bottom" | "top" | "start" | "end";
863
+ }
864
+
855
865
  declare interface TabItem {
856
866
  label: default_2.ReactNode;
857
867
  templates: Map<string | number, ONTOLOGY.TemplateType>;
@@ -860,6 +870,16 @@ declare interface TabItem {
860
870
  onChange: (filters: FV.TemplateFilter[]) => void;
861
871
  }
862
872
 
873
+ export declare const Tabs: FC<TabsProps>;
874
+
875
+ export declare interface TabsProps extends TabsProps_2 {
876
+ defaultActive?: number;
877
+ tabContents: TabContent[];
878
+ styleVariant?: "DEFAULT" | "APPLE";
879
+ tabPanelStyle?: React.CSSProperties;
880
+ onChange?(value: any): void;
881
+ }
882
+
863
883
  declare interface TemplateFilterProps {
864
884
  tabs: TabItem[];
865
885
  }
@@ -1484,6 +1504,12 @@ declare namespace INSTANCE {
1484
1504
  interface UpdateTextAnnotationDTO extends CreateTextAnnotationDTO {
1485
1505
  id: number;
1486
1506
  }
1507
+
1508
+ type InstanceType =
1509
+ | INSTANCE.Object
1510
+ | INSTANCE.Event
1511
+ | INSTANCE.File
1512
+ | INSTANCE.Agent;
1487
1513
  }
1488
1514
 
1489
1515
  declare namespace ONTOLOGY {
package/dist/main.js CHANGED
@@ -21,16 +21,17 @@ import { LocalizationProvider as ye } from "@mui/x-date-pickers";
21
21
  import { PhoneInput as De } from "./components/phone-input/index.js";
22
22
  import { SearchInput as ge } from "./components/search-input/index.js";
23
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";
24
+ import { Tabs as we } from "./components/tabs/index.js";
25
+ import { TemplateForm as ve } from "./components/template-form/index.js";
26
+ import { TemplateFilters as Se } from "./components/template-filters/index.js";
27
+ import { TemplatePropertyFilters as Ae } from "./components/template-property-filters/index.js";
28
+ import { Property as Fe } from "./components/template-property-filters/property.js";
29
+ import { TreeSelect as Ie } from "./components/tree-select/index.js";
30
+ import { TreeViewFilter as je } from "./components/treeview-filter/index.js";
31
+ import { S as $e } from "./utils-Bq0ye5vf.js";
32
+ import { i as Ee } from "./index-DlnzUkwe.js";
33
+ import { b as ze } from "./helpers-DaCoWmi2.js";
34
+ import { ThemeProvider as Ne, createTheme as Je } from "@mui/material";
34
35
  import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
35
36
  import I from "dayjs";
36
37
  import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
@@ -122,8 +123,8 @@ var et = { exports: {} };
122
123
  h = r, d = n && n.formats;
123
124
  for (var u = (r = h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, w, M) {
124
125
  var y = M && M.toUpperCase();
125
- return w || d[M] || f[M] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v, A) {
126
- return v || A.slice(1);
126
+ return w || d[M] || f[M] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v, b) {
127
+ return v || b.slice(1);
127
128
  });
128
129
  })).match(c), g = u.length, Y = 0; Y < g; Y += 1) {
129
130
  var C = u[Y], O = Z[C], T = O && O[0], L = O && O[1];
@@ -134,15 +135,15 @@ var et = { exports: {} };
134
135
  var k = u[M];
135
136
  if (typeof k == "string") y += k.length;
136
137
  else {
137
- var v = k.regex, A = k.parser, j = S.slice(y), B = v.exec(j)[0];
138
- A.call(w, B), S = S.replace(B, "");
138
+ var v = k.regex, b = k.parser, j = S.slice(y), B = v.exec(j)[0];
139
+ b.call(w, B), S = S.replace(B, "");
139
140
  }
140
141
  }
141
- return function(b) {
142
- var P = b.afternoon;
142
+ return function(A) {
143
+ var P = A.afternoon;
143
144
  if (P !== void 0) {
144
- var m = b.hours;
145
- P ? m < 12 && (b.hours += 12) : m === 12 && (b.hours = 0), delete b.afternoon;
145
+ var m = A.hours;
146
+ P ? m < 12 && (A.hours += 12) : m === 12 && (A.hours = 0), delete A.afternoon;
146
147
  }
147
148
  }(w), w;
148
149
  };
@@ -156,22 +157,22 @@ var et = { exports: {} };
156
157
  var L = T[1];
157
158
  if (typeof L == "string") {
158
159
  var S = T[2] === !0, w = T[3] === !0, M = S || w, y = T[2];
159
- w && (y = T[2]), n = this.$locale(), !S && y && (n = d.Ls[y]), this.$d = function(j, B, b, P) {
160
+ w && (y = T[2]), n = this.$locale(), !S && y && (n = d.Ls[y]), this.$d = function(j, B, A, P) {
160
161
  try {
161
162
  if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * j);
162
163
  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;
163
164
  N && !$ || (W = $ > 0 ? $ - 1 : J.getMonth());
164
165
  var E, q = ot || 0, G = at || 0, K = it || 0, Q = ht || 0;
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);
166
+ return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : A ? 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);
166
167
  } catch {
167
168
  return /* @__PURE__ */ new Date("");
168
169
  }
169
170
  }(C, L, O, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), M && C != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
170
171
  } else if (L instanceof Array) for (var k = L.length, v = 1; v <= k; v += 1) {
171
172
  T[1] = L[v - 1];
172
- var A = d.apply(this, T);
173
- if (A.isValid()) {
174
- this.$d = A.$d, this.$L = A.$L, this.init();
173
+ var b = d.apply(this, T);
174
+ if (b.isValid()) {
175
+ this.$d = b.$d, this.$L = b.$L, this.init();
175
176
  break;
176
177
  }
177
178
  v === k && (this.$d = /* @__PURE__ */ new Date(""));
@@ -387,7 +388,7 @@ class St {
387
388
  }
388
389
  export {
389
390
  Ht as Access,
390
- Ee as AccessUtils,
391
+ ze as AccessUtils,
391
392
  St as AdapterDayjs,
392
393
  jt as Card,
393
394
  $t as CardAlternate,
@@ -403,23 +404,24 @@ export {
403
404
  ne as InstanceForm,
404
405
  ae as InstanceHierarchyTable,
405
406
  he as InstanceTable,
406
- je as KeyProductionUtils,
407
+ $e as KeyProductionUtils,
407
408
  ue as KeyProtectionMenu,
408
409
  fe as LinearIndicator,
409
410
  le as Loading,
410
411
  ye as LocalizationProvider,
411
- $e as Map,
412
+ Ee as Map,
412
413
  De as PhoneInput,
413
- be as PropertyFilterInput,
414
+ Fe as PropertyFilterInput,
414
415
  ge as SearchInput,
415
416
  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,
417
+ we as Tabs,
418
+ Se as TemplateFilters,
419
+ ve as TemplateForm,
420
+ Ae as TemplatePropertyFilters,
421
+ Ne as ThemeProvider,
422
+ Ie as TreeSelect,
423
+ je as TreeViewFilter,
422
424
  Bt as alert,
423
425
  It as confirm,
424
- Ze as createTheme
426
+ Je as createTheme
425
427
  };
@@ -2,7 +2,7 @@ import H, { jsx as t, jsxs as m, Fragment as K } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
3
  import I from "react";
4
4
  import Q from "lodash";
5
- import { r as X, i as Z } from "./createSvgIcon-BXjHHQ0B.js";
5
+ import { r as X, i as Z } from "./createSvgIcon-CsckVnG-.js";
6
6
  import { DATA_TYPES as R, COORDINATE_FORMAT as ee, PRIVACY_PRESERVATION_METHOD as L } from "./constants/index.js";
7
7
  import { T as w } from "./TextField-CdKnj6de.js";
8
8
  import { f as te, F as C, I as F } from "./InputLabel-ClDXuWBr.js";
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.16",
4
+ "version": "1.5.18",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",