jamespot-front-business 1.3.6 → 1.3.8

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 (224) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/jamespot-front-business.js +113 -0
  3. package/dist/jamespot-front-business.mjs +5075 -0
  4. package/dist/src/index.d.ts +2 -0
  5. package/dist/src/store/admin/logs/logs.d.ts +97 -0
  6. package/dist/src/store/admin/logs/logs.mock.d.ts +64 -0
  7. package/dist/src/store/admin/logs/logsNavigation.d.ts +23 -0
  8. package/dist/src/store/admin/logs/logsObjects.d.ts +23 -0
  9. package/dist/src/store/admin/logs/logsSearch.d.ts +23 -0
  10. package/dist/src/store/admin/logs/types.d.ts +12 -0
  11. package/dist/src/store/animations/animationStats.d.ts +19 -0
  12. package/dist/src/store/animations/animationStatsCurrent.d.ts +17 -0
  13. package/dist/src/store/animations/animations.d.ts +150 -0
  14. package/dist/src/store/animations/animations.mock.d.ts +9 -0
  15. package/dist/src/store/animations/animationsList.d.ts +75 -0
  16. package/dist/src/store/animations/animationsRTHandlers.d.ts +3 -0
  17. package/dist/src/store/animations/animationsRTHandlers.mock.d.ts +4 -0
  18. package/dist/src/store/animations/types.d.ts +22 -0
  19. package/dist/src/store/application/application.d.ts +48 -0
  20. package/dist/src/store/application/application.mock.d.ts +4 -0
  21. package/dist/src/store/application/application.types.d.ts +5 -0
  22. package/dist/src/store/article/article.d.ts +3 -0
  23. package/dist/src/store/article/articleRTHandlers.d.ts +2 -0
  24. package/dist/src/store/article/articleRTHandlers.mock.d.ts +4 -0
  25. package/dist/src/store/assetReservation/assetReservation.d.ts +74 -0
  26. package/dist/src/store/assetReservation/assetReservation.types.d.ts +31 -0
  27. package/dist/src/store/assetReservation/bookableAsset.d.ts +15 -0
  28. package/dist/src/store/assetReservation/bookableAsset.mock.d.ts +2 -0
  29. package/dist/src/store/assetReservation/configuration.d.ts +25 -0
  30. package/dist/src/store/assetReservation/configuration.mock.d.ts +17 -0
  31. package/dist/src/store/assetReservation/reservation.d.ts +20 -0
  32. package/dist/src/store/assetReservation/reservation.mock.d.ts +2 -0
  33. package/dist/src/store/bookmark/bookmark.d.ts +472 -0
  34. package/dist/src/store/bookmark/bookmark.types.d.ts +31 -0
  35. package/dist/src/store/bookmark/bookmarkList.d.ts +226 -0
  36. package/dist/src/store/bookmark/bookmarkList.mock.d.ts +201 -0
  37. package/dist/src/store/bookmark/bookmarkRTHandlers.d.ts +5 -0
  38. package/dist/src/store/bookmark/bookmarkRTHandlers.mock.d.ts +94 -0
  39. package/dist/src/store/bookmark/editBookmarkForm.d.ts +52 -0
  40. package/dist/src/store/bookmark/editBookmarkForm.mock.d.ts +4 -0
  41. package/dist/src/store/calendar/calendar.d.ts +347 -0
  42. package/dist/src/store/calendar/calendar.types.d.ts +22 -0
  43. package/dist/src/store/calendar/calendarEvents.d.ts +164 -0
  44. package/dist/src/store/calendar/calendarEvents.mock.d.ts +6 -0
  45. package/dist/src/store/calendar/calendarRTHandlers.d.ts +5 -0
  46. package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +16 -0
  47. package/dist/src/store/comment/comment.d.ts +66 -0
  48. package/dist/src/store/comment/comment.types.d.ts +18 -0
  49. package/dist/src/store/comment/commentList.d.ts +52 -0
  50. package/dist/src/store/comment/commentList.mock.d.ts +2 -0
  51. package/dist/src/store/comment/commentRTHandlers.d.ts +3 -0
  52. package/dist/src/store/comment/commentRTHandlers.mock.d.ts +102 -0
  53. package/dist/src/store/comment/commentsLikeRTHandlers.d.ts +3 -0
  54. package/dist/src/store/comment/commentsLikeRTHandlers.mock.d.ts +96 -0
  55. package/dist/src/store/contentReport/contentReport.d.ts +89 -0
  56. package/dist/src/store/contentReport/contentReport.mock.d.ts +3 -0
  57. package/dist/src/store/contentReport/contentReport.types.d.ts +17 -0
  58. package/dist/src/store/extraBot/extraBot.const.d.ts +7 -0
  59. package/dist/src/store/extraBot/extraBot.d.ts +167 -0
  60. package/dist/src/store/extraBot/extraBot.mock.d.ts +8 -0
  61. package/dist/src/store/extraBot/extraBot.types.d.ts +21 -0
  62. package/dist/src/store/faq/faq.d.ts +67 -0
  63. package/dist/src/store/faq/faq.types.d.ts +14 -0
  64. package/dist/src/store/faq/faqCategories.d.ts +20 -0
  65. package/dist/src/store/faq/faqCategories.mock.d.ts +2 -0
  66. package/dist/src/store/faq/faqConfig.d.ts +26 -0
  67. package/dist/src/store/faq/faqConfig.mock.d.ts +3 -0
  68. package/dist/src/store/fileIntegrity/fileIntegrity.const.d.ts +7 -0
  69. package/dist/src/store/fileIntegrity/fileIntegrity.d.ts +116 -0
  70. package/dist/src/store/fileIntegrity/fileIntegrity.mock.d.ts +4 -0
  71. package/dist/src/store/fileIntegrity/fileIntegrity.types.d.ts +12 -0
  72. package/dist/src/store/hook/hook.d.ts +505 -0
  73. package/dist/src/store/hook/hook.mock.d.ts +2 -0
  74. package/dist/src/store/hook/hook.types.d.ts +4 -0
  75. package/dist/src/store/hook/utils/driveHook.utils.d.ts +2 -0
  76. package/dist/src/store/index.d.ts +30 -0
  77. package/dist/src/store/jland/jland.d.ts +130 -0
  78. package/dist/src/store/jland/jland.types.d.ts +39 -0
  79. package/dist/src/store/jland/mapCreate.d.ts +21 -0
  80. package/dist/src/store/jland/mapCreate.mock.d.ts +82 -0
  81. package/dist/src/store/jland/mapList.d.ts +93 -0
  82. package/dist/src/store/jland/mapList.mock.d.ts +105 -0
  83. package/dist/src/store/jland/utils.d.ts +3 -0
  84. package/dist/src/store/magicPad/magicPad.d.ts +59 -0
  85. package/dist/src/store/magicPad/magicPad.mock.d.ts +2 -0
  86. package/dist/src/store/magicPad/magicPad.types.d.ts +15 -0
  87. package/dist/src/store/mediaLibrary/mediaLibrary.const.d.ts +7 -0
  88. package/dist/src/store/mediaLibrary/mediaLibrary.d.ts +454 -0
  89. package/dist/src/store/mediaLibrary/mediaLibrary.types.d.ts +24 -0
  90. package/dist/src/store/mediaLibrary/medialibrary.mock.d.ts +72 -0
  91. package/dist/src/store/model/model.d.ts +51 -0
  92. package/dist/src/store/model/model.mock.d.ts +144 -0
  93. package/dist/src/store/model/model.types.d.ts +5 -0
  94. package/dist/src/store/network/network.d.ts +29 -0
  95. package/dist/src/store/network/network.types.d.ts +10 -0
  96. package/dist/src/store/network/networkStatics.d.ts +5 -0
  97. package/dist/src/store/platform/platform.d.ts +20 -0
  98. package/dist/src/store/platform/platform.types.d.ts +11 -0
  99. package/dist/src/store/platform/platformConfig.d.ts +5 -0
  100. package/dist/src/store/share/share.actions.d.ts +16 -0
  101. package/dist/src/store/share/share.d.ts +29 -0
  102. package/dist/src/store/share/share.mock.d.ts +2 -0
  103. package/dist/src/store/share/share.slice.d.ts +5 -0
  104. package/dist/src/store/share/share.types.d.ts +9 -0
  105. package/dist/src/store/socialActions/socialActions.d.ts +49 -0
  106. package/dist/src/store/socialActions/socialActions.mock.d.ts +2 -0
  107. package/dist/src/store/studio/StudioAppsList.d.ts +108 -0
  108. package/dist/src/store/studio/appListMocks/appInWorkNoValue.d.ts +4 -0
  109. package/dist/src/store/studio/appListMocks/studioSuspendedTransformed.d.ts +2624 -0
  110. package/dist/src/store/studio/currentStudioApp.d.ts +54 -0
  111. package/dist/src/store/studio/mocks/erikBug/erikList.mock.d.ts +587 -0
  112. package/dist/src/store/studio/mocks/erikBug/getActiviteCE.mock.d.ts +1028 -0
  113. package/dist/src/store/studio/mocks/erikBug/getConge.mock.d.ts +3 -0
  114. package/dist/src/store/studio/mocks/erikBug/getCongeSaved.mock.d.ts +11 -0
  115. package/dist/src/store/studio/mocks/erikBug/getEmploi.mock.d.ts +1022 -0
  116. package/dist/src/store/studio/mocks/erikBug/getEmploiSaved.mock.d.ts +11 -0
  117. package/dist/src/store/studio/mocks/erikBug/getEquipment.mock.d.ts +1020 -0
  118. package/dist/src/store/studio/mocks/erikBug/getEquipmentSaved.mock.d.ts +11 -0
  119. package/dist/src/store/studio/mocks/erikBug/getIncident.mock.d.ts +3 -0
  120. package/dist/src/store/studio/mocks/erikBug/getIncidentSaved.mock.d.ts +11 -0
  121. package/dist/src/store/studio/mocks/erikBug/getTelephoneSaved.mock.d.ts +11 -0
  122. package/dist/src/store/studio/mocks/erikBug/getTrad.mock.d.ts +996 -0
  123. package/dist/src/store/studio/mocks/erikBug/taxoList.mock.d.ts +16 -0
  124. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/StudioList.d.ts +47 -0
  125. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/app1.d.ts +1016 -0
  126. package/dist/src/store/studio/studio.d.ts +172 -0
  127. package/dist/src/store/studio/studio.types.d.ts +572 -0
  128. package/dist/src/store/studio/studioAppsList.mock.d.ts +896 -0
  129. package/dist/src/store/studio/utils/appToXml.d.ts +6 -0
  130. package/dist/src/store/studio/utils/cloneStudioAppFromExistingApp.d.ts +2 -0
  131. package/dist/src/store/studio/utils/createNewStudioApp.d.ts +11 -0
  132. package/dist/src/store/studio/utils/generateNewFormField.d.ts +2 -0
  133. package/dist/src/store/studio/utils/installedToV2/fieldBuilders.d.ts +219 -0
  134. package/dist/src/store/studio/utils/installedToV2/installedToV2.d.ts +13 -0
  135. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled.mock.d.ts +1300 -0
  136. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled2.mock.d.ts +1274 -0
  137. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2-2.mock.d.ts +2 -0
  138. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2.mock.d.ts +2 -0
  139. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceInstalled.mock.d.ts +860 -0
  140. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceV2.mock.d.ts +2 -0
  141. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxInstalled.mock.d.ts +774 -0
  142. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxV2.mock.d.ts +2 -0
  143. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppInstalled.mock.d.ts +782 -0
  144. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppV2.mock.d.ts +2 -0
  145. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModif.mock.d.ts +2 -0
  146. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModifInstalled.mock.d.ts +787 -0
  147. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsInstalled.mock.d.ts +852 -0
  148. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsV2.mock.d.ts +2 -0
  149. package/dist/src/store/studio/utils/installedToV2/mocks/specialApp.mock.d.ts +834 -0
  150. package/dist/src/store/studio/utils/installedToV2/mocks/wrongFixedAndHtmlData.d.ts +1308 -0
  151. package/dist/src/store/studio/utils/migrateJson.d.ts +3 -0
  152. package/dist/src/store/studio/utils/serverAppsToStudioApps.d.ts +3 -0
  153. package/dist/src/store/studio/utils/studioApplication.mock.d.ts +32 -0
  154. package/dist/src/store/teamWork/teamWork.d.ts +46 -0
  155. package/dist/src/store/teamWork/teamWorkRTHandlers.d.ts +3 -0
  156. package/dist/src/store/teamWork/teamWorkRTHandlers.mock.d.ts +2 -0
  157. package/dist/src/store/teamWork/teamWorkToDo.d.ts +20 -0
  158. package/dist/src/store/teamWork/teamWorkToDo.mock.d.ts +2 -0
  159. package/dist/src/store/teamWork/types.d.ts +10 -0
  160. package/dist/src/store/tinymce/tinyMCEOptions.d.ts +5 -0
  161. package/dist/src/store/tinymce/tinymce.d.ts +52 -0
  162. package/dist/src/store/tinymce/tinymce.types.d.ts +10 -0
  163. package/dist/src/store/toast/toast.d.ts +35 -0
  164. package/dist/src/store/toast/toast.types.d.ts +19 -0
  165. package/dist/src/store/tvDisplay/channelsList.d.ts +36 -0
  166. package/dist/src/store/tvDisplay/channelsList.mock.d.ts +3 -0
  167. package/dist/src/store/tvDisplay/tvDisplay.d.ts +54 -0
  168. package/dist/src/store/tvDisplay/tvDisplay.types.d.ts +12 -0
  169. package/dist/src/store/tvDisplay/utils.d.ts +2 -0
  170. package/dist/src/store/tvDisplay/utils.mock.d.ts +5 -0
  171. package/dist/src/store/user/user.types.d.ts +4 -0
  172. package/dist/src/store/user/userCurrent.d.ts +21 -0
  173. package/dist/src/store/user/userCurrent.mock.d.ts +36 -0
  174. package/dist/src/store/wedoc/wedoc.actions.d.ts +85 -0
  175. package/dist/src/store/wedoc/wedoc.d.ts +165 -0
  176. package/dist/src/store/wedoc/wedoc.mock.d.ts +3 -0
  177. package/dist/src/store/wedoc/wedoc.slice.d.ts +8 -0
  178. package/dist/src/store/wedoc/wedoc.types.d.ts +22 -0
  179. package/dist/src/store/widget/definitions/widget-article-attachment.d.ts +3 -0
  180. package/dist/src/store/widget/definitions/widget-article-button.d.ts +16 -0
  181. package/dist/src/store/widget/definitions/widget-article-gallery.d.ts +3 -0
  182. package/dist/src/store/widget/definitions/widget-article-image.d.ts +3 -0
  183. package/dist/src/store/widget/definitions/widget-article-slider.d.ts +3 -0
  184. package/dist/src/store/widget/definitions/widget-article-text.d.ts +3 -0
  185. package/dist/src/store/widget/definitions/widget-article-title.d.ts +3 -0
  186. package/dist/src/store/widget/definitions/widget-calendar-calDav.d.ts +3 -0
  187. package/dist/src/store/widget/definitions/widget-check-list.d.ts +3 -0
  188. package/dist/src/store/widget/definitions/widget-color.d.ts +3 -0
  189. package/dist/src/store/widget/definitions/widget-contact-cardDav.d.ts +3 -0
  190. package/dist/src/store/widget/definitions/widget-datasource-table.d.ts +3 -0
  191. package/dist/src/store/widget/definitions/widget-emails-imap.d.ts +3 -0
  192. package/dist/src/store/widget/definitions/widget-excel-datasource-table.d.ts +3 -0
  193. package/dist/src/store/widget/definitions/widget-extension.d.ts +3 -0
  194. package/dist/src/store/widget/definitions/widget-lucca-absence.d.ts +3 -0
  195. package/dist/src/store/widget/definitions/widget-presence.d.ts +3 -0
  196. package/dist/src/store/widget/definitions/widget-quick-survey.d.ts +3 -0
  197. package/dist/src/store/widget/definitions/widget-user-profile.d.ts +3 -0
  198. package/dist/src/store/widget/definitions/widget-welcome.d.ts +3 -0
  199. package/dist/src/store/widget/utils.d.ts +1 -0
  200. package/dist/src/store/widget/widget.const.d.ts +4 -0
  201. package/dist/src/store/widget/widget.d.ts +135 -0
  202. package/dist/src/store/widget/widget.def.d.ts +2 -0
  203. package/dist/src/store/widget/widget.factory.d.ts +4 -0
  204. package/dist/src/store/widget/widget.slice.d.ts +98 -0
  205. package/dist/src/store/widget/widgetRTHandlers.d.ts +3 -0
  206. package/dist/src/store/widgetEditor/widgetEditor.d.ts +31 -0
  207. package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +16 -0
  208. package/dist/src/tests-utils/mockStore.d.ts +172 -0
  209. package/dist/src/tests-utils/testsUtils.d.ts +38 -0
  210. package/dist/src/types/index.d.ts +15 -0
  211. package/dist/src/types/oldStudio.d.ts +165 -0
  212. package/dist/src/types/store.d.ts +48 -0
  213. package/dist/src/types/utils.d.ts +18 -0
  214. package/dist/src/utils/errors.utils.d.ts +2 -0
  215. package/package.json +23 -22
  216. package/CHANGELOG.md +0 -43
  217. package/README-internal.md +0 -84
  218. package/dist/cjs.js +0 -6829
  219. package/dist/cjs.js.map +0 -1
  220. package/dist/esm.js +0 -6744
  221. package/dist/esm.js.map +0 -1
  222. package/dist/types.d.ts +0 -6401
  223. package/rollup.config.mjs +0 -47
  224. package/tsconfig.json +0 -55
