@dexteel/mesf-core 5.9.0 → 5.9.1

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,3 +1,3 @@
1
1
  {
2
- ".": "5.9.0"
2
+ ".": "5.9.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # Changelog
2
+
3
+ ## [5.9.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.9.0...@dexteel/mesf-core-v5.9.1) (2025-08-29)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **TreePickerControlV2:** add search functionality with allowSearch prop ([#437](https://github.com/dexteel/mesf-core-frontend/issues/437)) ([a8a9fd6](https://github.com/dexteel/mesf-core-frontend/commit/a8a9fd6dc97a916f4a32a7116bde47e769bc11aa))
9
+
10
+ ## [5.9.0] - 2025-08-29
11
+
12
+
13
+
1
14
  # Changelog
2
15
 
3
16
  ## [5.9.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.8.0...@dexteel/mesf-core-v5.9.0) (2025-08-29)
@@ -8,6 +8,7 @@ type TreePickerControlProps = {
8
8
  showClearButton?: boolean;
9
9
  showFullPath?: boolean;
10
10
  disabled?: boolean;
11
+ allowSearch?: boolean;
11
12
  dataSource: TreeNode;
12
13
  mostUsedCount?: number | null;
13
14
  itemsWithParent?: String[];
package/dist/index.esm.js CHANGED
@@ -927,8 +927,8 @@ function getNodePath(node, nodeId, parentPath, isRoot) {
927
927
  }
928
928
  var TreePickerControlV2 = function (props) {
929
929
  var classes = useStyles$H();
930
- var value = props.value, onSelect = props.onSelect; props.styleLabel; var dataSource = props.dataSource; props.getOptionName; var _a = props.inputTitle, inputTitle = _a === void 0 ? "Asset" : _a; props.showPath; var _c = props.multipleSelectNodes, multipleSelectNodes = _c === void 0 ? false : _c, _d = props.showClearButton, showClearButton = _d === void 0 ? false : _d, _e = props.showFullPath, showFullPath = _e === void 0 ? false : _e, showAssetTree = props.showAssetTree, onHide = props.onHide, _f = props.listAssetDrawings, listAssetDrawings = _f === void 0 ? [] : _f, onSuccess = props.onSuccess, isLoading = props.isLoading, _g = props.disabled, disabled = _g === void 0 ? false : _g, _h = props.mostUsedCount, mostUsedCount = _h === void 0 ? 0 : _h, _j = props.itemsWithParent, itemsWithParent = _j === void 0 ? [] : _j, _k = props.dialogMaxWidth, dialogMaxWidth = _k === void 0 ? "sm" : _k, other = __rest(props, ["value", "onSelect", "styleLabel", "dataSource", "getOptionName", "inputTitle", "showPath", "multipleSelectNodes", "showClearButton", "showFullPath", "showAssetTree", "onHide", "listAssetDrawings", "onSuccess", "isLoading", "disabled", "mostUsedCount", "itemsWithParent", "dialogMaxWidth"]);
931
- var _l = useState(false), open = _l[0], setOpen = _l[1];
930
+ var value = props.value, onSelect = props.onSelect; props.styleLabel; var dataSource = props.dataSource; props.getOptionName; var _a = props.inputTitle, inputTitle = _a === void 0 ? "Asset" : _a; props.showPath; var _c = props.multipleSelectNodes, multipleSelectNodes = _c === void 0 ? false : _c, _d = props.showClearButton, showClearButton = _d === void 0 ? false : _d, _e = props.showFullPath, showFullPath = _e === void 0 ? false : _e, showAssetTree = props.showAssetTree, onHide = props.onHide, _f = props.listAssetDrawings, listAssetDrawings = _f === void 0 ? [] : _f, onSuccess = props.onSuccess, isLoading = props.isLoading, _g = props.disabled, disabled = _g === void 0 ? false : _g, _h = props.mostUsedCount, mostUsedCount = _h === void 0 ? 0 : _h, _j = props.itemsWithParent, itemsWithParent = _j === void 0 ? [] : _j, _k = props.dialogMaxWidth, dialogMaxWidth = _k === void 0 ? "sm" : _k, _l = props.allowSearch, allowSearch = _l === void 0 ? false : _l, other = __rest(props, ["value", "onSelect", "styleLabel", "dataSource", "getOptionName", "inputTitle", "showPath", "multipleSelectNodes", "showClearButton", "showFullPath", "showAssetTree", "onHide", "listAssetDrawings", "onSuccess", "isLoading", "disabled", "mostUsedCount", "itemsWithParent", "dialogMaxWidth", "allowSearch"]);
931
+ var _m = useState(false), open = _m[0], setOpen = _m[1];
932
932
  var handleClickListItem = function (event) {
933
933
  event.stopPropagation();
934
934
  if (disabled)
@@ -980,7 +980,7 @@ var TreePickerControlV2 = function (props) {
980
980
  React__default.createElement(Grid, { item: true, xs: 12, md: 12 },
981
981
  React__default.createElement(ModalTreeFilterControl, __assign({ classes: {
982
982
  paper: classes.paper,
983
- }, onHide: onHide, id: "modal-treeview-filter", title: props.title, keepMounted: true, open: open, onClose: handleClose, isLoading: isLoading, value: value, data: dataSource, onBackdropClick: function () { return setOpen(false); }, multipleSelectNodes: multipleSelectNodes, listAssetDrawings: listAssetDrawings, setListAssetDrawings: listAssetDrawings, onSuccess: onSuccess, mostUsedCount: mostUsedCount, itemsWithParent: itemsWithParent, dialogMaxWidth: dialogMaxWidth }, other)))));
983
+ }, onHide: onHide, id: "modal-treeview-filter", title: props.title, keepMounted: true, open: open, onClose: handleClose, isLoading: isLoading, value: value, data: dataSource, onBackdropClick: function () { return setOpen(false); }, multipleSelectNodes: multipleSelectNodes, listAssetDrawings: listAssetDrawings, setListAssetDrawings: listAssetDrawings, onSuccess: onSuccess, mostUsedCount: mostUsedCount, itemsWithParent: itemsWithParent, dialogMaxWidth: dialogMaxWidth, allowSearch: allowSearch }, other)))));
984
984
  };
985
985
 
986
986
  var SimplePasswordControl = /** @class */ (function (_super) {