ode-explorer 1.4.2-develop-pedago.202405171443 → 1.4.2-develop.202405211013
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.
- package/dist/index.js +24 -26
- package/dist/version.txt +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -18720,7 +18720,7 @@ async function detectOverflow$1(state, options) {
|
|
|
18720
18720
|
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
18721
18721
|
};
|
|
18722
18722
|
}
|
|
18723
|
-
const flip$
|
|
18723
|
+
const flip$4 = function(options) {
|
|
18724
18724
|
if (options === void 0) {
|
|
18725
18725
|
options = {};
|
|
18726
18726
|
}
|
|
@@ -18852,7 +18852,7 @@ async function convertValueToCoords(state, options) {
|
|
|
18852
18852
|
y: crossAxis * crossAxisMulti
|
|
18853
18853
|
};
|
|
18854
18854
|
}
|
|
18855
|
-
const offset$
|
|
18855
|
+
const offset$4 = function(options) {
|
|
18856
18856
|
if (options === void 0) {
|
|
18857
18857
|
options = 0;
|
|
18858
18858
|
}
|
|
@@ -18882,7 +18882,7 @@ const offset$3 = function(options) {
|
|
|
18882
18882
|
}
|
|
18883
18883
|
};
|
|
18884
18884
|
};
|
|
18885
|
-
const size$
|
|
18885
|
+
const size$2 = function(options) {
|
|
18886
18886
|
if (options === void 0) {
|
|
18887
18887
|
options = {};
|
|
18888
18888
|
}
|
|
@@ -19625,9 +19625,9 @@ function autoUpdate(reference2, floating, update2, options) {
|
|
|
19625
19625
|
}
|
|
19626
19626
|
};
|
|
19627
19627
|
}
|
|
19628
|
-
const offset$
|
|
19629
|
-
const flip$
|
|
19630
|
-
const size = size$
|
|
19628
|
+
const offset$3 = offset$4;
|
|
19629
|
+
const flip$3 = flip$4;
|
|
19630
|
+
const size$1 = size$2;
|
|
19631
19631
|
const computePosition = (reference2, floating, options) => {
|
|
19632
19632
|
const cache = /* @__PURE__ */ new Map();
|
|
19633
19633
|
const mergedOptions = {
|
|
@@ -19858,6 +19858,18 @@ function useFloating$1(options) {
|
|
|
19858
19858
|
floatingStyles
|
|
19859
19859
|
}), [data, update2, refs, elements, floatingStyles]);
|
|
19860
19860
|
}
|
|
19861
|
+
const offset$2 = (options, deps) => ({
|
|
19862
|
+
...offset$3(options),
|
|
19863
|
+
options: [options, deps]
|
|
19864
|
+
});
|
|
19865
|
+
const flip$2 = (options, deps) => ({
|
|
19866
|
+
...flip$3(options),
|
|
19867
|
+
options: [options, deps]
|
|
19868
|
+
});
|
|
19869
|
+
const size = (options, deps) => ({
|
|
19870
|
+
...size$1(options),
|
|
19871
|
+
options: [options, deps]
|
|
19872
|
+
});
|
|
19861
19873
|
var index = typeof document !== "undefined" ? reactExports.useLayoutEffect : reactExports.useEffect;
|
|
19862
19874
|
let serverHandoffComplete = false;
|
|
19863
19875
|
let count = 0;
|
|
@@ -63599,8 +63611,8 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63599
63611
|
onMenuItemKeyDown,
|
|
63600
63612
|
onMenuItemMouseEnter,
|
|
63601
63613
|
onMenuItemClick
|
|
63602
|
-
} = itemProps, handleOnClick = (
|
|
63603
|
-
onClick2 == null || onClick2(
|
|
63614
|
+
} = itemProps, handleOnClick = () => {
|
|
63615
|
+
onClick2 == null || onClick2(), type2 === "action" && onMenuItemClick();
|
|
63604
63616
|
}, id2 = reactExports.useId(), dropdownItem = clsx("dropdown-item", {
|
|
63605
63617
|
focus: isFocused === id2
|
|
63606
63618
|
});
|
|
@@ -64046,8 +64058,7 @@ const TextArea = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
64046
64058
|
className,
|
|
64047
64059
|
...restProps
|
|
64048
64060
|
}, ref2) => {
|
|
64049
|
-
|
|
64050
|
-
const [content, setContent] = reactExports.useState(((_a2 = restProps.defaultValue) == null ? void 0 : _a2.toString()) || ((_b2 = restProps.value) == null ? void 0 : _b2.toString())), {
|
|
64061
|
+
const {
|
|
64051
64062
|
id: id2,
|
|
64052
64063
|
isRequired,
|
|
64053
64064
|
isReadOnly,
|
|
@@ -64064,16 +64075,7 @@ const TextArea = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
64064
64075
|
"form-control-plaintext": isReadOnly,
|
|
64065
64076
|
"no-validation-icon": noValidationIcon
|
|
64066
64077
|
}, className);
|
|
64067
|
-
return /* @__PURE__ */ jsxRuntimeExports.
|
|
64068
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { ref: ref2, id: id2, className: classes2, placeholder, required: isRequired, readOnly: isReadOnly, ...restProps, value: content, onChange: (event) => {
|
|
64069
|
-
setContent(event.target.value);
|
|
64070
|
-
} }),
|
|
64071
|
-
restProps.maxLength && content && /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "small text-gray-700 p-2 text-end", children: [
|
|
64072
|
-
content.length,
|
|
64073
|
-
" / ",
|
|
64074
|
-
restProps.maxLength
|
|
64075
|
-
] })
|
|
64076
|
-
] });
|
|
64078
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { ref: ref2, id: id2, className: classes2, placeholder, required: isRequired, readOnly: isReadOnly, ...restProps });
|
|
64077
64079
|
}), TextArea$1 = TextArea;
|
|
64078
64080
|
function useTreeItemEvents(nodeId, label, expanded, setExpanded, onItemSelect, onItemFold, onItemUnfold, onItemFocus, onItemBlur) {
|
|
64079
64081
|
const handleItemClick = (event) => {
|
|
@@ -64846,19 +64848,15 @@ const useThumb = ({
|
|
|
64846
64848
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Label$1, { children: t2("title") }),
|
|
64847
64849
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Input$1, { type: "text", defaultValue: isUpdating ? resource == null ? void 0 : resource.name : "", ...register("title", {
|
|
64848
64850
|
required: true,
|
|
64849
|
-
maxLength: 60,
|
|
64850
64851
|
pattern: {
|
|
64851
64852
|
value: /[^ ]/,
|
|
64852
64853
|
message: "invalid title"
|
|
64853
64854
|
}
|
|
64854
|
-
}), placeholder: t2("explorer.resource.editModal.title.placeholder"), size: "md", "aria-required": true
|
|
64855
|
+
}), placeholder: t2("explorer.resource.editModal.title.placeholder"), size: "md", "aria-required": true })
|
|
64855
64856
|
] }),
|
|
64856
64857
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(FormControl$1, { id: "description", isOptional: true, children: [
|
|
64857
64858
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Label$1, { children: t2("description") }),
|
|
64858
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(TextArea$1, {
|
|
64859
|
-
required: false,
|
|
64860
|
-
maxLength: 400
|
|
64861
|
-
}), placeholder: t2("explorer.resource.editModal.description.placeholder"), size: "md", maxLength: 400 })
|
|
64859
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TextArea$1, { defaultValue: isUpdating ? resource == null ? void 0 : resource.description : "", ...register("description"), placeholder: t2("explorer.resource.editModal.description.placeholder"), size: "md" })
|
|
64862
64860
|
] })
|
|
64863
64861
|
] })
|
|
64864
64862
|
] }),
|
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ode-explorer=1.0-b2school-SNAPSHOT
|
|
1
|
+
ode-explorer=1.0-b2school-SNAPSHOT 21/05/2024 10:14:07
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-explorer",
|
|
3
|
-
"version": "1.4.2-develop
|
|
3
|
+
"version": "1.4.2-develop.202405211013",
|
|
4
4
|
"description": "Edifice Explorer",
|
|
5
5
|
"homepage": "https://github.com/edificeio/explorer#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@edifice-ui/icons": "develop
|
|
40
|
-
"@edifice-ui/react": "develop
|
|
39
|
+
"@edifice-ui/icons": "develop",
|
|
40
|
+
"@edifice-ui/react": "develop",
|
|
41
41
|
"@react-spring/web": "9.7.3",
|
|
42
42
|
"@tanstack/react-query": "5.8.4",
|
|
43
43
|
"clsx": "2.1.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@vitejs/plugin-react-swc": "3.5.0",
|
|
66
66
|
"concurrently": "8.2.2",
|
|
67
67
|
"csstype": "3.1.3",
|
|
68
|
-
"edifice-bootstrap": "develop
|
|
69
|
-
"edifice-ts-client": "develop
|
|
68
|
+
"edifice-bootstrap": "develop",
|
|
69
|
+
"edifice-ts-client": "develop",
|
|
70
70
|
"eslint": "8.56.0",
|
|
71
71
|
"eslint-config-prettier": "9.1.0",
|
|
72
72
|
"eslint-plugin-import": "2.29.1",
|