@edifice.io/react 2.5.5-develop-b2school.20260112173549 → 2.5.5-develop-pedago.20260113163234

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 (110) hide show
  1. package/dist/components/Badge/Badge.d.ts +7 -4
  2. package/dist/components/Badge/Badge.js +14 -11
  3. package/dist/components/Combobox/Combobox.js +1 -1
  4. package/dist/components/Combobox/ComboboxTrigger.js +1 -1
  5. package/dist/components/SegmentedControl/SegmentedControl.js +1 -4
  6. package/dist/components/index.d.ts +0 -1
  7. package/dist/hooks/useEdificeIcons/useEdificeIcons.d.ts +1 -0
  8. package/dist/hooks/useEdificeIcons/useEdificeIcons.js +5 -0
  9. package/dist/icons.js +78 -80
  10. package/dist/index.js +182 -184
  11. package/dist/modules/editor/components/Editor/Editor.js +1 -1
  12. package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
  13. package/dist/modules/icons/components/index.d.ts +0 -1
  14. package/dist/modules/modals/ShareModal/ShareBookmark.js +2 -2
  15. package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +4 -4
  16. package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -14
  17. package/dist/modules/modals/ShareModal/ShareResources.js +3 -11
  18. package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +3 -4
  19. package/dist/modules/modals/ShareModal/hooks/useSearch.js +15 -10
  20. package/dist/providers/AntThemeProvider/AntProvider.d.ts +2 -2
  21. package/dist/providers/AntThemeProvider/AntProvider.js +2 -19
  22. package/package.json +7 -7
  23. package/dist/_virtual/_commonjsHelpers.js +0 -8
  24. package/dist/_virtual/common.js +0 -4
  25. package/dist/_virtual/de_DE.js +0 -4
  26. package/dist/_virtual/de_DE2.js +0 -4
  27. package/dist/_virtual/de_DE3.js +0 -4
  28. package/dist/_virtual/de_DE4.js +0 -4
  29. package/dist/_virtual/de_DE5.js +0 -4
  30. package/dist/_virtual/de_DE6.js +0 -4
  31. package/dist/_virtual/defineProperty.js +0 -4
  32. package/dist/_virtual/es_ES.js +0 -4
  33. package/dist/_virtual/es_ES2.js +0 -4
  34. package/dist/_virtual/es_ES3.js +0 -4
  35. package/dist/_virtual/es_ES4.js +0 -4
  36. package/dist/_virtual/es_ES5.js +0 -4
  37. package/dist/_virtual/es_ES6.js +0 -4
  38. package/dist/_virtual/fr_FR.js +0 -4
  39. package/dist/_virtual/fr_FR2.js +0 -4
  40. package/dist/_virtual/fr_FR3.js +0 -4
  41. package/dist/_virtual/fr_FR4.js +0 -4
  42. package/dist/_virtual/fr_FR5.js +0 -4
  43. package/dist/_virtual/fr_FR6.js +0 -4
  44. package/dist/_virtual/interopRequireDefault.js +0 -4
  45. package/dist/_virtual/it_IT.js +0 -4
  46. package/dist/_virtual/it_IT2.js +0 -4
  47. package/dist/_virtual/it_IT3.js +0 -4
  48. package/dist/_virtual/it_IT4.js +0 -4
  49. package/dist/_virtual/it_IT5.js +0 -4
  50. package/dist/_virtual/it_IT6.js +0 -4
  51. package/dist/_virtual/localeData.js +0 -4
  52. package/dist/_virtual/objectSpread2.js +0 -4
  53. package/dist/_virtual/pt_PT.js +0 -4
  54. package/dist/_virtual/pt_PT2.js +0 -4
  55. package/dist/_virtual/pt_PT3.js +0 -4
  56. package/dist/_virtual/pt_PT4.js +0 -4
  57. package/dist/_virtual/pt_PT5.js +0 -4
  58. package/dist/_virtual/pt_PT6.js +0 -4
  59. package/dist/_virtual/toPrimitive.js +0 -4
  60. package/dist/_virtual/toPropertyKey.js +0 -4
  61. package/dist/_virtual/typeof.js +0 -4
  62. package/dist/_virtual/weekday.js +0 -4
  63. package/dist/components/DatePicker/DatePicker.js +0 -35
  64. package/dist/components/DatePicker/index.d.ts +0 -2
  65. package/dist/modules/icons/components/IconSubmitToValidate.d.ts +0 -7
  66. package/dist/modules/icons/components/IconSubmitToValidate.js +0 -12
  67. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/defineProperty.js +0 -18
  68. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
  69. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -31
  70. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -20
  71. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -15
  72. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/typeof.js +0 -16
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  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/locale/es_ES.js +0 -145
  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/locale/fr_FR.js +0 -144
  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/locale/it_IT.js +0 -156
  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/locale/pt_PT.js +0 -158
  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/time-picker/locale/de_DE.js +0 -10
  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/time-picker/locale/es_ES.js +0 -10
  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/time-picker/locale/fr_FR.js +0 -10
  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/time-picker/locale/it_IT.js +0 -10
  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/time-picker/locale/pt_PT.js +0 -10
  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/locale/de_DE.js +0 -8
  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/locale/es_ES.js +0 -8
  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/locale/fr_FR.js +0 -8
  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/locale/it_IT.js +0 -8
  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/locale/pt_PT.js +0 -8
  98. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/localeData.js +0 -82
  99. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/weekday.js +0 -19
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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 useSearch = ({
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: defaultActions
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",
@@ -3,8 +3,8 @@ interface AntProviderProps {
3
3
  children: React.ReactNode;
4
4
  }
5
5
  /**
6
- * Provider for Ant Design that integrates the custom theme
7
- * with Edifice's existing design system
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
- import { useEdificeClient } from "../EdificeClientProvider/EdificeClientProvider.hook.js";
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-b2school.20260112173549",
3
+ "version": "2.5.5-develop-pedago.20260113163234",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -121,7 +121,7 @@
121
121
  "@uidotdev/usehooks": "^2.4.1",
122
122
  "antd": "^5.29.1",
123
123
  "clsx": "^2.1.1",
124
- "dayjs": "1.11.19",
124
+ "dayjs": "1.11.10",
125
125
  "emoji-picker-react": "4.5.2",
126
126
  "heic2any": "0.0.4",
127
127
  "html-react-parser": "4.2.1",
@@ -134,9 +134,9 @@
134
134
  "react-slugify": "^3.0.3",
135
135
  "swiper": "^10.1.0",
136
136
  "ua-parser-js": "^1.0.36",
137
- "@edifice.io/bootstrap": "2.5.5-develop-b2school.20260112173549",
138
- "@edifice.io/tiptap-extensions": "2.5.5-develop-b2school.20260112173549",
139
- "@edifice.io/utilities": "2.5.5-develop-b2school.20260112173549"
137
+ "@edifice.io/bootstrap": "2.5.5-develop-pedago.20260113163234",
138
+ "@edifice.io/tiptap-extensions": "2.5.5-develop-pedago.20260113163234",
139
+ "@edifice.io/utilities": "2.5.5-develop-pedago.20260113163234"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -167,8 +167,8 @@
167
167
  "vite": "^5.4.11",
168
168
  "vite-plugin-dts": "^4.1.0",
169
169
  "vite-tsconfig-paths": "^5.0.1",
170
- "@edifice.io/client": "2.5.5-develop-b2school.20260112173549",
171
- "@edifice.io/config": "2.5.5-develop-b2school.20260112173549"
170
+ "@edifice.io/client": "2.5.5-develop-pedago.20260113163234",
171
+ "@edifice.io/config": "2.5.5-develop-pedago.20260113163234"
172
172
  },
173
173
  "peerDependencies": {
174
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
- };
@@ -1,4 +0,0 @@
1
- var common = {};
2
- export {
3
- common as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var de_DE = {};
2
- export {
3
- de_DE as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var defineProperty = { exports: {} };
2
- export {
3
- defineProperty as __module
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var es_ES = {};
2
- export {
3
- es_ES as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var fr_FR = {};
2
- export {
3
- fr_FR as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var interopRequireDefault = { exports: {} };
2
- export {
3
- interopRequireDefault as __module
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var it_IT = {};
2
- export {
3
- it_IT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var localeData = { exports: {} };
2
- export {
3
- localeData as __module
4
- };
@@ -1,4 +0,0 @@
1
- var objectSpread2 = { exports: {} };
2
- export {
3
- objectSpread2 as __module
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var pt_PT = {};
2
- export {
3
- pt_PT as __exports
4
- };
@@ -1,4 +0,0 @@
1
- var toPrimitive = { exports: {} };
2
- export {
3
- toPrimitive as __module
4
- };
@@ -1,4 +0,0 @@
1
- var toPropertyKey = { exports: {} };
2
- export {
3
- toPropertyKey as __module
4
- };
@@ -1,4 +0,0 @@
1
- var _typeof = { exports: {} };
2
- export {
3
- _typeof as __module
4
- };
@@ -1,4 +0,0 @@
1
- var weekday = { exports: {} };
2
- export {
3
- weekday as __module
4
- };
@@ -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,2 +0,0 @@
1
- export { default as DatePicker } from './DatePicker';
2
- export * from './DatePicker';
@@ -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
- };
@@ -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;
@@ -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.4/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.4/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.4/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.4/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;