treege 1.0.5 → 1.0.7

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.
@@ -0,0 +1,3 @@
1
+ import { default as getUUID } from './uuid/getUUID';
2
+ import * as tree from "./tree";
3
+ export { getUUID, tree };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generate a UUID
3
+ */
4
+ declare const getUUID: () => string;
5
+ export default getUUID;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "treege",
3
3
  "description": "Form decision tree generator",
4
4
  "license": "ISC",
5
- "version": "1.0.5",
5
+ "version": "1.0.7",
6
6
  "type": "module",
7
7
  "types": "./dist/main.d.ts",
8
8
  "main": "./dist/main.umd.cjs",
@@ -36,7 +36,7 @@
36
36
  "@codemirror/lang-json": "^6.0.1",
37
37
  "@mui/icons-material": "^5.14.12",
38
38
  "@tanstack/react-query": "^4.36.1",
39
- "@tracktor/design-system": "^1.52.0",
39
+ "@tracktor/design-system": "^2.0.8",
40
40
  "@uiw/codemirror-theme-dracula": "^4.21.19",
41
41
  "@uiw/react-codemirror": "^4.21.19",
42
42
  "axios": "^1.6.8",
@@ -1,4 +0,0 @@
1
- import { default as isUniqueArrayItemWithNewEntry } from './isUniqueArrayItemWithNewEntry/isUniqueArrayItemWithNewEntry';
2
- import { default as isUniqueArrayItem } from './isUniqueArrayItem/isUniqueArrayItem';
3
-
4
- export { isUniqueArrayItem, isUniqueArrayItemWithNewEntry };
@@ -1,6 +0,0 @@
1
- /**
2
- * Check if array items are unique
3
- * @param array
4
- */
5
- declare const isUniqueArrayItem: (array: string[]) => boolean;
6
- export default isUniqueArrayItem;
@@ -1,8 +0,0 @@
1
- /**
2
- * Check if the array item is unique with a new entry
3
- * @param array
4
- * @param entry
5
- * @param excludeEntry
6
- */
7
- declare const isUniqueArrayItemWithNewEntry: (array: string[], entry: string, excludeEntry?: string | false | undefined) => boolean;
8
- export default isUniqueArrayItemWithNewEntry;
@@ -1 +0,0 @@
1
- export * from './removeObjectProperty/removeObjectProperty';
@@ -1,7 +0,0 @@
1
- /**
2
- * Removes a property from an object
3
- * @param obj
4
- * @param propToRemove
5
- */
6
- export declare const removeObjectProperty: (obj: any, propToRemove: string) => Pick<any, string | number | symbol>;
7
- export default removeObjectProperty;