@edifice.io/react 2.5.5-develop-b2school.20260109162050 → 2.5.5-develop-pedago.20260112142155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Badge/Badge.d.ts +12 -1
- package/dist/components/Badge/Badge.js +15 -2
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Combobox/ComboboxTrigger.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +1 -4
- package/dist/components/index.d.ts +0 -1
- package/dist/hooks/useDropzone/useDropzone.d.ts +2 -2
- package/dist/hooks/useDropzone/useDropzone.js +20 -5
- package/dist/icons.js +78 -80
- package/dist/index.js +184 -180
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
- package/dist/modules/icons/components/index.d.ts +0 -1
- package/dist/modules/modals/ShareModal/ShareBookmark.js +2 -2
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +4 -4
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -14
- package/dist/modules/modals/ShareModal/ShareResources.js +3 -11
- package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +3 -4
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +15 -10
- package/dist/modules/multimedia/MediaLibrary/index.d.ts +2 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/index.d.ts +1 -0
- package/dist/multimedia.js +14 -8
- package/dist/providers/AntThemeProvider/AntProvider.d.ts +2 -2
- package/dist/providers/AntThemeProvider/AntProvider.js +2 -19
- package/package.json +8 -7
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/common.js +0 -4
- package/dist/_virtual/de_DE.js +0 -4
- package/dist/_virtual/de_DE2.js +0 -4
- package/dist/_virtual/de_DE3.js +0 -4
- package/dist/_virtual/de_DE4.js +0 -4
- package/dist/_virtual/de_DE5.js +0 -4
- package/dist/_virtual/de_DE6.js +0 -4
- package/dist/_virtual/defineProperty.js +0 -4
- package/dist/_virtual/es_ES.js +0 -4
- package/dist/_virtual/es_ES2.js +0 -4
- package/dist/_virtual/es_ES3.js +0 -4
- package/dist/_virtual/es_ES4.js +0 -4
- package/dist/_virtual/es_ES5.js +0 -4
- package/dist/_virtual/es_ES6.js +0 -4
- package/dist/_virtual/fr_FR.js +0 -4
- package/dist/_virtual/fr_FR2.js +0 -4
- package/dist/_virtual/fr_FR3.js +0 -4
- package/dist/_virtual/fr_FR4.js +0 -4
- package/dist/_virtual/fr_FR5.js +0 -4
- package/dist/_virtual/fr_FR6.js +0 -4
- package/dist/_virtual/interopRequireDefault.js +0 -4
- package/dist/_virtual/it_IT.js +0 -4
- package/dist/_virtual/it_IT2.js +0 -4
- package/dist/_virtual/it_IT3.js +0 -4
- package/dist/_virtual/it_IT4.js +0 -4
- package/dist/_virtual/it_IT5.js +0 -4
- package/dist/_virtual/it_IT6.js +0 -4
- package/dist/_virtual/localeData.js +0 -4
- package/dist/_virtual/objectSpread2.js +0 -4
- package/dist/_virtual/pt_PT.js +0 -4
- package/dist/_virtual/pt_PT2.js +0 -4
- package/dist/_virtual/pt_PT3.js +0 -4
- package/dist/_virtual/pt_PT4.js +0 -4
- package/dist/_virtual/pt_PT5.js +0 -4
- package/dist/_virtual/pt_PT6.js +0 -4
- package/dist/_virtual/toPrimitive.js +0 -4
- package/dist/_virtual/toPropertyKey.js +0 -4
- package/dist/_virtual/typeof.js +0 -4
- package/dist/_virtual/weekday.js +0 -4
- package/dist/components/DatePicker/DatePicker.js +0 -35
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/modules/icons/components/IconSubmitToValidate.d.ts +0 -7
- package/dist/modules/icons/components/IconSubmitToValidate.js +0 -12
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/defineProperty.js +0 -18
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -31
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -20
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -15
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/typeof.js +0 -16
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/localeData.js +0 -82
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/weekday.js +0 -19
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/de_DE.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/es_ES.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/fr_FR.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/it_IT.js +0 -21
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/pt_PT.js +0 -21
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/common.js +0 -14
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/de_DE.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/es_ES.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/fr_FR.js +0 -38
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/it_IT.js +0 -37
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/pt_PT.js +0 -39
|
@@ -48,19 +48,18 @@ function reducer(state, action) {
|
|
|
48
48
|
throw new Error("Unhandled action type");
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const defaultActions = [{
|
|
52
|
+
id: "read",
|
|
53
|
+
displayName: "read"
|
|
54
|
+
}, {
|
|
55
|
+
id: "comment",
|
|
56
|
+
displayName: "comment"
|
|
57
|
+
}], useSearch = ({
|
|
52
58
|
resourceId,
|
|
53
59
|
resourceCreatorId,
|
|
54
60
|
shareRights,
|
|
55
61
|
shareDispatch,
|
|
56
|
-
urlResourceRights
|
|
57
|
-
defaultActions = [{
|
|
58
|
-
id: "read",
|
|
59
|
-
displayName: "read"
|
|
60
|
-
}, {
|
|
61
|
-
id: "comment",
|
|
62
|
-
displayName: "comment"
|
|
63
|
-
}]
|
|
62
|
+
urlResourceRights
|
|
64
63
|
}) => {
|
|
65
64
|
const [state, dispatch] = useReducer(reducer, initialState), debouncedSearchInputValue = useDebounce(state.searchInputValue, 500), {
|
|
66
65
|
isAdml
|
|
@@ -153,7 +152,13 @@ const useSearch = ({
|
|
|
153
152
|
} else
|
|
154
153
|
rightsToAdd = [{
|
|
155
154
|
...shareSubject,
|
|
156
|
-
actions:
|
|
155
|
+
actions: [{
|
|
156
|
+
id: "read",
|
|
157
|
+
displayName: "read"
|
|
158
|
+
}, {
|
|
159
|
+
id: "comment",
|
|
160
|
+
displayName: "comment"
|
|
161
|
+
}]
|
|
157
162
|
}];
|
|
158
163
|
shareDispatch({
|
|
159
164
|
type: "updateShareRights",
|
|
@@ -14,7 +14,7 @@ const acceptedTypes = (type) => {
|
|
|
14
14
|
acceptedTypes2.push("video/*");
|
|
15
15
|
break;
|
|
16
16
|
case "image":
|
|
17
|
-
acceptedTypes2.push("image/png"), acceptedTypes2.push("image/jpeg"), acceptedTypes2.push("image/webp"), acceptedTypes2.push("image/gif"), acceptedTypes2.push("image/avif");
|
|
17
|
+
acceptedTypes2.push("image/png"), acceptedTypes2.push("image/jpeg"), acceptedTypes2.push("image/webp"), acceptedTypes2.push("image/gif"), acceptedTypes2.push("image/avif"), acceptedTypes2.push("image/heic");
|
|
18
18
|
break;
|
|
19
19
|
}
|
|
20
20
|
return acceptedTypes2;
|
package/dist/multimedia.js
CHANGED
|
@@ -4,12 +4,15 @@ import { default as default4 } from "./modules/multimedia/ImageEditor/components
|
|
|
4
4
|
import { default as default5 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
5
5
|
import { default as default6 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
6
6
|
import { default as default7 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
7
|
-
import { default as default8 } from "./modules/multimedia/
|
|
8
|
-
import { default as default9 } from "./modules/multimedia/
|
|
9
|
-
import { default as default10 } from "./modules/multimedia/
|
|
10
|
-
import { default as default11 } from "./modules/multimedia/
|
|
7
|
+
import { default as default8 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
8
|
+
import { default as default9 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
9
|
+
import { default as default10 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
10
|
+
import { default as default11 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
11
|
+
import { default as default12 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
12
|
+
import { default as default13 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
11
13
|
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
12
14
|
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
15
|
+
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
13
16
|
export {
|
|
14
17
|
default2 as AudioRecorder,
|
|
15
18
|
default3 as Embed,
|
|
@@ -19,8 +22,11 @@ export {
|
|
|
19
22
|
default5 as ImagePicker,
|
|
20
23
|
InternalLinker,
|
|
21
24
|
default7 as MediaLibrary,
|
|
22
|
-
|
|
23
|
-
default9 as
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
Upload,
|
|
26
|
+
default9 as UploadCard,
|
|
27
|
+
default8 as UploadFiles,
|
|
28
|
+
default10 as VideoEmbed,
|
|
29
|
+
default11 as VideoRecorder,
|
|
30
|
+
default12 as Workspace,
|
|
31
|
+
default13 as WorkspaceFolders
|
|
26
32
|
};
|
|
@@ -3,8 +3,8 @@ interface AntProviderProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* Provider
|
|
7
|
-
*
|
|
6
|
+
* Provider pour Ant Design qui intègre le thème personnalisé
|
|
7
|
+
* avec le système de design existant d'Edifice
|
|
8
8
|
*/
|
|
9
9
|
export declare const AntProvider: React.FC<AntProviderProps>;
|
|
10
10
|
export default AntProvider;
|
|
@@ -2,26 +2,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { ConfigProvider } from "antd";
|
|
3
3
|
import { antTheme } from "./antThemeConfig.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
|
|
6
|
-
import frFR from "../../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";
|
|
7
|
-
import deDE from "../../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
|
-
import esES from "../../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";
|
|
9
|
-
import itIT from "../../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";
|
|
10
|
-
import ptPT from "../../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";
|
|
11
|
-
const antdLocaleMap = {
|
|
12
|
-
fr: frFR,
|
|
13
|
-
de: deDE,
|
|
14
|
-
es: esES,
|
|
15
|
-
it: itIT,
|
|
16
|
-
pt: ptPT
|
|
17
|
-
}, AntProvider = ({
|
|
5
|
+
const AntProvider = ({
|
|
18
6
|
children
|
|
19
|
-
}) => {
|
|
20
|
-
const {
|
|
21
|
-
currentLanguage
|
|
22
|
-
} = useEdificeClient(), locale = currentLanguage ? antdLocaleMap[currentLanguage] ?? frFR : frFR;
|
|
23
|
-
return /* @__PURE__ */ jsx(ConfigProvider, { theme: antTheme, locale, children });
|
|
24
|
-
};
|
|
7
|
+
}) => /* @__PURE__ */ jsx(ConfigProvider, { theme: antTheme, children });
|
|
25
8
|
export {
|
|
26
9
|
AntProvider,
|
|
27
10
|
AntProvider as default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.5-develop-
|
|
3
|
+
"version": "2.5.5-develop-pedago.20260112142155",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -121,8 +121,9 @@
|
|
|
121
121
|
"@uidotdev/usehooks": "^2.4.1",
|
|
122
122
|
"antd": "^5.29.1",
|
|
123
123
|
"clsx": "^2.1.1",
|
|
124
|
-
"dayjs": "1.11.
|
|
124
|
+
"dayjs": "1.11.10",
|
|
125
125
|
"emoji-picker-react": "4.5.2",
|
|
126
|
+
"heic2any": "0.0.4",
|
|
126
127
|
"html-react-parser": "4.2.1",
|
|
127
128
|
"ohash": "1.1.3",
|
|
128
129
|
"pako": "2.1.0",
|
|
@@ -133,9 +134,9 @@
|
|
|
133
134
|
"react-slugify": "^3.0.3",
|
|
134
135
|
"swiper": "^10.1.0",
|
|
135
136
|
"ua-parser-js": "^1.0.36",
|
|
136
|
-
"@edifice.io/
|
|
137
|
-
"@edifice.io/
|
|
138
|
-
"@edifice.io/
|
|
137
|
+
"@edifice.io/bootstrap": "2.5.5-develop-pedago.20260112142155",
|
|
138
|
+
"@edifice.io/tiptap-extensions": "2.5.5-develop-pedago.20260112142155",
|
|
139
|
+
"@edifice.io/utilities": "2.5.5-develop-pedago.20260112142155"
|
|
139
140
|
},
|
|
140
141
|
"devDependencies": {
|
|
141
142
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -166,8 +167,8 @@
|
|
|
166
167
|
"vite": "^5.4.11",
|
|
167
168
|
"vite-plugin-dts": "^4.1.0",
|
|
168
169
|
"vite-tsconfig-paths": "^5.0.1",
|
|
169
|
-
"@edifice.io/client": "2.5.5-develop-
|
|
170
|
-
"@edifice.io/config": "2.5.5-develop-
|
|
170
|
+
"@edifice.io/client": "2.5.5-develop-pedago.20260112142155",
|
|
171
|
+
"@edifice.io/config": "2.5.5-develop-pedago.20260112142155"
|
|
171
172
|
},
|
|
172
173
|
"peerDependencies": {
|
|
173
174
|
"@react-spring/web": "^9.7.5",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function getDefaultExportFromCjs(x) {
|
|
3
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
commonjsGlobal,
|
|
7
|
-
getDefaultExportFromCjs
|
|
8
|
-
};
|
package/dist/_virtual/common.js
DELETED
package/dist/_virtual/de_DE.js
DELETED
package/dist/_virtual/de_DE2.js
DELETED
package/dist/_virtual/de_DE3.js
DELETED
package/dist/_virtual/de_DE4.js
DELETED
package/dist/_virtual/de_DE5.js
DELETED
package/dist/_virtual/de_DE6.js
DELETED
package/dist/_virtual/es_ES.js
DELETED
package/dist/_virtual/es_ES2.js
DELETED
package/dist/_virtual/es_ES3.js
DELETED
package/dist/_virtual/es_ES4.js
DELETED
package/dist/_virtual/es_ES5.js
DELETED
package/dist/_virtual/es_ES6.js
DELETED
package/dist/_virtual/fr_FR.js
DELETED
package/dist/_virtual/fr_FR2.js
DELETED
package/dist/_virtual/fr_FR3.js
DELETED
package/dist/_virtual/fr_FR4.js
DELETED
package/dist/_virtual/fr_FR5.js
DELETED
package/dist/_virtual/fr_FR6.js
DELETED
package/dist/_virtual/it_IT.js
DELETED
package/dist/_virtual/it_IT2.js
DELETED
package/dist/_virtual/it_IT3.js
DELETED
package/dist/_virtual/it_IT4.js
DELETED
package/dist/_virtual/it_IT5.js
DELETED
package/dist/_virtual/it_IT6.js
DELETED
package/dist/_virtual/pt_PT.js
DELETED
package/dist/_virtual/pt_PT2.js
DELETED
package/dist/_virtual/pt_PT3.js
DELETED
package/dist/_virtual/pt_PT4.js
DELETED
package/dist/_virtual/pt_PT5.js
DELETED
package/dist/_virtual/pt_PT6.js
DELETED
package/dist/_virtual/typeof.js
DELETED
package/dist/_virtual/weekday.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DatePicker as DatePicker$1 } from "antd";
|
|
3
|
-
import dayjs from "dayjs";
|
|
4
|
-
import localeData from "../../node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/localeData.js";
|
|
5
|
-
import weekday from "../../node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/weekday.js";
|
|
6
|
-
import { forwardRef } from "react";
|
|
7
|
-
import "dayjs/locale/de.js";
|
|
8
|
-
import "dayjs/locale/es.js";
|
|
9
|
-
import "dayjs/locale/fr.js";
|
|
10
|
-
import "dayjs/locale/it.js";
|
|
11
|
-
import "dayjs/locale/pt.js";
|
|
12
|
-
dayjs.extend(weekday);
|
|
13
|
-
dayjs.extend(localeData);
|
|
14
|
-
const DatePicker = /* @__PURE__ */ forwardRef(({
|
|
15
|
-
value,
|
|
16
|
-
onChange,
|
|
17
|
-
dateFormat = "DD / MM / YYYY",
|
|
18
|
-
minDate,
|
|
19
|
-
maxDate
|
|
20
|
-
}, ref) => {
|
|
21
|
-
const handleChange = (date) => {
|
|
22
|
-
onChange == null || onChange(date ? date.toDate() : void 0);
|
|
23
|
-
}, antProps = {
|
|
24
|
-
value: value ? dayjs(value) : void 0,
|
|
25
|
-
onChange: handleChange,
|
|
26
|
-
format: dateFormat,
|
|
27
|
-
minDate: minDate ? dayjs(minDate) : void 0,
|
|
28
|
-
maxDate: maxDate ? dayjs(maxDate) : void 0,
|
|
29
|
-
ref
|
|
30
|
-
};
|
|
31
|
-
return /* @__PURE__ */ jsx(DatePicker$1, { ...antProps });
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
DatePicker as default
|
|
35
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
2
|
-
interface SVGRProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
titleId?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgIconSubmitToValidate: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgIconSubmitToValidate;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const SvgIconSubmitToValidate = ({
|
|
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 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
|
|
7
|
-
title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
|
|
8
|
-
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.844 7.9a1 1 0 0 0-.085 1.41c.366.417.998.463 1.412.1l4.18-3.656a.99.99 0 0 0 .337-.762 1.01 1.01 0 0 0-.363-.757L12.019.632a1 1 0 0 0-1.408.118 1 1 0 0 0 .134 1.41l2.2 1.84h-.939c-5.617-.067-9.838 4.478-9.905 9.887-.05 4.03 2.374 7.51 5.865 9.091a1 1 0 0 0 .825-1.822c-2.815-1.274-4.73-4.058-4.69-7.244C4.156 9.521 7.554 5.945 11.988 6h1.028zm10.785.822a1 1 0 0 1 .148 1.407l-6.875 8.5a1 1 0 0 1-1.572-.022l-3.125-4.09a1 1 0 0 1 1.59-1.215l2.352 3.08 6.076-7.51a1 1 0 0 1 1.406-.15", clipRule: "evenodd" })
|
|
9
|
-
] });
|
|
10
|
-
export {
|
|
11
|
-
SvgIconSubmitToValidate 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
|
-
};
|
package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/typeof.js
DELETED
|
@@ -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.4/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;
|