@edifice.io/react 2.5.10-develop-b2school.20260218115154 → 2.5.10-develop-pedago.20260218134950
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 +21 -0
- package/dist/components/AddAttachments/AddAttachments.js +75 -0
- package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.d.ts +9 -0
- package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.js +41 -0
- package/dist/components/AddAttachments/components/SingleAttachment.d.ts +13 -0
- package/dist/components/AddAttachments/components/SingleAttachment.js +27 -0
- package/dist/components/AddAttachments/hooks/useFileToAttachment.d.ts +3 -0
- package/dist/components/AddAttachments/hooks/useFileToAttachment.js +16 -0
- package/dist/components/AddAttachments/index.d.ts +2 -0
- package/dist/components/AddAttachments/models/attachment.d.ts +10 -0
- package/dist/components/Badge/Badge.js +1 -10
- package/dist/components/Layout/components/WidgetApps.js +2 -2
- package/dist/components/MediaViewer/PdfViewer.js +4 -14
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/useBrowserInfo/useBrowserInfo.d.ts +3 -4
- package/dist/hooks/useBrowserInfo/useBrowserInfo.js +1 -1
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/usePreferences/usePreferences.d.ts +3 -3
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useToast/useToast.js +5 -5
- package/dist/icons.js +302 -298
- package/dist/index.js +4 -0
- package/dist/modules/icons/components/IconCollect.d.ts +7 -0
- package/dist/modules/icons/components/IconCollect.js +12 -0
- package/dist/modules/icons/components/IconSubmission.d.ts +7 -0
- package/dist/modules/icons/components/IconSubmission.js +12 -0
- package/dist/modules/icons/components/index.d.ts +2 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +2 -28
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +7 -11
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +1 -4
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +17 -24
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +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/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/types/color.d.ts +3 -0
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as default2 } from "./components/ActionBar/ActionBar.js";
|
|
2
|
+
import { AddAttachments } from "./components/AddAttachments/AddAttachments.js";
|
|
2
3
|
import { default as default3 } from "./components/Alert/Alert.js";
|
|
3
4
|
import { default as default4 } from "./components/AppHeader/AppHeader.js";
|
|
4
5
|
import { default as default5 } from "./components/AppIcon/AppIcon.js";
|
|
@@ -140,11 +141,13 @@ import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
|
140
141
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
141
142
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
142
143
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
144
|
+
import { useFileToAttachment } from "./components/AddAttachments/hooks/useFileToAttachment.js";
|
|
143
145
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
144
146
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
145
147
|
export {
|
|
146
148
|
AccessiblePalette,
|
|
147
149
|
default2 as ActionBar,
|
|
150
|
+
AddAttachments,
|
|
148
151
|
default3 as Alert,
|
|
149
152
|
AntProvider,
|
|
150
153
|
default4 as AppHeader,
|
|
@@ -289,6 +292,7 @@ export {
|
|
|
289
292
|
useEdificeClient,
|
|
290
293
|
default85 as useEdificeIcons,
|
|
291
294
|
useEdificeTheme,
|
|
295
|
+
useFileToAttachment,
|
|
292
296
|
default86 as useHasWorkflow,
|
|
293
297
|
default87 as useHover,
|
|
294
298
|
default88 as useHttpErrorToast,
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
};
|
|
@@ -32,6 +32,7 @@ export { default as IconClock } from './IconClock';
|
|
|
32
32
|
export { default as IconCloseFullScreen } from './IconCloseFullScreen';
|
|
33
33
|
export { default as IconClose } from './IconClose';
|
|
34
34
|
export { default as IconCode } from './IconCode';
|
|
35
|
+
export { default as IconCollect } from './IconCollect';
|
|
35
36
|
export { default as IconCopy } from './IconCopy';
|
|
36
37
|
export { default as IconCrop } from './IconCrop';
|
|
37
38
|
export { default as IconCut } from './IconCut';
|
|
@@ -140,6 +141,7 @@ export { default as IconSplitCells } from './IconSplitCells';
|
|
|
140
141
|
export { default as IconSquareRoot } from './IconSquareRoot';
|
|
141
142
|
export { default as IconStarFull } from './IconStarFull';
|
|
142
143
|
export { default as IconStar } from './IconStar';
|
|
144
|
+
export { default as IconSubmission } from './IconSubmission';
|
|
143
145
|
export { default as IconSubmitToValidate } from './IconSubmitToValidate';
|
|
144
146
|
export { default as IconSubscript } from './IconSubscript';
|
|
145
147
|
export { default as IconSuccessFill } from './IconSuccessFill';
|
|
@@ -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);
|
|
@@ -70,8 +66,8 @@ const OnboardingModalInner = ({
|
|
|
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,35 +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
|
|
9
|
+
const response = await getOnboardingTrash(id);
|
|
11
10
|
if (response) {
|
|
12
11
|
const {
|
|
13
12
|
key
|
|
14
|
-
} = response
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} else
|
|
20
|
-
setIsOnboarding(!0), setIsOpen(!0), state.current = void 0;
|
|
13
|
+
} = response;
|
|
14
|
+
key === !0 && setIsOpen(!0), setIsOnboarding(key);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
setIsOnboarding(!0), setIsOpen(!0);
|
|
21
18
|
})();
|
|
22
|
-
}, [])
|
|
23
|
-
const handleSavePreference = useCallback(async () => {
|
|
24
|
-
await savePreference({
|
|
25
|
-
key: state.current
|
|
26
|
-
}), setIsOpen(!1), setIsOnboarding(!1);
|
|
27
|
-
}, [savePreference, setIsOpen, setIsOnboarding]);
|
|
28
|
-
return {
|
|
19
|
+
}, [id]), {
|
|
29
20
|
isOpen,
|
|
30
21
|
setIsOpen,
|
|
31
22
|
isOnboarding,
|
|
32
|
-
handleSavePreference
|
|
23
|
+
handleSavePreference: async () => {
|
|
24
|
+
await saveOnboardingTrash(id), setIsOpen(!1), setIsOnboarding(!1);
|
|
25
|
+
}
|
|
33
26
|
};
|
|
34
27
|
};
|
|
35
28
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CreateParameters, CreateResult, ID, IFolder, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
3
|
-
import { UseMutationResult } from '
|
|
3
|
+
import { UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
|
|
4
4
|
export interface FormInputs {
|
|
5
5
|
title: string;
|
|
6
6
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
declare const useUpdateMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<UpdateResult, Error, UpdateParameters>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, PutShareResponse, RightStringified, ShareRight, ShareRightAction, ShareRightActionDisplayName, ShareUrls } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for sharing a resource
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
export type PublicationType = 'RESTRAINT' | 'IMMEDIATE' | undefined;
|
|
4
4
|
export interface ShareBlogProps {
|
|
5
5
|
resourceId: ID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PutShareResponse, ShareRight } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
declare const useShareMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<PutShareResponse, Error, {
|
|
@@ -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;
|
|
@@ -0,0 +1,45 @@
|
|
|
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;
|