@edifice.io/collect-frontend 1.0.9 → 1.0.10-develop.0.20260923124538

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/lib/index.js CHANGED
@@ -2900,7 +2900,7 @@ function Bc({
2900
2900
  disabled: !0
2901
2901
  }
2902
2902
  ] : g ?? [];
2903
- return console.log(u), /* @__PURE__ */ F(ae, { className: "m-16 gap-24", children: [
2903
+ return /* @__PURE__ */ F(ae, { className: "m-16 gap-24", children: [
2904
2904
  /* @__PURE__ */ F(ae.Col, { sm: "4", md: "8", lg: "3", xl: "5", children: [
2905
2905
  /* @__PURE__ */ F(Z, { gap: "16", direction: "column", children: [
2906
2906
  /* @__PURE__ */ p($a, { currentStep: a, nbSteps: 2 }),
@@ -2947,17 +2947,16 @@ function Bc({
2947
2947
  resourceRights: {
2948
2948
  contrib: {
2949
2949
  default: !0,
2950
- excludes: [],
2950
+ excludes: ["manager"],
2951
2951
  priority: 2,
2952
2952
  requires: ["contrib"],
2953
- displayName: i("collection.members.right.displayName.recipient"),
2954
- isReadOnlyCheckbox: !0
2953
+ displayName: i("collection.members.right.displayName.recipient")
2955
2954
  },
2956
2955
  manager: {
2957
2956
  default: !1,
2958
- excludes: [],
2957
+ excludes: ["contrib"],
2959
2958
  priority: 4,
2960
- requires: ["contrib", "manager"],
2959
+ requires: ["manager"],
2961
2960
  displayName: i("collection.members.right.displayName.manager")
2962
2961
  }
2963
2962
  }
@@ -3165,7 +3164,7 @@ const Kc = Yo(null), D1 = () => {
3165
3164
  y(!1);
3166
3165
  }
3167
3166
  };
3168
- return /* @__PURE__ */ F("div", { className: "w-100", children: [
3167
+ return /* @__PURE__ */ F("div", { className: "w-100 p-24", children: [
3169
3168
  /* @__PURE__ */ p(ae, { className: "flex-grow-1 gap-64 px-md-8 px-lg-48 position-relative", children: /* @__PURE__ */ p(ae.Col, { sm: "4", md: "8", xl: "12", className: `${l && "ms-64"}`, children: /* @__PURE__ */ p(
3170
3169
  Z,
3171
3170
  {
@@ -3176,7 +3175,7 @@ const Kc = Yo(null), D1 = () => {
3176
3175
  children: e
3177
3176
  }
3178
3177
  ) }) }),
3179
- i === 1 ? /* @__PURE__ */ F(Z, { justify: "end", className: "mt-auto px-48 pb-64 gap-16", children: [
3178
+ i === 1 ? /* @__PURE__ */ F(Z, { justify: "end", className: "mt-auto pb-64 gap-16", children: [
3180
3179
  /* @__PURE__ */ p(
3181
3180
  we,
3182
3181
  {
@@ -12,46 +12,25 @@ export declare const userQueryOptions: {
12
12
  * @param search The search string to filter the users
13
13
  * @returns The query options for the search visible users
14
14
  */
15
- searchVisibles(search?: string, includeHidden?: boolean): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').SearchVisiblesResponse, Error, import('../api/user.service').SearchVisiblesResponse, readonly ["user", "search", {
16
- search: string;
17
- } | undefined, {
18
- includeHidden: true;
19
- } | undefined]>, "queryFn"> & {
20
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').SearchVisiblesResponse, readonly ["user", "search", {
21
- search: string;
22
- } | undefined, {
23
- includeHidden: true;
24
- } | undefined], never> | undefined;
15
+ searchVisibles(search?: string, includeHidden?: boolean): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').SearchVisiblesResponse, Error, import('../api/user.service').SearchVisiblesResponse, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
16
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').SearchVisiblesResponse, import('@tanstack/react-query').QueryKey, never> | undefined;
25
17
  } & {
26
- queryKey: readonly ["user", "search", {
27
- search: string;
28
- } | undefined, {
29
- includeHidden: true;
30
- } | undefined] & {
31
- [dataTagSymbol]: import('../api/user.service').SearchVisiblesResponse;
32
- [dataTagErrorSymbol]: Error;
33
- };
18
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').SearchVisiblesResponse>;
34
19
  };
35
20
  /**
36
21
  * Get users belonging to a specific group
37
22
  * @param groupId The ID of the group to fetch users from
38
23
  * @returns The query options for fetching users by group
39
24
  */
40
- fetchUsersByGroup(groupId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').UserForGroup[], Error, import('../api/user.service').UserForGroup[], readonly ["user", "group", string]>, "queryFn"> & {
41
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').UserForGroup[], readonly ["user", "group", string], never> | undefined;
25
+ fetchUsersByGroup(groupId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').UserForGroup[], Error, import('../api/user.service').UserForGroup[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
26
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').UserForGroup[], import('@tanstack/react-query').QueryKey, never> | undefined;
42
27
  } & {
43
- queryKey: readonly ["user", "group", string] & {
44
- [dataTagSymbol]: import('../api/user.service').UserForGroup[];
45
- [dataTagErrorSymbol]: Error;
46
- };
28
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').UserForGroup[]>;
47
29
  };
48
- fetchSharebookmark(sharebookmarkId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').FetchSharebookmarkResponse, Error, import('../api/user.service').FetchSharebookmarkResponse, readonly ["user", "sharebookmark", string]>, "queryFn"> & {
49
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').FetchSharebookmarkResponse, readonly ["user", "sharebookmark", string], never> | undefined;
30
+ fetchSharebookmark(sharebookmarkId: string): import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../api/user.service').FetchSharebookmarkResponse, Error, import('../api/user.service').FetchSharebookmarkResponse, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
31
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../api/user.service').FetchSharebookmarkResponse, import('@tanstack/react-query').QueryKey, never> | undefined;
50
32
  } & {
51
- queryKey: readonly ["user", "sharebookmark", string] & {
52
- [dataTagSymbol]: import('../api/user.service').FetchSharebookmarkResponse;
53
- [dataTagErrorSymbol]: Error;
54
- };
33
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../api/user.service').FetchSharebookmarkResponse>;
55
34
  };
56
35
  };
57
36
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/collect-frontend",
3
- "version": "1.0.9",
3
+ "version": "1.0.10-develop.0.20260923124538",
4
4
  "private": false,
5
5
  "license": "GPL-3.0",
6
6
  "author": "Edifice",
@@ -27,17 +27,17 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@edifice.io/collect-client-rest": "workspace:*",
30
- "@edifice.io/bootstrap": "2.6.5",
31
- "@edifice.io/client": "2.6.5",
32
- "@edifice.io/react": "2.6.5",
30
+ "@edifice.io/bootstrap": "develop-pedago",
31
+ "@edifice.io/client": "develop-pedago",
32
+ "@edifice.io/react": "develop-pedago",
33
33
  "@react-spring/web": "9.7.5",
34
- "@tanstack/react-query": "5.81.5",
34
+ "@tanstack/react-query": "5.62.7",
35
35
  "@uidotdev/usehooks": "2.4.1",
36
36
  "antd": "5.27.6",
37
37
  "clsx": "2.1.1",
38
38
  "i18next": "23.8.1",
39
39
  "i18next-http-backend": "2.4.2",
40
- "ode-explorer": "2.6.9",
40
+ "ode-explorer": "develop-pedago",
41
41
  "pdfjs-dist": "5.4.394",
42
42
  "react": "18.3.1",
43
43
  "react-dom": "18.3.1",
@@ -45,7 +45,7 @@
45
45
  "react-hook-form": "7.71.1",
46
46
  "react-i18next": "14.1.0",
47
47
  "react-pdf": "10.2.0",
48
- "react-router-dom": "6.30.1",
48
+ "react-router-dom": "6.30.3",
49
49
  "zustand": "4.5.7"
50
50
  },
51
51
  "resolutions": {
@@ -89,4 +89,4 @@
89
89
  "lib"
90
90
  ],
91
91
  "nx": {}
92
- }
92
+ }