@hybridcore/ui 1.4.36 → 1.4.38

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 (33) hide show
  1. package/dist/{DialogContent-B0_-g7B0.js → DialogContent-CtA2aNum.js} +1 -1
  2. package/dist/{Modal-CJn-Bqyo.js → Modal-DzZo-vlm.js} +1 -0
  3. package/dist/{Select-DwAJxKTN.js → Select-ush_fSWy.js} +1 -1
  4. package/dist/{TextField-BAXUnwnR.js → TextField-BjFXx91l.js} +1 -1
  5. package/dist/components/confirm/dialog.js +2 -2
  6. package/dist/components/confirm/index.js +1 -1
  7. package/dist/components/context-menu/index.js +118 -118
  8. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  9. package/dist/components/instance-form/components/variable/index.js +3 -3
  10. package/dist/components/instance-form/components/variables/index.js +1 -1
  11. package/dist/components/property-mapping/index.js +1 -1
  12. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  13. package/dist/components/range-selector/components/date-range/index.js +1 -1
  14. package/dist/components/range-selector/index.js +1 -1
  15. package/dist/components/template-filters/components/filter/index.js +27 -23
  16. package/dist/components/template-form/components/property-list/index.js +3 -3
  17. package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
  18. package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
  19. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
  20. package/dist/components/template-form/index.js +2 -2
  21. package/dist/components/template-property-filters/property.js +1 -1
  22. package/dist/components/tree-select/index.js +51 -48
  23. package/dist/components/treeview-filter/index.js +55 -591
  24. package/dist/components/treeview-filter/item/index.js +30 -34
  25. package/dist/components/treeview-filter/item/styled.js +14 -13
  26. package/dist/components/treeview-filter/item-label/index.js +1 -1
  27. package/dist/{dialog-DPGR2gik.js → dialog-DrVArHYg.js} +1 -1
  28. package/dist/{index-RfDWDd66.js → index-CAaDu0NI.js} +1979 -2071
  29. package/dist/{index-B_GNCJdV.js → index-D2tF2-ya.js} +2 -2
  30. package/dist/main.d.ts +6 -1
  31. package/dist/main.js +1 -1
  32. package/dist/{property-list-form-DgmTiBvu.js → property-list-form-CLSTkOmv.js} +2 -2
  33. package/package.json +2 -2
@@ -8,12 +8,12 @@ import ee from "./hooks/useToggle.js";
8
8
  import { GeometryPicker as ne } from "./components/geometry-picker/index.js";
9
9
  import { PhoneInput as ae } from "./components/phone-input/index.js";
10
10
  import { DateTimePicker as le } from "./components/date-time-picker/index.js";
11
- import { T as q } from "./TextField-BAXUnwnR.js";
11
+ import { T as q } from "./TextField-BjFXx91l.js";
12
12
  import { B as x } from "./Box-SSMZuKnS.js";
13
13
  import { F as te } from "./FormControlLabel-BNT5EI0b.js";
14
14
  import { C as oe } from "./Checkbox-B0P8LhCl.js";
15
15
  import { F as de, I as ie } from "./InputLabel-ClDXuWBr.js";
16
- import { S as me } from "./Select-DwAJxKTN.js";
16
+ import { S as me } from "./Select-ush_fSWy.js";
17
17
  import { M as re } from "./MenuItem-Lcjh1XlV.js";
18
18
  import { useState as B } from "react";
19
19
  function ce({
package/dist/main.d.ts CHANGED
@@ -585,7 +585,11 @@ declare interface Props_11 {
585
585
  disabled?: string[];
586
586
  disableSearch?: boolean;
587
587
  onChange?(id: string, checked: boolean): void;
588
- onToggle?(event: React.SyntheticEvent, nodeIds: string[]): void;
588
+ onExpansionToggle?(
589
+ event: React.SyntheticEvent,
590
+ itemId: string,
591
+ isExpanded: boolean
592
+ ): void;
589
593
  }
590
594
 
591
595
  declare interface Props_2 {
@@ -815,6 +819,7 @@ declare interface TabItem {
815
819
  label: default_2.ReactNode;
816
820
  templates: Map<string | number, ONTOLOGY.TemplateType>;
817
821
  filters: FV.TemplateFilter[];
822
+ defaultExpanded?: string[];
818
823
  onChange: (filters: FV.TemplateFilter[]) => void;
819
824
  }
820
825
 
package/dist/main.js CHANGED
@@ -31,7 +31,7 @@ import { ThemeProvider as Ie, createTheme as Pe } from "@mui/material";
31
31
  import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
32
32
  import C from "dayjs";
33
33
  import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
34
- import { b as ut } from "./index-RfDWDd66.js";
34
+ import { b as ut } from "./index-CAaDu0NI.js";
35
35
  var tt = { exports: {} };
36
36
  (function(l, D) {
37
37
  (function(f, c) {
@@ -4,9 +4,9 @@ import F from "react";
4
4
  import X from "lodash";
5
5
  import { r as Z, i as ee } from "./createSvgIcon-BXjHHQ0B.js";
6
6
  import { DATA_TYPES as R, COORDINATE_FORMAT as te, PRIVACY_PRESERVATION_METHOD as Y } from "./constants/index.js";
7
- import { T as h } from "./TextField-BAXUnwnR.js";
7
+ import { T as h } from "./TextField-BjFXx91l.js";
8
8
  import { f as re, F as w, I as C } from "./InputLabel-ClDXuWBr.js";
9
- import { S as P } from "./Select-DwAJxKTN.js";
9
+ import { S as P } from "./Select-ush_fSWy.js";
10
10
  import { M as _ } from "./MenuItem-Lcjh1XlV.js";
11
11
  import { a as M, _ as ae } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
12
12
  import { P as n } from "./createTheme-DrgvKMA_.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.4.36",
4
+ "version": "1.4.38",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -28,10 +28,10 @@
28
28
  "@emotion/react": "^11.10.6",
29
29
  "@emotion/styled": "^11.10.6",
30
30
  "@mui/icons-material": "^5.11.11",
31
- "@mui/lab": "5.0.0-alpha.130",
32
31
  "@mui/material": "5.11.13",
33
32
  "@mui/x-data-grid": "6.0.4",
34
33
  "@mui/x-date-pickers": "6.3.0",
34
+ "@mui/x-tree-view": "^7.23.0",
35
35
  "@terraformer/wkt": "^2.2.1",
36
36
  "@turf/turf": "^7.0.0",
37
37
  "dayjs": "^1.11.7",