ode-explorer 1.4.2-develop-b2school.202403201820 → 1.4.2-develop.202403201822

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 CHANGED
@@ -57163,22 +57163,6 @@ class ResizePlugin {
57163
57163
  }
57164
57164
  ResizePlugin.extension = ExtensionType.Application;
57165
57165
  extensions$1.add(ResizePlugin);
57166
- DisplayObject.prototype.name = null;
57167
- Container.prototype.getChildByName = function(name, deep) {
57168
- for (let i2 = 0, j2 = this.children.length; i2 < j2; i2++)
57169
- if (this.children[i2].name === name)
57170
- return this.children[i2];
57171
- if (deep)
57172
- for (let i2 = 0, j2 = this.children.length; i2 < j2; i2++) {
57173
- const child = this.children[i2];
57174
- if (!child.getChildByName)
57175
- continue;
57176
- const target = child.getChildByName(name, true);
57177
- if (target)
57178
- return target;
57179
- }
57180
- return null;
57181
- };
57182
57166
  const _tempMatrix = new Matrix();
57183
57167
  DisplayObject.prototype._cacheAsBitmap = false;
57184
57168
  DisplayObject.prototype._cacheData = null;
@@ -57309,6 +57293,22 @@ DisplayObject.prototype._destroyCachedDisplayObject = function() {
57309
57293
  DisplayObject.prototype._cacheAsBitmapDestroy = function(options) {
57310
57294
  this.cacheAsBitmap = false, this.destroy(options);
57311
57295
  };
57296
+ DisplayObject.prototype.name = null;
57297
+ Container.prototype.getChildByName = function(name, deep) {
57298
+ for (let i2 = 0, j2 = this.children.length; i2 < j2; i2++)
57299
+ if (this.children[i2].name === name)
57300
+ return this.children[i2];
57301
+ if (deep)
57302
+ for (let i2 = 0, j2 = this.children.length; i2 < j2; i2++) {
57303
+ const child = this.children[i2];
57304
+ if (!child.getChildByName)
57305
+ continue;
57306
+ const target = child.getChildByName(name, true);
57307
+ if (target)
57308
+ return target;
57309
+ }
57310
+ return null;
57311
+ };
57312
57312
  DisplayObject.prototype.getGlobalPosition = function(point = new Point(), skipUpdate = false) {
57313
57313
  return this.parent ? this.parent.toGlobal(this.position, point, skipUpdate) : (point.x = this.position.x, point.y = this.position.y), point;
57314
57314
  };
@@ -62184,7 +62184,7 @@ const ActionBar$1 = /* @__PURE__ */ reactExports.forwardRef(({
62184
62184
  } = props, getLoadingIcon = () => {
62185
62185
  let icon;
62186
62186
  return loadingIcon ? icon = loadingIcon : icon = /* @__PURE__ */ jsxRuntimeExports.jsx(SvgLoader$1, { ...restProps, "aria-label": "Loading" }), icon;
62187
- }, classes2 = clsx("loading d-flex align-items-center gap-8", {
62187
+ }, classes2 = clsx("loading", {
62188
62188
  "is-loading": isLoading
62189
62189
  }, className);
62190
62190
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classes2, role: "status", ref: ref2, children: [
@@ -62538,7 +62538,7 @@ const useConversation = () => {
62538
62538
  return reactExports.useEffect(() => {
62539
62539
  refreshMails();
62540
62540
  }, []), reactExports.useEffect(() => {
62541
- zimbraPreauth && goToMessagerie();
62541
+ goToMessagerie();
62542
62542
  }, []), {
62543
62543
  messages: messages2,
62544
62544
  msgLink,
@@ -63085,8 +63085,7 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
63085
63085
  app,
63086
63086
  size: size2 = "24",
63087
63087
  iconFit = "contain",
63088
- variant = "square",
63089
- className = ""
63088
+ variant = "square"
63090
63089
  }, ref2) => {
63091
63090
  const {
63092
63091
  isIconUrl,
@@ -63104,19 +63103,14 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
63104
63103
  }, iconFits = {
63105
63104
  "icon-contain": isContain,
63106
63105
  "icon-ratio": isRatio
63107
- }, icon = typeof app == "string" ? app : (app == null ? void 0 : app.icon) !== void 0 ? app.icon : "placeholder", displayName = typeof app != "string" && (app == null ? void 0 : app.displayName) !== void 0 ? app.displayName : "", code = app ? getIconCode(app) : "", isIconURL = isIconUrl(icon), appCode = code || "placeholder";
63108
- if (isIconURL) {
63109
- const classes22 = clsx("h-full", className);
63110
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Image$2, { src: icon, alt: displayName, objectFit: "contain", width: size2, height: size2, className: classes22 });
63111
- }
63112
- const classes2 = clsx("app-icon", {
63106
+ }, icon = typeof app == "string" ? app : (app == null ? void 0 : app.icon) !== void 0 ? app.icon : "placeholder", displayName = typeof app != "string" && (app == null ? void 0 : app.displayName) !== void 0 ? app.displayName : "", code = app ? getIconCode(app) : "", isIconURL = isIconUrl(icon), appCode = code || "placeholder", classes2 = clsx("app-icon", {
63113
63107
  ...iconSizes,
63114
63108
  ...iconVariant,
63115
63109
  ...iconFits,
63116
63110
  [`bg-light-${appCode}`]: appCode && !isContain,
63117
63111
  [`color-app-${appCode}`]: appCode
63118
- }, className);
63119
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes2, style: {
63112
+ });
63113
+ return isIconURL ? /* @__PURE__ */ jsxRuntimeExports.jsx(Image$2, { src: icon, alt: displayName, objectFit: "contain", width: size2, height: size2, className: "h-full" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes2, style: {
63120
63114
  width: size2 + "px",
63121
63115
  height: size2 + "px"
63122
63116
  }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { ref: ref2, width: size2, height: size2, role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx("use", { xlinkHref: `${iconPath}/apps.svg#${appCode}` }) }) });
@@ -65820,7 +65814,7 @@ function ShareResourceModal({
65820
65814
  /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { message: "Vos favoris de partage s’affichent en priorité dans votre liste lorsque vous recherchez un groupe ou une personne, vous pouvez les retrouver dans l’annuaire.", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgInfoCircle$1, { className: "c-pointer", height: "18" }) })
65821
65815
  ] }),
65822
65816
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "row", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Combobox$1, { value: searchInputValue, placeholder: searchPlaceholder, isLoading: showSearchLoading(), noResult: showSearchNoResults(), options: searchResults, searchMinLength: getSearchMinLength(), onSearchInputChange: handleSearchInputChange, onSearchResultsChange: handleSearchResultsChange }) }) }),
65823
- typeof children == "function" ? children(resource) : children
65817
+ children
65824
65818
  ] }),
65825
65819
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Modal$1.Footer, { children: [
65826
65820
  /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { type: "button", color: "tertiary", variant: "ghost", onClick: onCancel, children: t2("explorer.cancel") }),
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer=1.0-b2school-SNAPSHOT 20/03/2024 18:20:55
1
+ ode-explorer=1.0-b2school-SNAPSHOT 20/03/2024 18:23:09
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.4.2-develop-b2school.202403201820",
3
+ "version": "1.4.2-develop.202403201822",
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-b2school",
40
- "@edifice-ui/react": "develop-b2school",
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-b2school",
69
- "edifice-ts-client": "develop-b2school",
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",