@edifice.io/react 2.5.10-develop-pedago.20260217165027 → 2.5.10-develop-b2school.20260218115154

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.
Files changed (120) hide show
  1. package/dist/components/Badge/Badge.js +10 -1
  2. package/dist/components/Layout/components/WidgetApps.js +2 -2
  3. package/dist/components/MediaViewer/PdfViewer.js +14 -4
  4. package/dist/components/index.d.ts +0 -1
  5. package/dist/hooks/useBrowserInfo/useBrowserInfo.d.ts +4 -3
  6. package/dist/hooks/useBrowserInfo/useBrowserInfo.js +1 -1
  7. package/dist/hooks/useConf/useConf.d.ts +1 -1
  8. package/dist/hooks/usePreferences/usePreferences.d.ts +3 -3
  9. package/dist/hooks/useSession/useSession.d.ts +1 -1
  10. package/dist/hooks/useToast/useToast.js +5 -5
  11. package/dist/icons.js +298 -302
  12. package/dist/index.js +0 -4
  13. package/dist/modules/icons/components/index.d.ts +0 -2
  14. package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +28 -2
  15. package/dist/modules/modals/OnboardingModal/OnboardingModal.js +11 -7
  16. package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +4 -1
  17. package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +24 -17
  18. package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
  19. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
  20. package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -1
  21. package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
  22. package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
  23. package/dist/providers/AntThemeProvider/AntProvider.js +5 -5
  24. package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
  25. package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
  26. package/package.json +6 -6
  27. package/dist/_virtual/common.js +0 -4
  28. package/dist/_virtual/de_DE.js +0 -4
  29. package/dist/_virtual/de_DE2.js +0 -4
  30. package/dist/_virtual/de_DE3.js +0 -4
  31. package/dist/_virtual/de_DE4.js +0 -4
  32. package/dist/_virtual/de_DE5.js +0 -4
  33. package/dist/_virtual/de_DE6.js +0 -4
  34. package/dist/_virtual/defineProperty.js +0 -4
  35. package/dist/_virtual/es_ES.js +0 -4
  36. package/dist/_virtual/es_ES2.js +0 -4
  37. package/dist/_virtual/es_ES3.js +0 -4
  38. package/dist/_virtual/es_ES4.js +0 -4
  39. package/dist/_virtual/es_ES5.js +0 -4
  40. package/dist/_virtual/es_ES6.js +0 -4
  41. package/dist/_virtual/fr_FR.js +0 -4
  42. package/dist/_virtual/fr_FR2.js +0 -4
  43. package/dist/_virtual/fr_FR3.js +0 -4
  44. package/dist/_virtual/fr_FR4.js +0 -4
  45. package/dist/_virtual/fr_FR5.js +0 -4
  46. package/dist/_virtual/fr_FR6.js +0 -4
  47. package/dist/_virtual/interopRequireDefault.js +0 -4
  48. package/dist/_virtual/it_IT.js +0 -4
  49. package/dist/_virtual/it_IT2.js +0 -4
  50. package/dist/_virtual/it_IT3.js +0 -4
  51. package/dist/_virtual/it_IT4.js +0 -4
  52. package/dist/_virtual/it_IT5.js +0 -4
  53. package/dist/_virtual/it_IT6.js +0 -4
  54. package/dist/_virtual/objectSpread2.js +0 -4
  55. package/dist/_virtual/pt_PT.js +0 -4
  56. package/dist/_virtual/pt_PT2.js +0 -4
  57. package/dist/_virtual/pt_PT3.js +0 -4
  58. package/dist/_virtual/pt_PT4.js +0 -4
  59. package/dist/_virtual/pt_PT5.js +0 -4
  60. package/dist/_virtual/pt_PT6.js +0 -4
  61. package/dist/_virtual/toPrimitive.js +0 -4
  62. package/dist/_virtual/toPropertyKey.js +0 -4
  63. package/dist/_virtual/typeof.js +0 -4
  64. package/dist/components/AddAttachments/AddAttachments.d.ts +0 -21
  65. package/dist/components/AddAttachments/AddAttachments.js +0 -75
  66. package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.d.ts +0 -9
  67. package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.js +0 -41
  68. package/dist/components/AddAttachments/components/SingleAttachment.d.ts +0 -13
  69. package/dist/components/AddAttachments/components/SingleAttachment.js +0 -27
  70. package/dist/components/AddAttachments/hooks/useFileToAttachment.d.ts +0 -3
  71. package/dist/components/AddAttachments/hooks/useFileToAttachment.js +0 -16
  72. package/dist/components/AddAttachments/index.d.ts +0 -2
  73. package/dist/components/AddAttachments/models/attachment.d.ts +0 -10
  74. package/dist/modules/icons/components/IconCollect.d.ts +0 -7
  75. package/dist/modules/icons/components/IconCollect.js +0 -12
  76. package/dist/modules/icons/components/IconSubmission.d.ts +0 -7
  77. package/dist/modules/icons/components/IconSubmission.js +0 -12
  78. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js +0 -18
  79. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
  80. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -31
  81. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -20
  82. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -15
  83. package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js +0 -16
  84. 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 +0 -11
  85. 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 +0 -11
  86. 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 +0 -11
  87. 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 +0 -11
  88. 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 +0 -11
  89. 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 +0 -22
  90. 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 +0 -22
  91. 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 +0 -27
  92. 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 +0 -20
  93. 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 +0 -45
  94. 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 +0 -145
  95. 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 +0 -145
  96. 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 +0 -144
  97. 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 +0 -156
  98. 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 +0 -158
  99. 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 +0 -10
  100. 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 +0 -10
  101. 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 +0 -10
  102. 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 +0 -10
  103. 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 +0 -10
  104. 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 +0 -8
  105. 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 +0 -8
  106. 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 +0 -8
  107. 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 +0 -8
  108. 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 +0 -8
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. package/dist/types/color.d.ts +0 -3
@@ -1,75 +0,0 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
- import clsx from "clsx";
3
- import { useRef, useState } from "react";
4
- import { useTranslation } from "react-i18next";
5
- import SvgIconDelete from "../../modules/icons/components/IconDelete.js";
6
- import SvgIconDownload from "../../modules/icons/components/IconDownload.js";
7
- import SvgIconFolderAdd from "../../modules/icons/components/IconFolderAdd.js";
8
- import SvgIconPlus from "../../modules/icons/components/IconPlus.js";
9
- import { AddAttachmentToWorkspaceModal } from "./components/AddAttachmentToWorkspaceModal.js";
10
- import { SingleAttachment } from "./components/SingleAttachment.js";
11
- import { useFileToAttachment } from "./hooks/useFileToAttachment.js";
12
- import Flex from "../Flex/Flex.js";
13
- import IconButton from "../Button/IconButton.js";
14
- import Button from "../Button/Button.js";
15
- const AddAttachments = ({
16
- attachments,
17
- onChange,
18
- onFilesSelected,
19
- onRemoveAttachment,
20
- editMode = !1,
21
- isMutating = !1,
22
- onCopyToWorkspace,
23
- getDownloadUrl,
24
- downloadAllUrl
25
- }) => {
26
- const {
27
- t
28
- } = useTranslation(), inputRef = useRef(null), fileToAttachment = useFileToAttachment(), [attachmentsToAddToWorkspace, setAttachmentsToAddToWorkspace] = useState(void 0);
29
- if (!editMode && !attachments.length) return null;
30
- const resetInputValue = () => {
31
- inputRef.current && (inputRef.current.value = "");
32
- }, handleAttachClick = () => {
33
- var _a;
34
- return (_a = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a.click();
35
- }, handleFileChange = (event) => {
36
- const files = Array.from(event.target.files ?? []);
37
- if (files.length > 0) {
38
- const newAttachments = files.map(fileToAttachment);
39
- onChange == null || onChange([...attachments, ...newAttachments]), onFilesSelected == null || onFilesSelected(files);
40
- }
41
- resetInputValue();
42
- }, handleDetachAllClick = () => {
43
- onChange == null || onChange([]), attachments.forEach((a) => onRemoveAttachment == null ? void 0 : onRemoveAttachment(a.id)), resetInputValue();
44
- }, handleDetachClick = (attachmentId) => {
45
- const next = attachments.filter((a) => a.id !== attachmentId);
46
- onChange == null || onChange(next), onRemoveAttachment == null || onRemoveAttachment(attachmentId), resetInputValue();
47
- }, handleCopyToWorkspace = (attachments2) => {
48
- setAttachmentsToAddToWorkspace(attachments2);
49
- }, className = clsx("bg-gray-200 rounded px-12 py-8 message-attachments align-self-start gap-8 d-flex flex-column mw-100", {
50
- "border add-attachments-edit mx-16": editMode
51
- });
52
- return /* @__PURE__ */ jsxs("div", { className, "data-drag-handle": !0, children: [
53
- !!attachments.length && /* @__PURE__ */ jsxs(Fragment, { children: [
54
- /* @__PURE__ */ jsxs(Flex, { direction: "row", align: "center", justify: "between", className: "border-bottom", children: [
55
- /* @__PURE__ */ jsx("span", { className: "caption fw-bold my-8", children: t("attachments") }),
56
- attachments.length > 1 && /* @__PURE__ */ jsxs("div", { children: [
57
- onCopyToWorkspace && /* @__PURE__ */ jsx(IconButton, { title: t("conversation.copy.all.toworkspace"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconFolderAdd, {}), onClick: () => handleCopyToWorkspace(attachments), variant: "ghost" }),
58
- downloadAllUrl && /* @__PURE__ */ jsx("a", { href: downloadAllUrl, download: !0, children: /* @__PURE__ */ jsx(IconButton, { title: t("download.all.attachment"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDownload, {}), variant: "ghost" }) }),
59
- editMode && /* @__PURE__ */ jsx(IconButton, { title: t("remove.all.attachment"), color: "danger", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDelete, {}), variant: "ghost", onClick: handleDetachAllClick, disabled: isMutating })
60
- ] })
61
- ] }),
62
- /* @__PURE__ */ jsx("ul", { className: "d-flex gap-8 flex-column list-unstyled m-0", children: attachments.map((attachment) => /* @__PURE__ */ jsx("li", { className: "mw-100", children: /* @__PURE__ */ jsx(SingleAttachment, { attachment, editMode, onDelete: handleDetachClick, onCopyToWorkspace: onCopyToWorkspace ? (attachment2) => handleCopyToWorkspace([attachment2]) : void 0, getDownloadUrl, disabled: isMutating }) }, `${attachment.id}-${attachment.name}`)) })
63
- ] }),
64
- editMode && /* @__PURE__ */ jsxs(Fragment, { children: [
65
- /* @__PURE__ */ jsx(Button, { color: "secondary", variant: "ghost", isLoading: isMutating, onClick: handleAttachClick, disabled: isMutating, className: "align-self-start", leftIcon: /* @__PURE__ */ jsx(SvgIconPlus, {}), children: t("add.attachment") }),
66
- /* @__PURE__ */ jsx("input", { ref: inputRef, multiple: !0, type: "file", name: "attachment-input", id: "attachment-input", onChange: handleFileChange, hidden: !0 })
67
- ] }),
68
- onCopyToWorkspace && !!attachmentsToAddToWorkspace && /* @__PURE__ */ jsx(AddAttachmentToWorkspaceModal, { isOpen: !0, onModalClose: () => setAttachmentsToAddToWorkspace(void 0), attachments: attachmentsToAddToWorkspace, onCopyToWorkspace })
69
- ] });
70
- };
71
- export {
72
- AddAttachments,
73
- AddAttachments as default,
74
- useFileToAttachment
75
- };
@@ -1,9 +0,0 @@
1
- import { Attachment } from '../models/attachment';
2
- interface AddAttachmentToWorkspaceModalProps {
3
- attachments: Attachment[];
4
- onModalClose: () => void;
5
- isOpen?: boolean;
6
- onCopyToWorkspace: (attachments: Attachment[], folderId: string) => Promise<boolean>;
7
- }
8
- export declare function AddAttachmentToWorkspaceModal({ attachments, isOpen, onModalClose, onCopyToWorkspace, }: AddAttachmentToWorkspaceModalProps): import('react').ReactPortal;
9
- export {};
@@ -1,41 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { useState, useEffect } from "react";
3
- import { createPortal } from "react-dom";
4
- import { toast } from "react-hot-toast";
5
- import { useTranslation } from "react-i18next";
6
- import Modal from "../../Modal/Modal.js";
7
- import WorkspaceFolders from "../../../modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
8
- import Button from "../../Button/Button.js";
9
- function AddAttachmentToWorkspaceModal({
10
- attachments,
11
- isOpen = !1,
12
- onModalClose,
13
- onCopyToWorkspace
14
- }) {
15
- const {
16
- t
17
- } = useTranslation(), [selectedFolderIdToCopyFile, setSelectedFolderIdToCopyFile] = useState(void 0), [isLoading, setIsLoading] = useState(!1), [disabled, setDisabled] = useState(!1), handleFolderSelected = (folderId, canCopyFileInto) => {
18
- setSelectedFolderIdToCopyFile(canCopyFileInto ? folderId : void 0);
19
- }, handleAddAttachmentToWorkspace = async () => {
20
- if (selectedFolderIdToCopyFile === void 0) return;
21
- setIsLoading(!0), await onCopyToWorkspace(attachments, selectedFolderIdToCopyFile) ? onModalClose() : toast.error(t("attachments.add.to.folder.modal.error")), setIsLoading(!1);
22
- };
23
- return useEffect(() => {
24
- setDisabled(selectedFolderIdToCopyFile === void 0);
25
- }, [selectedFolderIdToCopyFile]), /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { isOpen, onModalClose, id: "add-attachment-to-workspace-modal", size: "md", children: [
26
- /* @__PURE__ */ jsx(Modal.Header, { onModalClose, children: t("attachments.add.to.folder.modal.title") }),
27
- /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column gap-12", children: [
28
- /* @__PURE__ */ jsx("p", { children: t("attachments.add.to.folder.modal.description", {
29
- count: attachments.length
30
- }) }),
31
- /* @__PURE__ */ jsx(WorkspaceFolders, { onFolderSelected: handleFolderSelected })
32
- ] }) }),
33
- /* @__PURE__ */ jsxs(Modal.Footer, { children: [
34
- /* @__PURE__ */ jsx(Button, { type: "button", color: "tertiary", variant: "ghost", onClick: onModalClose, children: t("attachments.add.to.folder.modal.cancel") }),
35
- /* @__PURE__ */ jsx(Button, { color: "primary", variant: "filled", onClick: handleAddAttachmentToWorkspace, disabled: isLoading || disabled, isLoading, children: t("attachments.add.to.folder.modal.add") })
36
- ] })
37
- ] }), document.getElementById("portal"));
38
- }
39
- export {
40
- AddAttachmentToWorkspaceModal
41
- };
@@ -1,13 +0,0 @@
1
- import { Attachment } from '../models/attachment';
2
- export interface SingleAttachmentProps {
3
- attachment: Attachment;
4
- onDelete: (attachmentId: string) => void;
5
- editMode?: boolean;
6
- /** Si fourni, affiche le bouton « copier vers l'espace » et appelle ce callback au clic. */
7
- onCopyToWorkspace?: (attachment: Attachment) => void;
8
- /** Si fourni, affiche le bouton télécharger avec l'URL retournée. */
9
- getDownloadUrl?: (attachmentId: string) => string;
10
- /** Désactive les boutons d'action (ex. pendant une suppression). */
11
- disabled?: boolean;
12
- }
13
- export declare function SingleAttachment({ attachment, onDelete, editMode, onCopyToWorkspace, getDownloadUrl, disabled, }: SingleAttachmentProps): import("react/jsx-runtime").JSX.Element;
@@ -1,27 +0,0 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import SvgIconDelete from "../../../modules/icons/components/IconDelete.js";
3
- import SvgIconDownload from "../../../modules/icons/components/IconDownload.js";
4
- import SvgIconFolderAdd from "../../../modules/icons/components/IconFolderAdd.js";
5
- import { useTranslation } from "react-i18next";
6
- import Attachment from "../../Attachment/Attachment.js";
7
- import IconButton from "../../Button/IconButton.js";
8
- function SingleAttachment({
9
- attachment,
10
- onDelete,
11
- editMode = !1,
12
- onCopyToWorkspace,
13
- getDownloadUrl,
14
- disabled = !1
15
- }) {
16
- const {
17
- t
18
- } = useTranslation(), downloadUrl = getDownloadUrl == null ? void 0 : getDownloadUrl(attachment.id);
19
- return /* @__PURE__ */ jsx(Attachment, { name: attachment.filename, options: /* @__PURE__ */ jsxs(Fragment, { children: [
20
- onCopyToWorkspace && /* @__PURE__ */ jsx(IconButton, { title: t("conversation.copy.toworkspace"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconFolderAdd, {}), variant: "ghost", onClick: () => onCopyToWorkspace(attachment), disabled }),
21
- downloadUrl !== void 0 && /* @__PURE__ */ jsx("a", { href: downloadUrl, download: !0, children: /* @__PURE__ */ jsx(IconButton, { title: t("download.attachment"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDownload, {}), variant: "ghost", disabled }) }),
22
- editMode && /* @__PURE__ */ jsx(IconButton, { title: t("remove.attachment"), color: "danger", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDelete, {}), variant: "ghost", onClick: () => onDelete(attachment.id), disabled })
23
- ] }) });
24
- }
25
- export {
26
- SingleAttachment
27
- };
@@ -1,3 +0,0 @@
1
- import { Attachment } from '../models/attachment';
2
- /** Convertit un File en Attachment (id unique généré). Exposé pour les apps qui utilisent AddAttachments. */
3
- export declare function useFileToAttachment(): (file: File) => Attachment;
@@ -1,16 +0,0 @@
1
- import { useCallback } from "react";
2
- function useFileToAttachment() {
3
- return useCallback((file) => ({
4
- id: `${file.name}-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,
5
- charset: "UTF-8",
6
- contentTransferEncoding: "binary",
7
- contentType: file.type || "application/octet-stream",
8
- filename: file.name,
9
- name: file.name,
10
- size: file.size,
11
- file
12
- }), []);
13
- }
14
- export {
15
- useFileToAttachment
16
- };
@@ -1,2 +0,0 @@
1
- export { default as AddAttachments } from './AddAttachments';
2
- export * from './AddAttachments';
@@ -1,10 +0,0 @@
1
- export type Attachment = {
2
- id: string;
3
- charset: string;
4
- contentTransferEncoding: string;
5
- contentType: string;
6
- filename: string;
7
- name: string;
8
- size: number;
9
- file: File;
10
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconCollect: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconCollect;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconCollect = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 20 20", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M14.988 1.667c.852 0 1.619.519 1.935 1.31l1.352 3.38q.008.02.013.04.006.015.01.03l.012.043.015.08.005.039.003.06.001.018v9.382a2.26 2.26 0 0 1-.693 1.625c-.44.425-1.03.659-1.64.659h-12c-.61 0-1.2-.234-1.64-.66a2.26 2.26 0 0 1-.693-1.624v-9.4l.003-.06.005-.04.015-.08.008-.03.006-.02a1 1 0 0 1 .028-.077L3.08 2.977a2.08 2.08 0 0 1 1.934-1.31zM3.334 16.049c0 .154.063.31.186.428.123.119.296.19.481.19h12a.7.7 0 0 0 .481-.19.6.6 0 0 0 .186-.428V7.5H3.334zm8.334-6.882a.833.833 0 0 1 0 1.666H8.334a.833.833 0 0 1 0-1.666zM5.014 3.333a.42.42 0 0 0-.386.263l-.896 2.237h12.539l-.896-2.237a.42.42 0 0 0-.387-.263z" })
9
- ] });
10
- export {
11
- SvgIconCollect as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconSubmission: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconSubmission;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconSubmission = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 20 20", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M14.583 1.667c1.15 0 2.083.933 2.083 2.083v5.542q.432-.117.864-.053a2.05 2.05 0 0 1 1.369.87c.595.856.597 2.194-.462 3.041-1.04.832-2.047 1.71-3.063 2.548-.99.818-1.975 1.587-2.875 2.107-.425.245-.906.351-1.367.395-.464.044-.962.03-1.453-.002-1.037-.067-2-.202-3.013-.202-.851 0-1.428.492-1.742 1.179a.833.833 0 1 1-1.516-.693c.52-1.137 1.61-2.153 3.258-2.153 1.071 0 2.253.151 3.12.207.462.03.857.037 1.189.005.334-.032.552-.098.691-.179.768-.443 1.658-1.132 2.647-1.949.963-.795 2.039-1.728 3.083-2.563.29-.233.293-.562.135-.79a.39.39 0 0 0-.254-.173c-.078-.012-.255-.008-.528.197-1.205.904-3.4 2.484-4.368 3.362-.471.428-1.058.554-1.548.554h-2.5a.834.834 0 0 1 0-1.666h2.5c.228 0 .36-.06.428-.122a.37.37 0 0 0 .097-.183.5.5 0 0 0-.003-.268.3.3 0 0 0-.116-.164c-.053-.039-.17-.097-.406-.097-.833 0-2.184-.224-3.285-.372a18 18 0 0 0-1.534-.155 4 4 0 0 0-.508.004c-.118.012-.155.028-.143.023-.698.351-1.412.978-2.037 1.67-.622.69-1.107 1.392-1.353 1.823a.834.834 0 0 1-1.447-.827c.309-.541.866-1.34 1.563-2.112.58-.643 1.293-1.306 2.077-1.79V3.75c0-1.15.933-2.083 2.083-2.083zM6.25 3.333a.417.417 0 0 0-.416.417v6.552q.124 0 .25.005c.508.02 1.102.091 1.687.17 1.228.164 2.378.357 3.063.357.524 0 .994.135 1.374.406.271.194.47.439.607.705.728-.56 1.527-1.152 2.185-1.64V3.75a.417.417 0 0 0-.416-.417zM11.666 5a.833.833 0 0 1 0 1.667h-2.5a.834.834 0 0 1 0-1.667z" })
9
- ] });
10
- export {
11
- SvgIconSubmission as default
12
- };
@@ -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
- };
@@ -1,15 +0,0 @@
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
- };
@@ -1,16 +0,0 @@
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
- };
@@ -1,11 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,22 +0,0 @@
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;
@@ -1,22 +0,0 @@
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;
@@ -1,27 +0,0 @@
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;
@@ -1,20 +0,0 @@
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;
@@ -1,45 +0,0 @@
1
- import { __exports as pt_PT } from "../../../../../../../../_virtual/pt_PT4.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/pt_PT.js";
4
- import "../../time-picker/locale/pt_PT.js";
5
- import { __exports as pt_PT$1 } from "../../../../../../../../_virtual/pt_PT6.js";
6
- import { __exports as pt_PT$2 } from "../../../../../../../../_virtual/pt_PT5.js";
7
- var _interopRequireDefault = interopRequireDefaultExports.default;
8
- Object.defineProperty(pt_PT, "__esModule", {
9
- value: !0
10
- });
11
- pt_PT.default = void 0;
12
- var _pt_PT = _interopRequireDefault(pt_PT$1), _pt_PT2 = _interopRequireDefault(pt_PT$2);
13
- const locale = {
14
- lang: /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.assign({}, _pt_PT.default), {
15
- placeholder: "Data",
16
- rangePlaceholder: ["Data inicial", "Data final"],
17
- today: "Hoje",
18
- now: "Agora",
19
- backToToday: "Hoje",
20
- ok: "OK",
21
- clear: "Limpar",
22
- month: "Mês",
23
- year: "Ano",
24
- timeSelect: "Hora",
25
- dateSelect: "Selecionar data",
26
- monthSelect: "Selecionar mês",
27
- yearSelect: "Selecionar ano",
28
- decadeSelect: "Selecionar década",
29
- yearFormat: "YYYY",
30
- monthFormat: "MMMM",
31
- monthBeforeYear: !1,
32
- previousMonth: "Mês anterior (PageUp)",
33
- nextMonth: "Mês seguinte (PageDown)",
34
- previousYear: "Ano anterior (Control + left)",
35
- nextYear: "Ano seguinte (Control + right)",
36
- previousDecade: "Última década",
37
- nextDecade: "Próxima década",
38
- previousCentury: "Último século",
39
- nextCentury: "Próximo século"
40
- }),
41
- timePickerLocale: /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.assign({}, _pt_PT2.default), {
42
- placeholder: "Hora"
43
- })
44
- };
45
- pt_PT.default = locale;