@edifice.io/react 2.5.9-develop-enabling.20260206154102 → 2.5.9-develop-b2school.20260212120233
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/components/Layout/components/WidgetApps.js +1 -1
- package/dist/components/SearchBar/SearchBar.d.ts +2 -2
- package/dist/hooks/useDropdown/useDropdown.js +0 -2
- package/dist/hooks/useUpload/useUpload.js +5 -2
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +52 -3
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +1 -2
- package/dist/providers/AntThemeProvider/AntProvider.js +5 -5
- package/package.json +51 -51
- package/dist/_virtual/common.js +0 -4
- package/dist/_virtual/de_DE.js +0 -4
- package/dist/_virtual/de_DE2.js +0 -4
- package/dist/_virtual/de_DE3.js +0 -4
- package/dist/_virtual/de_DE4.js +0 -4
- package/dist/_virtual/de_DE5.js +0 -4
- package/dist/_virtual/de_DE6.js +0 -4
- package/dist/_virtual/defineProperty.js +0 -4
- package/dist/_virtual/es_ES.js +0 -4
- package/dist/_virtual/es_ES2.js +0 -4
- package/dist/_virtual/es_ES3.js +0 -4
- package/dist/_virtual/es_ES4.js +0 -4
- package/dist/_virtual/es_ES5.js +0 -4
- package/dist/_virtual/es_ES6.js +0 -4
- package/dist/_virtual/fr_FR.js +0 -4
- package/dist/_virtual/fr_FR2.js +0 -4
- package/dist/_virtual/fr_FR3.js +0 -4
- package/dist/_virtual/fr_FR4.js +0 -4
- package/dist/_virtual/fr_FR5.js +0 -4
- package/dist/_virtual/fr_FR6.js +0 -4
- package/dist/_virtual/interopRequireDefault.js +0 -4
- package/dist/_virtual/it_IT.js +0 -4
- package/dist/_virtual/it_IT2.js +0 -4
- package/dist/_virtual/it_IT3.js +0 -4
- package/dist/_virtual/it_IT4.js +0 -4
- package/dist/_virtual/it_IT5.js +0 -4
- package/dist/_virtual/it_IT6.js +0 -4
- package/dist/_virtual/objectSpread2.js +0 -4
- package/dist/_virtual/pt_PT.js +0 -4
- package/dist/_virtual/pt_PT2.js +0 -4
- package/dist/_virtual/pt_PT3.js +0 -4
- package/dist/_virtual/pt_PT4.js +0 -4
- package/dist/_virtual/pt_PT5.js +0 -4
- package/dist/_virtual/pt_PT6.js +0 -4
- package/dist/_virtual/toPrimitive.js +0 -4
- package/dist/_virtual/toPropertyKey.js +0 -4
- package/dist/_virtual/typeof.js +0 -4
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +0 -12
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js +0 -18
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -31
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -20
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -15
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js +0 -16
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/de_DE.js +0 -11
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/es_ES.js +0 -11
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/fr_FR.js +0 -11
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/it_IT.js +0 -11
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/pt_PT.js +0 -11
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/de_DE.js +0 -22
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/es_ES.js +0 -22
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/fr_FR.js +0 -27
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/it_IT.js +0 -20
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/pt_PT.js +0 -45
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/de_DE.js +0 -145
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/es_ES.js +0 -145
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/fr_FR.js +0 -144
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/it_IT.js +0 -156
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/pt_PT.js +0 -158
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/de_DE.js +0 -10
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/es_ES.js +0 -10
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/fr_FR.js +0 -10
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/it_IT.js +0 -10
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/pt_PT.js +0 -10
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/de_DE.js +0 -8
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/es_ES.js +0 -8
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/fr_FR.js +0 -8
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/it_IT.js +0 -8
- package/dist/node_modules/.pnpm/antd@5.29.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/pt_PT.js +0 -8
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/de_DE.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/es_ES.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/fr_FR.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/it_IT.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/pt_PT.js +0 -21
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/common.js +0 -14
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/de_DE.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/es_ES.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/fr_FR.js +0 -38
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/it_IT.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/pt_PT.js +0 -39
|
@@ -14,7 +14,7 @@ const WidgetAppsFooter = () => {
|
|
|
14
14
|
} = useTranslation();
|
|
15
15
|
return /* @__PURE__ */ jsxs("div", { className: "widget-body d-flex flex-wrap", children: [
|
|
16
16
|
!bookmarkedApps.length && /* @__PURE__ */ jsx("div", { className: "text-dark", children: t("navbar.myapps.more") }),
|
|
17
|
-
bookmarkedApps.slice(0, 6).map((app, index) => /* @__PURE__ */ jsx("a", { href: app.address, className: "bookmarked-app", target: appToOpenOnBlank.includes(app.name) || app.isExternal || app.
|
|
17
|
+
bookmarkedApps.slice(0, 6).map((app, index) => /* @__PURE__ */ jsx("a", { href: app.address, className: "bookmarked-app", target: appToOpenOnBlank.includes(app.name) || app.isExternal || app.category === "connector" ? "_blank" : void 0, rel: appToOpenOnBlank.includes(app.name) || app.isExternal || app.category === "connector" ? "noopener noreferrer" : void 0, children: /* @__PURE__ */ jsx(AppIcon, { app, size: "32" }) }, index))
|
|
18
18
|
] });
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
@@ -3,7 +3,7 @@ import { Size } from '../../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Base props shared by both SearchBar variants
|
|
5
5
|
*/
|
|
6
|
-
interface BaseProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
6
|
+
export interface BaseProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
7
7
|
/**
|
|
8
8
|
* String or template literal key for i18next translation
|
|
9
9
|
*/
|
|
@@ -67,7 +67,7 @@ type DynamicSearchBar = {
|
|
|
67
67
|
/**
|
|
68
68
|
* Props for the SearchBar component
|
|
69
69
|
*/
|
|
70
|
-
type Props = DefaultSearchBar | DynamicSearchBar;
|
|
70
|
+
export type Props = DefaultSearchBar | DynamicSearchBar;
|
|
71
71
|
export type SearchBarProps = BaseProps & Props;
|
|
72
72
|
/**
|
|
73
73
|
* SearchBar component to handle dynamic or static search input
|
|
@@ -87,8 +87,11 @@ const useUpload = (visibility, application = "media-library") => {
|
|
|
87
87
|
children: [],
|
|
88
88
|
created: /* @__PURE__ */ new Date(),
|
|
89
89
|
_shared: [],
|
|
90
|
-
|
|
91
|
-
owner:
|
|
90
|
+
_isShared: !1,
|
|
91
|
+
owner: {
|
|
92
|
+
userId: "",
|
|
93
|
+
displayName: ""
|
|
94
|
+
}
|
|
92
95
|
};
|
|
93
96
|
throw uploadResponse.state === "error" ? new Error(uploadResponse.code || "Error while uploading video") : new Error("Video encoding is still running");
|
|
94
97
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { odeServices } from "@edifice.io/client";
|
|
2
2
|
import { useQueryClient, useQuery, useMutation } from "@tanstack/react-query";
|
|
3
3
|
import { useMemo, useCallback } from "react";
|
|
4
|
-
import { useTranslation } from "react-i18next";
|
|
5
4
|
import { useEdificeClient } from "../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
5
|
+
import { useTranslation } from "react-i18next";
|
|
6
6
|
import useToast from "../useToast/useToast.js";
|
|
7
7
|
function useWorkspaceFolders() {
|
|
8
8
|
const queryClient = useQueryClient(), {
|
|
@@ -118,11 +118,21 @@ interface ShareResourceProps {
|
|
|
118
118
|
classNameSearchInput?: string;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* Ref interface exposed by ShareResources component
|
|
122
|
-
* Use useRef with this type and call ref.current?.handleShare() to trigger share programmatically.
|
|
121
|
+
* Ref interface exposed by ShareResources component
|
|
123
122
|
*
|
|
124
123
|
* @interface ShareResourcesRef
|
|
125
124
|
* @property {() => void} handleShare - Method to trigger the share operation
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```tsx
|
|
128
|
+
* const ref = useRef<ShareResourcesRef>(null);
|
|
129
|
+
*
|
|
130
|
+
* // Trigger share programmatically
|
|
131
|
+
* ref.current?.handleShare();
|
|
132
|
+
*
|
|
133
|
+
* // Check sharing status
|
|
134
|
+
* const sharing = ref.current?.isSharing();
|
|
135
|
+
* ```
|
|
126
136
|
*/
|
|
127
137
|
export interface ShareResourcesRef {
|
|
128
138
|
handleShare: (notify?: boolean) => void;
|
|
@@ -132,7 +142,46 @@ export interface ShareResourcesRef {
|
|
|
132
142
|
*
|
|
133
143
|
* A component for managing resource sharing permissions with users and groups.
|
|
134
144
|
* Provides search functionality, bookmark management, and granular rights control.
|
|
135
|
-
*
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ```tsx
|
|
148
|
+
* import { useRef } from 'react';
|
|
149
|
+
* import ShareResources, { ShareResourcesRef, ShareOptions } from './ShareResources';
|
|
150
|
+
*
|
|
151
|
+
* function MyComponent() {
|
|
152
|
+
* const shareRef = useRef<ShareResourcesRef>(null);
|
|
153
|
+
*
|
|
154
|
+
* const shareOptions: ShareOptions = {
|
|
155
|
+
* resourceId: '123',
|
|
156
|
+
* resourceRights: [],
|
|
157
|
+
* resourceCreatorId: 'user-456',
|
|
158
|
+
* filteredActions: ['read', 'contrib'],
|
|
159
|
+
* urls: {
|
|
160
|
+
* getResourceRights: '/api/share/rights',
|
|
161
|
+
* putResourceRights: '/api/share/update'
|
|
162
|
+
* }
|
|
163
|
+
* };
|
|
164
|
+
*
|
|
165
|
+
* const handleSave = () => {
|
|
166
|
+
* if (shareRef.current) {
|
|
167
|
+
* shareRef.current.handleShare();
|
|
168
|
+
* }
|
|
169
|
+
* };
|
|
170
|
+
*
|
|
171
|
+
* return (
|
|
172
|
+
* <>
|
|
173
|
+
* <ShareResources
|
|
174
|
+
* ref={shareRef}
|
|
175
|
+
* shareOptions={shareOptions}
|
|
176
|
+
* onSuccess={() => console.log('Shared successfully')}
|
|
177
|
+
* onChange={(rights, isDirty) => console.log('Rights changed:', isDirty)}
|
|
178
|
+
* onSubmit={(isSubmitting) => console.log('Submitting share...', isSubmitting)}
|
|
179
|
+
* />
|
|
180
|
+
* <button onClick={handleSave}>Save Changes</button>
|
|
181
|
+
* </>
|
|
182
|
+
* );
|
|
183
|
+
* }
|
|
184
|
+
* ```
|
|
136
185
|
*
|
|
137
186
|
* @component
|
|
138
187
|
* @forwardRef
|
|
@@ -3,11 +3,11 @@ import { ConfigProvider } from "antd";
|
|
|
3
3
|
import { antTheme } from "./antThemeConfig.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { useEdificeClient } from "../EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
6
|
-
import frFR from "
|
|
7
|
-
import deDE from "
|
|
8
|
-
import esES from "
|
|
9
|
-
import itIT from "
|
|
10
|
-
import ptPT from "
|
|
6
|
+
import frFR from "antd/locale/fr_FR";
|
|
7
|
+
import deDE from "antd/locale/de_DE";
|
|
8
|
+
import esES from "antd/locale/es_ES";
|
|
9
|
+
import itIT from "antd/locale/it_IT";
|
|
10
|
+
import ptPT from "antd/locale/pt_PT";
|
|
11
11
|
const antdLocaleMap = {
|
|
12
12
|
fr: frFR,
|
|
13
13
|
de: deDE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.9-develop-
|
|
3
|
+
"version": "2.5.9-develop-b2school.20260212120233",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"dist"
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@ant-design/icons": "5.4.0",
|
|
77
|
-
"@dnd-kit/core": "6.
|
|
78
|
-
"@dnd-kit/sortable": "8.0.0",
|
|
79
|
-
"@dnd-kit/utilities": "3.2.2",
|
|
76
|
+
"@ant-design/icons": "^5.4.0",
|
|
77
|
+
"@dnd-kit/core": "^6.1.0",
|
|
78
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
79
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
80
80
|
"@floating-ui/react": "0.26.0",
|
|
81
|
-
"@pixi/mixin-get-child-by-name": "7.4.
|
|
81
|
+
"@pixi/mixin-get-child-by-name": "7.4.2",
|
|
82
82
|
"@pixi/react": "7.1.2",
|
|
83
83
|
"@popperjs/core": "2.11.8",
|
|
84
84
|
"@tiptap/core": "2.11.0",
|
|
@@ -118,66 +118,66 @@
|
|
|
118
118
|
"@tiptap/pm": "2.11.0",
|
|
119
119
|
"@tiptap/react": "2.11.0",
|
|
120
120
|
"@tiptap/starter-kit": "2.11.0",
|
|
121
|
-
"@uidotdev/usehooks": "2.4.1",
|
|
122
|
-
"antd": "5.29.1",
|
|
123
|
-
"clsx": "2.1.1",
|
|
121
|
+
"@uidotdev/usehooks": "^2.4.1",
|
|
122
|
+
"antd": "^5.29.1",
|
|
123
|
+
"clsx": "^2.1.1",
|
|
124
124
|
"dayjs": "1.11.19",
|
|
125
|
-
"emoji-picker-react": "4.
|
|
125
|
+
"emoji-picker-react": "4.5.2",
|
|
126
126
|
"heic2any": "0.0.4",
|
|
127
127
|
"html-react-parser": "4.2.1",
|
|
128
128
|
"ohash": "1.1.3",
|
|
129
129
|
"pako": "2.1.0",
|
|
130
130
|
"pixi.js": "7.4.2",
|
|
131
|
-
"react-hot-toast": "2.
|
|
131
|
+
"react-hot-toast": "^2.4.1",
|
|
132
132
|
"react-intersection-observer": "9.5.3",
|
|
133
|
-
"react-
|
|
134
|
-
"react-
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"@edifice.io/bootstrap": "2.5.9-develop-
|
|
139
|
-
"@edifice.io/tiptap-extensions": "2.5.9-develop-
|
|
140
|
-
"@edifice.io/utilities": "2.5.9-develop-
|
|
133
|
+
"react-popper": "^2.3.0",
|
|
134
|
+
"react-slugify": "^3.0.3",
|
|
135
|
+
"swiper": "^10.1.0",
|
|
136
|
+
"ua-parser-js": "^1.0.36",
|
|
137
|
+
"react-pdf": "10.2.0",
|
|
138
|
+
"@edifice.io/bootstrap": "2.5.9-develop-b2school.20260212120233",
|
|
139
|
+
"@edifice.io/tiptap-extensions": "2.5.9-develop-b2school.20260212120233",
|
|
140
|
+
"@edifice.io/utilities": "2.5.9-develop-b2school.20260212120233"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
|
-
"@babel/plugin-transform-react-pure-annotations": "7.
|
|
144
|
-
"@eslint/js": "9.
|
|
145
|
-
"@react-spring/web": "9.7.5",
|
|
146
|
-
"@svgr/cli": "8.1.0",
|
|
147
|
-
"@tanstack/query-core": "5.
|
|
143
|
+
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
144
|
+
"@eslint/js": "^9.12.0",
|
|
145
|
+
"@react-spring/web": "^9.7.5",
|
|
146
|
+
"@svgr/cli": "^8.1.0",
|
|
147
|
+
"@tanstack/query-core": "5.62.7",
|
|
148
148
|
"@tanstack/react-query": "5.62.7",
|
|
149
|
-
"@testing-library/jest-dom": "6.5.0",
|
|
150
|
-
"@testing-library/react": "16.0.1",
|
|
151
|
-
"@testing-library/user-event": "14.5.2",
|
|
152
|
-
"@types/node": "22.
|
|
153
|
-
"@types/pako": "2.0.
|
|
154
|
-
"@types/react": "18.
|
|
155
|
-
"@types/react-dom": "18.
|
|
156
|
-
"@types/ua-parser-js": "0.7.37",
|
|
157
|
-
"@vitejs/plugin-react": "4.
|
|
158
|
-
"eslint": "9.
|
|
149
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
150
|
+
"@testing-library/react": "^16.0.1",
|
|
151
|
+
"@testing-library/user-event": "^14.5.2",
|
|
152
|
+
"@types/node": "^22.9.1",
|
|
153
|
+
"@types/pako": "^2.0.3",
|
|
154
|
+
"@types/react": "^18.2.33",
|
|
155
|
+
"@types/react-dom": "^18.2.14",
|
|
156
|
+
"@types/ua-parser-js": "^0.7.37",
|
|
157
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
158
|
+
"eslint": "^9.12.0",
|
|
159
159
|
"eslint-plugin-react-hooks": "5.1.0-rc.0",
|
|
160
|
-
"eslint-plugin-react-refresh": "0.4.
|
|
161
|
-
"react": "18.3.1",
|
|
162
|
-
"react-dom": "18.3.1",
|
|
163
|
-
"react-hook-form": "7.
|
|
164
|
-
"react-i18next": "14.1.
|
|
165
|
-
"rollup-plugin-pure": "0.2.1",
|
|
160
|
+
"eslint-plugin-react-refresh": "^0.4.12",
|
|
161
|
+
"react": "^18.3.1",
|
|
162
|
+
"react-dom": "^18.3.1",
|
|
163
|
+
"react-hook-form": "^7.53.0",
|
|
164
|
+
"react-i18next": "^14.1.0",
|
|
165
|
+
"rollup-plugin-pure": "^0.2.1",
|
|
166
166
|
"rollup-plugin-visualizer": "5.12.0",
|
|
167
|
-
"typescript-eslint": "8.
|
|
168
|
-
"vite": "5.4.
|
|
169
|
-
"vite-plugin-dts": "4.
|
|
170
|
-
"vite-tsconfig-paths": "5.1
|
|
171
|
-
"@edifice.io/
|
|
172
|
-
"@edifice.io/
|
|
167
|
+
"typescript-eslint": "^8.8.1",
|
|
168
|
+
"vite": "^5.4.11",
|
|
169
|
+
"vite-plugin-dts": "^4.1.0",
|
|
170
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
171
|
+
"@edifice.io/config": "2.5.9-develop-b2school.20260212120233",
|
|
172
|
+
"@edifice.io/client": "2.5.9-develop-b2school.20260212120233"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
|
-
"@react-spring/web": "9.7.5",
|
|
175
|
+
"@react-spring/web": "^9.7.5",
|
|
176
176
|
"@tanstack/react-query": "5.62.7",
|
|
177
|
-
"react": "18.3.1",
|
|
178
|
-
"react-dom": "18.3.1",
|
|
179
|
-
"react-hook-form": "7.
|
|
180
|
-
"react-i18next": "14.1.
|
|
177
|
+
"react": "^18.3.1",
|
|
178
|
+
"react-dom": "^18.3.1",
|
|
179
|
+
"react-hook-form": "^7.53.0",
|
|
180
|
+
"react-i18next": "^14.1.0"
|
|
181
181
|
},
|
|
182
182
|
"publishConfig": {
|
|
183
183
|
"access": "public"
|
package/dist/_virtual/common.js
DELETED
package/dist/_virtual/de_DE.js
DELETED
package/dist/_virtual/de_DE2.js
DELETED
package/dist/_virtual/de_DE3.js
DELETED
package/dist/_virtual/de_DE4.js
DELETED
package/dist/_virtual/de_DE5.js
DELETED
package/dist/_virtual/de_DE6.js
DELETED
package/dist/_virtual/es_ES.js
DELETED
package/dist/_virtual/es_ES2.js
DELETED
package/dist/_virtual/es_ES3.js
DELETED
package/dist/_virtual/es_ES4.js
DELETED
package/dist/_virtual/es_ES5.js
DELETED
package/dist/_virtual/es_ES6.js
DELETED
package/dist/_virtual/fr_FR.js
DELETED
package/dist/_virtual/fr_FR2.js
DELETED
package/dist/_virtual/fr_FR3.js
DELETED
package/dist/_virtual/fr_FR4.js
DELETED
package/dist/_virtual/fr_FR5.js
DELETED
package/dist/_virtual/fr_FR6.js
DELETED
package/dist/_virtual/it_IT.js
DELETED
package/dist/_virtual/it_IT2.js
DELETED
package/dist/_virtual/it_IT3.js
DELETED
package/dist/_virtual/it_IT4.js
DELETED
package/dist/_virtual/it_IT5.js
DELETED
package/dist/_virtual/it_IT6.js
DELETED
package/dist/_virtual/pt_PT.js
DELETED
package/dist/_virtual/pt_PT2.js
DELETED
package/dist/_virtual/pt_PT3.js
DELETED
package/dist/_virtual/pt_PT4.js
DELETED
package/dist/_virtual/pt_PT5.js
DELETED
package/dist/_virtual/pt_PT6.js
DELETED
package/dist/_virtual/typeof.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WorkspaceElement } from '@edifice.io/client';
|
|
2
|
-
export interface CreateFolderParams {
|
|
3
|
-
folderName: string;
|
|
4
|
-
folderParentId?: string;
|
|
5
|
-
}
|
|
6
|
-
declare function useWorkspaceFolders(): {
|
|
7
|
-
folders: WorkspaceElement[];
|
|
8
|
-
createFolderMutation: import('../../node_modules/@tanstack/react-query').UseMutationResult<any, Error, CreateFolderParams, unknown>;
|
|
9
|
-
canCopyFileIntoFolder: (folderId: string) => boolean;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
};
|
|
12
|
-
export default useWorkspaceFolders;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __module as defineProperty } from "../../../../../../../_virtual/defineProperty.js";
|
|
2
|
-
import { t as toPropertyKeyExports } from "./toPropertyKey.js";
|
|
3
|
-
(function(module) {
|
|
4
|
-
var toPropertyKey = toPropertyKeyExports;
|
|
5
|
-
function _defineProperty(e, r, t) {
|
|
6
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
7
|
-
value: t,
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
configurable: !0,
|
|
10
|
-
writable: !0
|
|
11
|
-
}) : e[r] = t, e;
|
|
12
|
-
}
|
|
13
|
-
module.exports = _defineProperty, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
14
|
-
})(defineProperty);
|
|
15
|
-
var definePropertyExports = defineProperty.exports;
|
|
16
|
-
export {
|
|
17
|
-
definePropertyExports as d
|
|
18
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { __module as interopRequireDefault } from "../../../../../../../_virtual/interopRequireDefault.js";
|
|
2
|
-
(function(module) {
|
|
3
|
-
function _interopRequireDefault(e) {
|
|
4
|
-
return e && e.__esModule ? e : {
|
|
5
|
-
default: e
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
module.exports = _interopRequireDefault, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
9
|
-
})(interopRequireDefault);
|
|
10
|
-
var interopRequireDefaultExports = interopRequireDefault.exports;
|
|
11
|
-
export {
|
|
12
|
-
interopRequireDefaultExports as i
|
|
13
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __module as objectSpread2 } from "../../../../../../../_virtual/objectSpread2.js";
|
|
2
|
-
import { d as definePropertyExports } from "./defineProperty.js";
|
|
3
|
-
(function(module) {
|
|
4
|
-
var defineProperty = definePropertyExports;
|
|
5
|
-
function ownKeys(e, r) {
|
|
6
|
-
var t = Object.keys(e);
|
|
7
|
-
if (Object.getOwnPropertySymbols) {
|
|
8
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
9
|
-
r && (o = o.filter(function(r2) {
|
|
10
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
11
|
-
})), t.push.apply(t, o);
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
}
|
|
15
|
-
function _objectSpread2(e) {
|
|
16
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
17
|
-
var t = arguments[r] != null ? arguments[r] : {};
|
|
18
|
-
r % 2 ? ownKeys(Object(t), !0).forEach(function(r2) {
|
|
19
|
-
defineProperty(e, r2, t[r2]);
|
|
20
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
21
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return e;
|
|
25
|
-
}
|
|
26
|
-
module.exports = _objectSpread2, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
27
|
-
})(objectSpread2);
|
|
28
|
-
var objectSpread2Exports = objectSpread2.exports;
|
|
29
|
-
export {
|
|
30
|
-
objectSpread2Exports as o
|
|
31
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __module as toPrimitive } from "../../../../../../../_virtual/toPrimitive.js";
|
|
2
|
-
import { _ as _typeofExports } from "./typeof.js";
|
|
3
|
-
(function(module) {
|
|
4
|
-
var _typeof = _typeofExports.default;
|
|
5
|
-
function toPrimitive2(t, r) {
|
|
6
|
-
if (_typeof(t) != "object" || !t) return t;
|
|
7
|
-
var e = t[Symbol.toPrimitive];
|
|
8
|
-
if (e !== void 0) {
|
|
9
|
-
var i = e.call(t, r || "default");
|
|
10
|
-
if (_typeof(i) != "object") return i;
|
|
11
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
12
|
-
}
|
|
13
|
-
return (r === "string" ? String : Number)(t);
|
|
14
|
-
}
|
|
15
|
-
module.exports = toPrimitive2, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
16
|
-
})(toPrimitive);
|
|
17
|
-
var toPrimitiveExports = toPrimitive.exports;
|
|
18
|
-
export {
|
|
19
|
-
toPrimitiveExports as t
|
|
20
|
-
};
|