package/rollup.config.mjs DELETED
@@ -1,47 +0,0 @@
1
- import { createRequire } from 'module';
2
- const require = createRequire(import.meta.url);
3
- import commonjs from '@rollup/plugin-commonjs';
4
- import typescript from '@rollup/plugin-typescript';
5
- import dts from 'rollup-plugin-dts';
6
- const pkg = require('./package.json');
7
- import json from '@rollup/plugin-json';
8
-
9
- function exitAfterBuild() {
10
- return {
11
- name: 'exit-after-build',
12
- closeBundle() {
13
- if (!process.env.ROLLUP_WATCH) {
14
- setImmediate(() => process.exit(0));
15
- }
16
- },
17
- };
18
- }
19
-
20
- export default [
21
- {
22
- input: 'src/index.ts',
23
- output: [
24
- {
25
- file: pkg.main,
26
- format: 'cjs',
27
- sourcemap: true,
28
- },
29
- {
30
- file: pkg.module,
31
- format: 'es',
32
- sourcemap: true,
33
- },
34
- ],
35
- external: ['redux', '@reduxjs/toolkit', 'jamespot-user-api', 'uuid'],
36
- plugins: [json(), commonjs(), typescript()],
37
- },
38
- {
39
- input: 'src/index.ts',
40
- output: {
41
- file: pkg.types,
42
- format: 'es',
43
- },
44
- external: ['redux', '@reduxjs/toolkit', 'jamespot-user-api', 'uuid'],
45
- plugins: [dts(), json(), exitAfterBuild()],
46
- },
47
- ];
package/tsconfig.json DELETED
@@ -1,55 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "dom",
5
- "dom.iterable",
6
- "esnext"
7
- ],
8
- "outDir": "dist",
9
- "removeComments": true,
10
- "target": "esnext",
11
- // Module resolution
12
- "baseUrl": "./", // Lets you set a base directory to resolve non-absolute module names.
13
- "esModuleInterop": true, // fixes some issues TS originally had with the ES6 spec where TypeScript treats CommonJS/AMD/UMD modules similar to ES6 module
14
- "moduleResolution": "node", // Pretty much always node for modern JS. Other option is "classic"
15
- "paths": {}, // A series of entries which re-map imports to lookup locations relative to the baseUrl
16
- "jsx": "react-jsx",
17
- "allowSyntheticDefaultImports": true,
18
- "skipLibCheck": true,
19
- "forceConsistentCasingInFileNames": true,
20
- // Source Map
21
- "sourceMap": true, // enables the use of source maps for debuggers and error reporting etc
22
- "sourceRoot": "/", // Specify the location where a debugger should locate TypeScript files instead of relative source locations.
23
- // Strict Checks
24
- "strict": true,
25
- "allowUnreachableCode": false, // pick up dead code paths
26
- "allowUnusedLabels": false,
27
- "alwaysStrict": true, // Ensures that your files are parsed in the ECMAScript strict mode, and emit “use strict” for each source file.
28
- "exactOptionalPropertyTypes": true,
29
- "noFallthroughCasesInSwitch": true,
30
- "noImplicitAny": true, // In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it cannot infer the type.
31
- "noImplicitOverride": false,
32
- "noImplicitThis": true,
33
- "noImplicitReturns": true,
34
- "noPropertyAccessFromIndexSignature": false,
35
- "noUncheckedIndexedAccess": true, // accessing index must always check for undefined
36
- "noUnusedLocals": true, // Report errors on unused local variables.
37
- "noUnusedParameters": true, // Report errors on unused parameters in functions
38
- "strictBindCallApply": true,
39
- "strictFunctionTypes": true,
40
- "strictNullChecks": true, // When strictNullChecks is true, null and undefined have their own distinct types and you’ll get a type error if you try to use them where a concrete value is expected.
41
- "strictPropertyInitialization": true,
42
- "useUnknownInCatchVariables": true
43
- },
44
- "include": [
45
- "src/**/*"
46
- ],
47
- "exclude": [
48
- ".changeset",
49
- ".github",
50
- "coverage",
51
- "dist",
52
- "node_modules",
53
- "**/*.test.ts",
54
- ],
55
- }