@edifice.io/react 2.5.13-develop-b2school.20260313184353 → 2.5.13-develop-pedago.20260316113612
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/_virtual/common.js +4 -0
- package/dist/_virtual/de_DE.js +4 -0
- package/dist/_virtual/de_DE2.js +4 -0
- package/dist/_virtual/de_DE3.js +4 -0
- package/dist/_virtual/de_DE4.js +4 -0
- package/dist/_virtual/de_DE5.js +4 -0
- package/dist/_virtual/de_DE6.js +4 -0
- package/dist/_virtual/defineProperty.js +4 -0
- package/dist/_virtual/es_ES.js +4 -0
- package/dist/_virtual/es_ES2.js +4 -0
- package/dist/_virtual/es_ES3.js +4 -0
- package/dist/_virtual/es_ES4.js +4 -0
- package/dist/_virtual/es_ES5.js +4 -0
- package/dist/_virtual/es_ES6.js +4 -0
- package/dist/_virtual/fr_FR.js +4 -0
- package/dist/_virtual/fr_FR2.js +4 -0
- package/dist/_virtual/fr_FR3.js +4 -0
- package/dist/_virtual/fr_FR4.js +4 -0
- package/dist/_virtual/fr_FR5.js +4 -0
- package/dist/_virtual/fr_FR6.js +4 -0
- package/dist/_virtual/interopRequireDefault.js +4 -0
- package/dist/_virtual/it_IT.js +4 -0
- package/dist/_virtual/it_IT2.js +4 -0
- package/dist/_virtual/it_IT3.js +4 -0
- package/dist/_virtual/it_IT4.js +4 -0
- package/dist/_virtual/it_IT5.js +4 -0
- package/dist/_virtual/it_IT6.js +4 -0
- package/dist/_virtual/objectSpread2.js +4 -0
- package/dist/_virtual/pt_PT.js +4 -0
- package/dist/_virtual/pt_PT2.js +4 -0
- package/dist/_virtual/pt_PT3.js +4 -0
- package/dist/_virtual/pt_PT4.js +4 -0
- package/dist/_virtual/pt_PT5.js +4 -0
- package/dist/_virtual/pt_PT6.js +4 -0
- package/dist/_virtual/toPrimitive.js +4 -0
- package/dist/_virtual/toPropertyKey.js +4 -0
- package/dist/_virtual/typeof.js +4 -0
- package/dist/components/AddAttachments/AddAttachments.d.ts +6 -3
- package/dist/components/AddAttachments/AddAttachments.js +17 -29
- package/dist/components/AddAttachments/hooks/useFileToAttachment.d.ts +3 -0
- package/dist/components/AddAttachments/hooks/useFileToAttachment.js +16 -0
- package/dist/components/AddAttachments/models/attachment.d.ts +1 -0
- package/dist/components/Badge/Badge.js +1 -0
- package/dist/components/Layout/components/WidgetApps.js +2 -2
- package/dist/components/MediaViewer/PdfViewer.js +4 -14
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +0 -8
- package/dist/components/SegmentedControl/SegmentedControl.js +6 -12
- package/dist/components/UserSearch/UserSearch.d.ts +7 -0
- package/dist/components/UserSearch/UserSearch.js +82 -0
- package/dist/components/UserSearch/index.d.ts +3 -0
- package/dist/components/UserSearch/types/types.d.ts +29 -0
- package/dist/components/UserSearch/types/visible.d.ts +24 -0
- package/dist/components/UserSearch/types/visible.js +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/useConversation/useConversation.js +4 -2
- package/dist/hooks/useDropzone/useDropzone.js +4 -4
- package/dist/hooks/usePreferences/usePreferences.d.ts +3 -3
- package/dist/hooks/useToast/useToast.js +5 -5
- package/dist/index.js +6 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +2 -28
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +9 -13
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +1 -4
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +20 -28
- package/dist/modules/modals/ShareModal/ShareResources.js +1 -1
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js +18 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js +13 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/objectSpread2.js +31 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js +20 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js +15 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js +16 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/de_DE.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/es_ES.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/fr_FR.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/it_IT.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/pt_PT.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/de_DE.js +22 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/es_ES.js +22 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/fr_FR.js +27 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/it_IT.js +20 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/pt_PT.js +45 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/de_DE.js +145 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/es_ES.js +145 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/fr_FR.js +144 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/it_IT.js +156 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/pt_PT.js +158 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/de_DE.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/es_ES.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/fr_FR.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/it_IT.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/pt_PT.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/de_DE.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/es_ES.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/fr_FR.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/it_IT.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/pt_PT.js +8 -0
- 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 +21 -0
- 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 +21 -0
- 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 +21 -0
- 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 +21 -0
- 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 +21 -0
- 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 +14 -0
- 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 +37 -0
- 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 +37 -0
- 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 +38 -0
- 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 +37 -0
- 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 +39 -0
- package/dist/providers/AntThemeProvider/AntProvider.js +5 -5
- package/package.json +7 -7
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum VisibleType {
|
|
2
|
+
User = "User",
|
|
3
|
+
Group = "Group",
|
|
4
|
+
ShareBookmark = "ShareBookmark",
|
|
5
|
+
BroadcastGroup = "BroadcastGroup"
|
|
6
|
+
}
|
|
7
|
+
export type Visible = {
|
|
8
|
+
id: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
type: VisibleType;
|
|
11
|
+
children?: {
|
|
12
|
+
id: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}[];
|
|
15
|
+
groupType?: string;
|
|
16
|
+
nbUsers?: number;
|
|
17
|
+
profile?: string;
|
|
18
|
+
relatives?: {
|
|
19
|
+
id: string;
|
|
20
|
+
displayName: string;
|
|
21
|
+
}[];
|
|
22
|
+
structureName?: string;
|
|
23
|
+
usedIn?: ('TO' | 'CC' | 'CCI')[];
|
|
24
|
+
};
|
|
@@ -6,11 +6,13 @@ const useConversation = () => {
|
|
|
6
6
|
const zimbraWorkflow = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|view"), zimbraPreauth = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|preauth"), [msgLink, setMsgLink] = useState(""), queryParams = {
|
|
7
7
|
unread: !0,
|
|
8
8
|
_: (/* @__PURE__ */ new Date()).getTime()
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
zimbraWorkflow || (queryParams.queryparam_token = (/* @__PURE__ */ new Date()).getTime());
|
|
11
|
+
const {
|
|
10
12
|
data: messages
|
|
11
13
|
} = useQuery({
|
|
12
14
|
queryKey: ["folder", "count", "inbox"],
|
|
13
|
-
queryFn: async () => await odeServices.http().get(zimbraWorkflow ? "/zimbra/count/INBOX" : "/conversation/
|
|
15
|
+
queryFn: async () => await odeServices.http().get(zimbraWorkflow ? "/zimbra/count/INBOX" : "/conversation/count/inbox", {
|
|
14
16
|
queryParams
|
|
15
17
|
}),
|
|
16
18
|
staleTime: 5 * 60 * 1e3
|
|
@@ -35,11 +35,11 @@ const useDropzone = (props) => {
|
|
|
35
35
|
}, convertHEICImages = async (files2) => {
|
|
36
36
|
if (files2 === null || files2.length === 0)
|
|
37
37
|
return [];
|
|
38
|
-
let
|
|
39
|
-
return files2.some((file) => HEIC_MIME_TYPES.includes(file.type)) && (
|
|
40
|
-
if (
|
|
38
|
+
let heicToLib;
|
|
39
|
+
return files2.some((file) => HEIC_MIME_TYPES.includes(file.type)) && (heicToLib = await import("heic-to")), Promise.all(files2.map(async (file) => {
|
|
40
|
+
if (heicToLib && heicToLib.isHeic(file))
|
|
41
41
|
try {
|
|
42
|
-
const converted = await
|
|
42
|
+
const converted = await heicToLib.heicTo({
|
|
43
43
|
blob: file,
|
|
44
44
|
toType: "image/jpeg"
|
|
45
45
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function usePreferences
|
|
2
|
-
getPreference: () => Promise<
|
|
3
|
-
savePreference: (value:
|
|
1
|
+
export default function usePreferences(name: string): {
|
|
2
|
+
getPreference: () => Promise<any>;
|
|
3
|
+
savePreference: (value: any) => Promise<void>;
|
|
4
4
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import toast from "react-hot-toast";
|
|
3
3
|
import Alert from "../../components/Alert/Alert.js";
|
|
4
|
-
const DEFAULT_POSITION = "top-right"
|
|
4
|
+
const DEFAULT_POSITION = "top-right";
|
|
5
5
|
function useToast() {
|
|
6
6
|
return {
|
|
7
7
|
success: (message, options) => toast.custom(/* @__PURE__ */ jsx(Alert, { type: "success", isToast: !0, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
8
8
|
id: options == null ? void 0 : options.id,
|
|
9
|
-
duration:
|
|
9
|
+
duration: options == null ? void 0 : options.duration,
|
|
10
10
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
11
11
|
}),
|
|
12
12
|
error: (message, options) => toast.custom(/* @__PURE__ */ jsx(Alert, { type: "danger", isToast: !0, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
13
13
|
id: options == null ? void 0 : options.id,
|
|
14
|
-
duration:
|
|
14
|
+
duration: options == null ? void 0 : options.duration,
|
|
15
15
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
16
16
|
}),
|
|
17
17
|
info: (message, options) => toast.custom(/* @__PURE__ */ jsx(Alert, { type: "info", isToast: !0, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
18
18
|
id: options == null ? void 0 : options.id,
|
|
19
|
-
duration:
|
|
19
|
+
duration: options == null ? void 0 : options.duration,
|
|
20
20
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
21
21
|
}),
|
|
22
22
|
warning: (message, options) => toast.custom(/* @__PURE__ */ jsx(Alert, { type: "warning", isToast: !0, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
23
23
|
id: options == null ? void 0 : options.id,
|
|
24
|
-
duration:
|
|
24
|
+
duration: options == null ? void 0 : options.duration,
|
|
25
25
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
26
26
|
}),
|
|
27
27
|
loading: toast.loading,
|
package/dist/index.js
CHANGED
|
@@ -133,6 +133,8 @@ import { Toolbar } from "./components/Toolbar/Toolbar.js";
|
|
|
133
133
|
import { TreeNode } from "./components/TreeView/TreeNode.js";
|
|
134
134
|
import { TreeNodeFolderWrapper, addNode, arrayUnique, deleteNode, findNodeById, findParentNode, findPathById, findTreeNode, getAncestors, hasChildren, modifyNode, moveNode, updateNode, wrapTreeNode } from "./components/TreeView/utilities/treeview.js";
|
|
135
135
|
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
136
|
+
import { UserSearch } from "./components/UserSearch/UserSearch.js";
|
|
137
|
+
import { VisibleType } from "./components/UserSearch/types/visible.js";
|
|
136
138
|
import { buildTree, determineNewParentId, findItemIndexInTree, flattenNodes, flattenTree, generateUpdateData, getActiveAndOverNodes, getDragDepth, getIndicesToUpdate, getProjection, updateParentIds } from "./components/Tree/utilities/tree-sortable.js";
|
|
137
139
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
138
140
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
@@ -141,6 +143,7 @@ import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
|
141
143
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
142
144
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
143
145
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
146
|
+
import { useFileToAttachment } from "./components/AddAttachments/hooks/useFileToAttachment.js";
|
|
144
147
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
145
148
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
146
149
|
export {
|
|
@@ -240,8 +243,10 @@ export {
|
|
|
240
243
|
Upload,
|
|
241
244
|
default67 as UploadCard,
|
|
242
245
|
default68 as UploadFiles,
|
|
246
|
+
UserSearch,
|
|
243
247
|
default69 as VideoEmbed,
|
|
244
248
|
default70 as VideoRecorder,
|
|
249
|
+
VisibleType,
|
|
245
250
|
default71 as VisuallyHidden,
|
|
246
251
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
247
252
|
WORKSPACE_USER_FOLDER_ID,
|
|
@@ -291,6 +296,7 @@ export {
|
|
|
291
296
|
useEdificeClient,
|
|
292
297
|
default85 as useEdificeIcons,
|
|
293
298
|
useEdificeTheme,
|
|
299
|
+
useFileToAttachment,
|
|
294
300
|
default86 as useHasWorkflow,
|
|
295
301
|
default87 as useHover,
|
|
296
302
|
default88 as useHttpErrorToast,
|
|
@@ -38,37 +38,11 @@ export interface OnboardingModalRef {
|
|
|
38
38
|
setIsOpen: (isOpen: boolean) => void;
|
|
39
39
|
handleSavePreference: () => void;
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
* Result of a custom display check. Must contain the following data :
|
|
43
|
-
* - display: a boolean indicating whether the modal should be shown when truthy or hidden if falsy;
|
|
44
|
-
* - nextState: the next state to persist when onboarding is done.
|
|
45
|
-
*/
|
|
46
|
-
export interface DisplayRuleCheckResult<T> {
|
|
47
|
-
display: boolean;
|
|
48
|
-
nextState: T;
|
|
49
|
-
}
|
|
50
|
-
export interface OnboardingProps<T = boolean> {
|
|
41
|
+
interface OnboardingProps {
|
|
51
42
|
id: string;
|
|
52
43
|
items: ModalItemsProps[];
|
|
53
44
|
modalOptions?: ModalOptionsProps;
|
|
54
45
|
isOnboardingChange?: (isOnboarding: boolean) => void;
|
|
55
|
-
/**
|
|
56
|
-
* Allow the parent component to control the rule for showing/hiding the modal.
|
|
57
|
-
*
|
|
58
|
-
* If undefined, the component will manage a visible/hidden state on its own.
|
|
59
|
-
*
|
|
60
|
-
* If defined, this function is called with the previously known state (if any).
|
|
61
|
-
* It can then compute the next state and return a DisplayRuleCheckResult.
|
|
62
|
-
*
|
|
63
|
-
* Note that the user may close the modal without finishing their onboarding.
|
|
64
|
-
* In this case, the next state is not persisted.
|
|
65
|
-
*/
|
|
66
|
-
onDisplayRuleCheck?: (previousState?: T) => DisplayRuleCheckResult<T>;
|
|
67
46
|
}
|
|
68
|
-
declare const
|
|
69
|
-
declare const OnboardingModal: (<T = boolean>(props: OnboardingProps<T> & {
|
|
70
|
-
ref?: React.Ref<OnboardingModalRef>;
|
|
71
|
-
}) => ReturnType<typeof OnboardingModalInner>) & {
|
|
72
|
-
displayName?: string;
|
|
73
|
-
};
|
|
47
|
+
declare const OnboardingModal: import('react').ForwardRefExoticComponent<OnboardingProps & import('react').RefAttributes<OnboardingModalRef>>;
|
|
74
48
|
export default OnboardingModal;
|
|
@@ -8,15 +8,11 @@ import { useOnboardingModal } from "./useOnboardingModal.js";
|
|
|
8
8
|
import Modal from "../../../components/Modal/Modal.js";
|
|
9
9
|
import Image from "../../../components/Image/Image.js";
|
|
10
10
|
import Button from "../../../components/Button/Button.js";
|
|
11
|
-
const
|
|
11
|
+
const OnboardingModal = /* @__PURE__ */ forwardRef(({
|
|
12
12
|
id,
|
|
13
13
|
items,
|
|
14
14
|
modalOptions = {},
|
|
15
|
-
isOnboardingChange
|
|
16
|
-
onDisplayRuleCheck = (previousState) => ({
|
|
17
|
-
display: previousState === !0,
|
|
18
|
-
nextState: !1
|
|
19
|
-
})
|
|
15
|
+
isOnboardingChange
|
|
20
16
|
}, ref) => {
|
|
21
17
|
var _a;
|
|
22
18
|
const [swiperInstance, setSwiperInstance] = useState(), [swiperProgress, setSwiperprogress] = useState(0), {
|
|
@@ -24,12 +20,12 @@ const OnboardingModalInner = ({
|
|
|
24
20
|
isOnboarding,
|
|
25
21
|
setIsOpen,
|
|
26
22
|
handleSavePreference
|
|
27
|
-
} = useOnboardingModal(id
|
|
23
|
+
} = useOnboardingModal(id);
|
|
28
24
|
useImperativeHandle(ref, () => ({
|
|
29
25
|
setIsOpen,
|
|
30
26
|
handleSavePreference
|
|
31
27
|
})), useEffect(() => {
|
|
32
|
-
isOnboardingChange
|
|
28
|
+
isOnboardingChange && isOnboardingChange(isOnboarding);
|
|
33
29
|
}, [isOnboarding, isOnboardingChange]), useEffect(() => {
|
|
34
30
|
const link = document.createElement("link");
|
|
35
31
|
return link.href = "https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css", link.rel = "stylesheet", link.type = "text/css", document.head.appendChild(link), () => {
|
|
@@ -48,7 +44,7 @@ const OnboardingModalInner = ({
|
|
|
48
44
|
}, handleCloseWithoutPreference = () => {
|
|
49
45
|
setIsOpen(!1), setSwiperprogress(0);
|
|
50
46
|
};
|
|
51
|
-
return
|
|
47
|
+
return /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", "data-testid": "modal-onboarding", size: "md", isOpen, focusId: "nextButtonId", onModalClose: handleCloseWithoutPreference, children: [
|
|
52
48
|
/* @__PURE__ */ jsx(Modal.Header, { onModalClose: handleCloseWithoutPreference, centered: !0, children: t(currentTitle || "explorer.modal.onboarding.trash.title") }),
|
|
53
49
|
/* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(Swiper, { modules: [Pagination], onSwiper: (swiper) => {
|
|
54
50
|
setSwiperInstance(swiper);
|
|
@@ -65,13 +61,13 @@ const OnboardingModalInner = ({
|
|
|
65
61
|
/* @__PURE__ */ jsxs(Modal.Footer, { children: [
|
|
66
62
|
/* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-later", type: "button", color: "tertiary", variant: "ghost", onClick: handleCloseWithoutPreference, children: t("explorer.modal.onboarding.trash.later") }),
|
|
67
63
|
swiperProgress > 0 && /* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-previous", type: "button", color: "primary", variant: "outline", onClick: () => swiperInstance.slidePrev(), children: t(prevText || "explorer.modal.onboarding.trash.prev") }),
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
swiperProgress < 1 && /* @__PURE__ */ jsx(Button, { id: "nextButtonId", "data-testid": "modal-onboarding-next", type: "button", color: "primary", variant: "filled", onClick: () => swiperInstance.slideNext(), children: t(nextText || "explorer.modal.onboarding.trash.next") }),
|
|
65
|
+
swiperProgress === 1 && /* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-close", type: "button", color: "primary", variant: "filled", onClick: () => {
|
|
70
66
|
isOnboarding ? handleCloseWithPreference() : handleCloseWithoutPreference();
|
|
71
67
|
}, children: t(closeText || "explorer.modal.onboarding.trash.close") })
|
|
72
68
|
] })
|
|
73
|
-
] }), document.getElementById("portal") || document.body)
|
|
74
|
-
}
|
|
69
|
+
] }), document.getElementById("portal") || document.body);
|
|
70
|
+
});
|
|
75
71
|
export {
|
|
76
72
|
OnboardingModal as default
|
|
77
73
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare const useOnboardingModal:
|
|
2
|
-
display: boolean;
|
|
3
|
-
nextState: T;
|
|
4
|
-
}) => {
|
|
1
|
+
export declare const useOnboardingModal: (id: string) => {
|
|
5
2
|
isOpen: boolean;
|
|
6
3
|
setIsOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
7
4
|
isOnboarding: boolean;
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
useEffect(() => {
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
import { odeServices } from "@edifice.io/client";
|
|
3
|
+
const getOnboardingTrash = async (key) => await odeServices.conf().getPreference(key), saveOnboardingTrash = async (key) => await odeServices.conf().savePreference(key, JSON.stringify({
|
|
4
|
+
key: !1
|
|
5
|
+
})), useOnboardingModal = (id) => {
|
|
6
|
+
const [isOpen, setIsOpen] = useState(!1), [isOnboarding, setIsOnboarding] = useState(!1);
|
|
7
|
+
return useEffect(() => {
|
|
9
8
|
(async () => {
|
|
10
|
-
const response = await
|
|
11
|
-
if (response)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
response.key === !0 && setIsOpen(!0), setIsOnboarding(!!response.key), state.current = void 0;
|
|
20
|
-
else
|
|
21
|
-
setIsOpen(!0), setIsOnboarding(!0), state.current = void 0;
|
|
9
|
+
const response = await getOnboardingTrash(id);
|
|
10
|
+
if (response) {
|
|
11
|
+
const {
|
|
12
|
+
key
|
|
13
|
+
} = response;
|
|
14
|
+
key === !0 && setIsOpen(!0), setIsOnboarding(key);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
setIsOnboarding(!0), setIsOpen(!0);
|
|
22
18
|
})();
|
|
23
|
-
}, [])
|
|
24
|
-
const handleSavePreference = useCallback(async () => {
|
|
25
|
-
await savePreference({
|
|
26
|
-
key: state.current
|
|
27
|
-
}), setIsOpen(!1), setIsOnboarding(!1);
|
|
28
|
-
}, [savePreference, setIsOpen, setIsOnboarding]);
|
|
29
|
-
return {
|
|
19
|
+
}, [id]), {
|
|
30
20
|
isOpen,
|
|
31
21
|
setIsOpen,
|
|
32
22
|
isOnboarding,
|
|
33
|
-
handleSavePreference
|
|
23
|
+
handleSavePreference: async () => {
|
|
24
|
+
await saveOnboardingTrash(id), setIsOpen(!1), setIsOnboarding(!1);
|
|
25
|
+
}
|
|
34
26
|
};
|
|
35
27
|
};
|
|
36
28
|
export {
|
|
@@ -139,7 +139,7 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
|
|
|
139
139
|
/* @__PURE__ */ jsx(Button, { "data-testid": "share-bookmark-show-button", color: "tertiary", leftIcon: /* @__PURE__ */ jsx(SvgIconBookmark, {}), rightIcon: /* @__PURE__ */ jsx(SvgIconRafterDown, { title: t("show"), className: "w-16 min-w-0", style: {
|
|
140
140
|
transition: "rotate 0.2s ease-out",
|
|
141
141
|
rotate: showBookmarkInput ? "-180deg" : "0deg"
|
|
142
|
-
} }), type: "button", variant: "ghost", className: "fw-normal
|
|
142
|
+
} }), type: "button", variant: "ghost", className: "fw-normal", onClick: () => toggleBookmarkInput(!showBookmarkInput), children: t("share.save.sharebookmark") }),
|
|
143
143
|
showBookmarkInput && /* @__PURE__ */ jsx(ShareBookmark, { refBookmark, bookmark, onBookmarkChange: handleBookmarkChange, onSave: handleOnSaveBookmark })
|
|
144
144
|
] })
|
|
145
145
|
] });
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __module as toPropertyKey } from "../../../../../../../_virtual/toPropertyKey.js";
|
|
2
|
+
import { _ as _typeofExports } from "./typeof.js";
|
|
3
|
+
import { t as toPrimitiveExports } from "./toPrimitive.js";
|
|
4
|
+
(function(module) {
|
|
5
|
+
var _typeof = _typeofExports.default, toPrimitive = toPrimitiveExports;
|
|
6
|
+
function toPropertyKey2(t) {
|
|
7
|
+
var i = toPrimitive(t, "string");
|
|
8
|
+
return _typeof(i) == "symbol" ? i : i + "";
|
|
9
|
+
}
|
|
10
|
+
module.exports = toPropertyKey2, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
11
|
+
})(toPropertyKey);
|
|
12
|
+
var toPropertyKeyExports = toPropertyKey.exports;
|
|
13
|
+
export {
|
|
14
|
+
toPropertyKeyExports as t
|
|
15
|
+
};
|
package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __module as _typeof } from "../../../../../../../_virtual/typeof.js";
|
|
2
|
+
(function(module) {
|
|
3
|
+
function _typeof2(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
return module.exports = _typeof2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o2) {
|
|
6
|
+
return typeof o2;
|
|
7
|
+
} : function(o2) {
|
|
8
|
+
return o2 && typeof Symbol == "function" && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
9
|
+
}, module.exports.__esModule = !0, module.exports.default = module.exports, _typeof2(o);
|
|
10
|
+
}
|
|
11
|
+
module.exports = _typeof2, module.exports.__esModule = !0, module.exports.default = module.exports;
|
|
12
|
+
})(_typeof);
|
|
13
|
+
var _typeofExports = _typeof.exports;
|
|
14
|
+
export {
|
|
15
|
+
_typeofExports as _
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exports as de_DE } from "../../../../../../../../_virtual/de_DE3.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../date-picker/locale/de_DE.js";
|
|
4
|
+
import { __exports as de_DE$1 } from "../../../../../../../../_virtual/de_DE4.js";
|
|
5
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
6
|
+
Object.defineProperty(de_DE, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
de_DE.default = void 0;
|
|
10
|
+
var _de_DE = _interopRequireDefault(de_DE$1);
|
|
11
|
+
de_DE.default = _de_DE.default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exports as es_ES } from "../../../../../../../../_virtual/es_ES3.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../date-picker/locale/es_ES.js";
|
|
4
|
+
import { __exports as es_ES$1 } from "../../../../../../../../_virtual/es_ES4.js";
|
|
5
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
6
|
+
Object.defineProperty(es_ES, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
es_ES.default = void 0;
|
|
10
|
+
var _es_ES = _interopRequireDefault(es_ES$1);
|
|
11
|
+
es_ES.default = _es_ES.default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exports as fr_FR } from "../../../../../../../../_virtual/fr_FR3.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../date-picker/locale/fr_FR.js";
|
|
4
|
+
import { __exports as fr_FR$1 } from "../../../../../../../../_virtual/fr_FR4.js";
|
|
5
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
6
|
+
Object.defineProperty(fr_FR, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
fr_FR.default = void 0;
|
|
10
|
+
var _fr_FR = _interopRequireDefault(fr_FR$1);
|
|
11
|
+
fr_FR.default = _fr_FR.default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exports as it_IT } from "../../../../../../../../_virtual/it_IT3.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../date-picker/locale/it_IT.js";
|
|
4
|
+
import { __exports as it_IT$1 } from "../../../../../../../../_virtual/it_IT4.js";
|
|
5
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
6
|
+
Object.defineProperty(it_IT, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
it_IT.default = void 0;
|
|
10
|
+
var _it_IT = _interopRequireDefault(it_IT$1);
|
|
11
|
+
it_IT.default = _it_IT.default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exports as pt_PT } from "../../../../../../../../_virtual/pt_PT3.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../date-picker/locale/pt_PT.js";
|
|
4
|
+
import { __exports as pt_PT$1 } from "../../../../../../../../_virtual/pt_PT4.js";
|
|
5
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
6
|
+
Object.defineProperty(pt_PT, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
pt_PT.default = void 0;
|
|
10
|
+
var _pt_PT = _interopRequireDefault(pt_PT$1);
|
|
11
|
+
pt_PT.default = _pt_PT.default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __exports as de_DE } from "../../../../../../../../_virtual/de_DE4.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../../../../../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";
|
|
4
|
+
import "../../time-picker/locale/de_DE.js";
|
|
5
|
+
import { __exports as de_DE$1 } from "../../../../../../../../_virtual/de_DE6.js";
|
|
6
|
+
import { __exports as de_DE$2 } from "../../../../../../../../_virtual/de_DE5.js";
|
|
7
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
8
|
+
Object.defineProperty(de_DE, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
de_DE.default = void 0;
|
|
12
|
+
var _de_DE = _interopRequireDefault(de_DE$1), _de_DE2 = _interopRequireDefault(de_DE$2);
|
|
13
|
+
const locale = {
|
|
14
|
+
lang: /* @__PURE__ */ Object.assign({
|
|
15
|
+
placeholder: "Datum auswählen",
|
|
16
|
+
rangePlaceholder: ["Startdatum", "Enddatum"],
|
|
17
|
+
shortWeekDays: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
18
|
+
shortMonths: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"]
|
|
19
|
+
}, _de_DE.default),
|
|
20
|
+
timePickerLocale: /* @__PURE__ */ Object.assign({}, _de_DE2.default)
|
|
21
|
+
};
|
|
22
|
+
de_DE.default = locale;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __exports as es_ES } from "../../../../../../../../_virtual/es_ES4.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../../../../../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";
|
|
4
|
+
import "../../time-picker/locale/es_ES.js";
|
|
5
|
+
import { __exports as es_ES$1 } from "../../../../../../../../_virtual/es_ES6.js";
|
|
6
|
+
import { __exports as es_ES$2 } from "../../../../../../../../_virtual/es_ES5.js";
|
|
7
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
8
|
+
Object.defineProperty(es_ES, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
es_ES.default = void 0;
|
|
12
|
+
var _es_ES = _interopRequireDefault(es_ES$1), _es_ES2 = _interopRequireDefault(es_ES$2);
|
|
13
|
+
const locale = {
|
|
14
|
+
lang: /* @__PURE__ */ Object.assign({
|
|
15
|
+
placeholder: "Seleccionar fecha",
|
|
16
|
+
rangePlaceholder: ["Fecha inicial", "Fecha final"],
|
|
17
|
+
shortWeekDays: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
|
|
18
|
+
shortMonths: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"]
|
|
19
|
+
}, _es_ES.default),
|
|
20
|
+
timePickerLocale: /* @__PURE__ */ Object.assign({}, _es_ES2.default)
|
|
21
|
+
};
|
|
22
|
+
es_ES.default = locale;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __exports as fr_FR } from "../../../../../../../../_virtual/fr_FR4.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../../../../../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";
|
|
4
|
+
import "../../time-picker/locale/fr_FR.js";
|
|
5
|
+
import { __exports as fr_FR$1 } from "../../../../../../../../_virtual/fr_FR6.js";
|
|
6
|
+
import { __exports as fr_FR$2 } from "../../../../../../../../_virtual/fr_FR5.js";
|
|
7
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
8
|
+
Object.defineProperty(fr_FR, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
fr_FR.default = void 0;
|
|
12
|
+
var _fr_FR = _interopRequireDefault(fr_FR$1), _fr_FR2 = _interopRequireDefault(fr_FR$2);
|
|
13
|
+
const locale = {
|
|
14
|
+
lang: /* @__PURE__ */ Object.assign({
|
|
15
|
+
placeholder: "Sélectionner une date",
|
|
16
|
+
yearPlaceholder: "Sélectionner une année",
|
|
17
|
+
quarterPlaceholder: "Sélectionner un trimestre",
|
|
18
|
+
monthPlaceholder: "Sélectionner un mois",
|
|
19
|
+
weekPlaceholder: "Sélectionner une semaine",
|
|
20
|
+
rangePlaceholder: ["Date de début", "Date de fin"],
|
|
21
|
+
rangeYearPlaceholder: ["Année de début", "Année de fin"],
|
|
22
|
+
rangeMonthPlaceholder: ["Mois de début", "Mois de fin"],
|
|
23
|
+
rangeWeekPlaceholder: ["Semaine de début", "Semaine de fin"]
|
|
24
|
+
}, _fr_FR.default),
|
|
25
|
+
timePickerLocale: /* @__PURE__ */ Object.assign({}, _fr_FR2.default)
|
|
26
|
+
};
|
|
27
|
+
fr_FR.default = locale;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __exports as it_IT } from "../../../../../../../../_virtual/it_IT4.js";
|
|
2
|
+
import { i as interopRequireDefaultExports } from "../../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js";
|
|
3
|
+
import "../../../../../../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";
|
|
4
|
+
import "../../time-picker/locale/it_IT.js";
|
|
5
|
+
import { __exports as it_IT$1 } from "../../../../../../../../_virtual/it_IT6.js";
|
|
6
|
+
import { __exports as it_IT$2 } from "../../../../../../../../_virtual/it_IT5.js";
|
|
7
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
8
|
+
Object.defineProperty(it_IT, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
it_IT.default = void 0;
|
|
12
|
+
var _it_IT = _interopRequireDefault(it_IT$1), _it_IT2 = _interopRequireDefault(it_IT$2);
|
|
13
|
+
const locale = {
|
|
14
|
+
lang: /* @__PURE__ */ Object.assign({
|
|
15
|
+
placeholder: "Selezionare la data",
|
|
16
|
+
rangePlaceholder: ["Data d'inizio", "Data di fine"]
|
|
17
|
+
}, _it_IT.default),
|
|
18
|
+
timePickerLocale: /* @__PURE__ */ Object.assign({}, _it_IT2.default)
|
|
19
|
+
};
|
|
20
|
+
it_IT.default = locale;
|