jamespot-front-business 1.3.7 → 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 (212) hide show
  1. package/dist/src/index.d.ts +2 -0
  2. package/dist/src/store/admin/logs/logs.d.ts +97 -0
  3. package/dist/src/store/admin/logs/logs.mock.d.ts +64 -0
  4. package/dist/src/store/admin/logs/logsNavigation.d.ts +23 -0
  5. package/dist/src/store/admin/logs/logsObjects.d.ts +23 -0
  6. package/dist/src/store/admin/logs/logsSearch.d.ts +23 -0
  7. package/dist/src/store/admin/logs/types.d.ts +12 -0
  8. package/dist/src/store/animations/animationStats.d.ts +19 -0
  9. package/dist/src/store/animations/animationStatsCurrent.d.ts +17 -0
  10. package/dist/src/store/animations/animations.d.ts +150 -0
  11. package/dist/src/store/animations/animations.mock.d.ts +9 -0
  12. package/dist/src/store/animations/animationsList.d.ts +75 -0
  13. package/dist/src/store/animations/animationsRTHandlers.d.ts +3 -0
  14. package/dist/src/store/animations/animationsRTHandlers.mock.d.ts +4 -0
  15. package/dist/src/store/animations/types.d.ts +22 -0
  16. package/dist/src/store/application/application.d.ts +48 -0
  17. package/dist/src/store/application/application.mock.d.ts +4 -0
  18. package/dist/src/store/application/application.types.d.ts +5 -0
  19. package/dist/src/store/article/article.d.ts +3 -0
  20. package/dist/src/store/article/articleRTHandlers.d.ts +2 -0
  21. package/dist/src/store/article/articleRTHandlers.mock.d.ts +4 -0
  22. package/dist/src/store/assetReservation/assetReservation.d.ts +74 -0
  23. package/dist/src/store/assetReservation/assetReservation.types.d.ts +31 -0
  24. package/dist/src/store/assetReservation/bookableAsset.d.ts +15 -0
  25. package/dist/src/store/assetReservation/bookableAsset.mock.d.ts +2 -0
  26. package/dist/src/store/assetReservation/configuration.d.ts +25 -0
  27. package/dist/src/store/assetReservation/configuration.mock.d.ts +17 -0
  28. package/dist/src/store/assetReservation/reservation.d.ts +20 -0
  29. package/dist/src/store/assetReservation/reservation.mock.d.ts +2 -0
  30. package/dist/src/store/bookmark/bookmark.d.ts +472 -0
  31. package/dist/src/store/bookmark/bookmark.types.d.ts +31 -0
  32. package/dist/src/store/bookmark/bookmarkList.d.ts +226 -0
  33. package/dist/src/store/bookmark/bookmarkList.mock.d.ts +201 -0
  34. package/dist/src/store/bookmark/bookmarkRTHandlers.d.ts +5 -0
  35. package/dist/src/store/bookmark/bookmarkRTHandlers.mock.d.ts +94 -0
  36. package/dist/src/store/bookmark/editBookmarkForm.d.ts +52 -0
  37. package/dist/src/store/bookmark/editBookmarkForm.mock.d.ts +4 -0
  38. package/dist/src/store/calendar/calendar.d.ts +347 -0
  39. package/dist/src/store/calendar/calendar.types.d.ts +22 -0
  40. package/dist/src/store/calendar/calendarEvents.d.ts +164 -0
  41. package/dist/src/store/calendar/calendarEvents.mock.d.ts +6 -0
  42. package/dist/src/store/calendar/calendarRTHandlers.d.ts +5 -0
  43. package/dist/src/store/calendar/calendarRTHandlers.mock.d.ts +16 -0
  44. package/dist/src/store/comment/comment.d.ts +66 -0
  45. package/dist/src/store/comment/comment.types.d.ts +18 -0
  46. package/dist/src/store/comment/commentList.d.ts +52 -0
  47. package/dist/src/store/comment/commentList.mock.d.ts +2 -0
  48. package/dist/src/store/comment/commentRTHandlers.d.ts +3 -0
  49. package/dist/src/store/comment/commentRTHandlers.mock.d.ts +102 -0
  50. package/dist/src/store/comment/commentsLikeRTHandlers.d.ts +3 -0
  51. package/dist/src/store/comment/commentsLikeRTHandlers.mock.d.ts +96 -0
  52. package/dist/src/store/contentReport/contentReport.d.ts +89 -0
  53. package/dist/src/store/contentReport/contentReport.mock.d.ts +3 -0
  54. package/dist/src/store/contentReport/contentReport.types.d.ts +17 -0
  55. package/dist/src/store/extraBot/extraBot.const.d.ts +7 -0
  56. package/dist/src/store/extraBot/extraBot.d.ts +167 -0
  57. package/dist/src/store/extraBot/extraBot.mock.d.ts +8 -0
  58. package/dist/src/store/extraBot/extraBot.types.d.ts +21 -0
  59. package/dist/src/store/faq/faq.d.ts +67 -0
  60. package/dist/src/store/faq/faq.types.d.ts +14 -0
  61. package/dist/src/store/faq/faqCategories.d.ts +20 -0
  62. package/dist/src/store/faq/faqCategories.mock.d.ts +2 -0
  63. package/dist/src/store/faq/faqConfig.d.ts +26 -0
  64. package/dist/src/store/faq/faqConfig.mock.d.ts +3 -0
  65. package/dist/src/store/fileIntegrity/fileIntegrity.const.d.ts +7 -0
  66. package/dist/src/store/fileIntegrity/fileIntegrity.d.ts +116 -0
  67. package/dist/src/store/fileIntegrity/fileIntegrity.mock.d.ts +4 -0
  68. package/dist/src/store/fileIntegrity/fileIntegrity.types.d.ts +12 -0
  69. package/dist/src/store/hook/hook.d.ts +505 -0
  70. package/dist/src/store/hook/hook.mock.d.ts +2 -0
  71. package/dist/src/store/hook/hook.types.d.ts +4 -0
  72. package/dist/src/store/hook/utils/driveHook.utils.d.ts +2 -0
  73. package/dist/src/store/index.d.ts +30 -0
  74. package/dist/src/store/jland/jland.d.ts +130 -0
  75. package/dist/src/store/jland/jland.types.d.ts +39 -0
  76. package/dist/src/store/jland/mapCreate.d.ts +21 -0
  77. package/dist/src/store/jland/mapCreate.mock.d.ts +82 -0
  78. package/dist/src/store/jland/mapList.d.ts +93 -0
  79. package/dist/src/store/jland/mapList.mock.d.ts +105 -0
  80. package/dist/src/store/jland/utils.d.ts +3 -0
  81. package/dist/src/store/magicPad/magicPad.d.ts +59 -0
  82. package/dist/src/store/magicPad/magicPad.mock.d.ts +2 -0
  83. package/dist/src/store/magicPad/magicPad.types.d.ts +15 -0
  84. package/dist/src/store/mediaLibrary/mediaLibrary.const.d.ts +7 -0
  85. package/dist/src/store/mediaLibrary/mediaLibrary.d.ts +454 -0
  86. package/dist/src/store/mediaLibrary/mediaLibrary.types.d.ts +24 -0
  87. package/dist/src/store/mediaLibrary/medialibrary.mock.d.ts +72 -0
  88. package/dist/src/store/model/model.d.ts +51 -0
  89. package/dist/src/store/model/model.mock.d.ts +144 -0
  90. package/dist/src/store/model/model.types.d.ts +5 -0
  91. package/dist/src/store/network/network.d.ts +29 -0
  92. package/dist/src/store/network/network.types.d.ts +10 -0
  93. package/dist/src/store/network/networkStatics.d.ts +5 -0
  94. package/dist/src/store/platform/platform.d.ts +20 -0
  95. package/dist/src/store/platform/platform.types.d.ts +11 -0
  96. package/dist/src/store/platform/platformConfig.d.ts +5 -0
  97. package/dist/src/store/share/share.actions.d.ts +16 -0
  98. package/dist/src/store/share/share.d.ts +29 -0
  99. package/dist/src/store/share/share.mock.d.ts +2 -0
  100. package/dist/src/store/share/share.slice.d.ts +5 -0
  101. package/dist/src/store/share/share.types.d.ts +9 -0
  102. package/dist/src/store/socialActions/socialActions.d.ts +49 -0
  103. package/dist/src/store/socialActions/socialActions.mock.d.ts +2 -0
  104. package/dist/src/store/studio/StudioAppsList.d.ts +108 -0
  105. package/dist/src/store/studio/appListMocks/appInWorkNoValue.d.ts +4 -0
  106. package/dist/src/store/studio/appListMocks/studioSuspendedTransformed.d.ts +2624 -0
  107. package/dist/src/store/studio/currentStudioApp.d.ts +54 -0
  108. package/dist/src/store/studio/mocks/erikBug/erikList.mock.d.ts +587 -0
  109. package/dist/src/store/studio/mocks/erikBug/getActiviteCE.mock.d.ts +1028 -0
  110. package/dist/src/store/studio/mocks/erikBug/getConge.mock.d.ts +3 -0
  111. package/dist/src/store/studio/mocks/erikBug/getCongeSaved.mock.d.ts +11 -0
  112. package/dist/src/store/studio/mocks/erikBug/getEmploi.mock.d.ts +1022 -0
  113. package/dist/src/store/studio/mocks/erikBug/getEmploiSaved.mock.d.ts +11 -0
  114. package/dist/src/store/studio/mocks/erikBug/getEquipment.mock.d.ts +1020 -0
  115. package/dist/src/store/studio/mocks/erikBug/getEquipmentSaved.mock.d.ts +11 -0
  116. package/dist/src/store/studio/mocks/erikBug/getIncident.mock.d.ts +3 -0
  117. package/dist/src/store/studio/mocks/erikBug/getIncidentSaved.mock.d.ts +11 -0
  118. package/dist/src/store/studio/mocks/erikBug/getTelephoneSaved.mock.d.ts +11 -0
  119. package/dist/src/store/studio/mocks/erikBug/getTrad.mock.d.ts +996 -0
  120. package/dist/src/store/studio/mocks/erikBug/taxoList.mock.d.ts +16 -0
  121. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/StudioList.d.ts +47 -0
  122. package/dist/src/store/studio/mocks/publishtoAndHtmlIssues/app1.d.ts +1016 -0
  123. package/dist/src/store/studio/studio.d.ts +172 -0
  124. package/dist/src/store/studio/studio.types.d.ts +572 -0
  125. package/dist/src/store/studio/studioAppsList.mock.d.ts +896 -0
  126. package/dist/src/store/studio/utils/appToXml.d.ts +6 -0
  127. package/dist/src/store/studio/utils/cloneStudioAppFromExistingApp.d.ts +2 -0
  128. package/dist/src/store/studio/utils/createNewStudioApp.d.ts +11 -0
  129. package/dist/src/store/studio/utils/generateNewFormField.d.ts +2 -0
  130. package/dist/src/store/studio/utils/installedToV2/fieldBuilders.d.ts +219 -0
  131. package/dist/src/store/studio/utils/installedToV2/installedToV2.d.ts +13 -0
  132. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled.mock.d.ts +1300 -0
  133. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsInstalled2.mock.d.ts +1274 -0
  134. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2-2.mock.d.ts +2 -0
  135. package/dist/src/store/studio/utils/installedToV2/mocks/allFieldsV2.mock.d.ts +2 -0
  136. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceInstalled.mock.d.ts +860 -0
  137. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppAudienceV2.mock.d.ts +2 -0
  138. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxInstalled.mock.d.ts +774 -0
  139. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppFluxV2.mock.d.ts +2 -0
  140. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppInstalled.mock.d.ts +782 -0
  141. package/dist/src/store/studio/utils/installedToV2/mocks/baseAppV2.mock.d.ts +2 -0
  142. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModif.mock.d.ts +2 -0
  143. package/dist/src/store/studio/utils/installedToV2/mocks/selectCommentModifInstalled.mock.d.ts +787 -0
  144. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsInstalled.mock.d.ts +852 -0
  145. package/dist/src/store/studio/utils/installedToV2/mocks/simpleFieldsV2.mock.d.ts +2 -0
  146. package/dist/src/store/studio/utils/installedToV2/mocks/specialApp.mock.d.ts +834 -0
  147. package/dist/src/store/studio/utils/installedToV2/mocks/wrongFixedAndHtmlData.d.ts +1308 -0
  148. package/dist/src/store/studio/utils/migrateJson.d.ts +3 -0
  149. package/dist/src/store/studio/utils/serverAppsToStudioApps.d.ts +3 -0
  150. package/dist/src/store/studio/utils/studioApplication.mock.d.ts +32 -0
  151. package/dist/src/store/teamWork/teamWork.d.ts +46 -0
  152. package/dist/src/store/teamWork/teamWorkRTHandlers.d.ts +3 -0
  153. package/dist/src/store/teamWork/teamWorkRTHandlers.mock.d.ts +2 -0
  154. package/dist/src/store/teamWork/teamWorkToDo.d.ts +20 -0
  155. package/dist/src/store/teamWork/teamWorkToDo.mock.d.ts +2 -0
  156. package/dist/src/store/teamWork/types.d.ts +10 -0
  157. package/dist/src/store/tinymce/tinyMCEOptions.d.ts +5 -0
  158. package/dist/src/store/tinymce/tinymce.d.ts +52 -0
  159. package/dist/src/store/tinymce/tinymce.types.d.ts +10 -0
  160. package/dist/src/store/toast/toast.d.ts +35 -0
  161. package/dist/src/store/toast/toast.types.d.ts +19 -0
  162. package/dist/src/store/tvDisplay/channelsList.d.ts +36 -0
  163. package/dist/src/store/tvDisplay/channelsList.mock.d.ts +3 -0
  164. package/dist/src/store/tvDisplay/tvDisplay.d.ts +54 -0
  165. package/dist/src/store/tvDisplay/tvDisplay.types.d.ts +12 -0
  166. package/dist/src/store/tvDisplay/utils.d.ts +2 -0
  167. package/dist/src/store/tvDisplay/utils.mock.d.ts +5 -0
  168. package/dist/src/store/user/user.types.d.ts +4 -0
  169. package/dist/src/store/user/userCurrent.d.ts +21 -0
  170. package/dist/src/store/user/userCurrent.mock.d.ts +36 -0
  171. package/dist/src/store/wedoc/wedoc.actions.d.ts +85 -0
  172. package/dist/src/store/wedoc/wedoc.d.ts +165 -0
  173. package/dist/src/store/wedoc/wedoc.mock.d.ts +3 -0
  174. package/dist/src/store/wedoc/wedoc.slice.d.ts +8 -0
  175. package/dist/src/store/wedoc/wedoc.types.d.ts +22 -0
  176. package/dist/src/store/widget/definitions/widget-article-attachment.d.ts +3 -0
  177. package/dist/src/store/widget/definitions/widget-article-button.d.ts +16 -0
  178. package/dist/src/store/widget/definitions/widget-article-gallery.d.ts +3 -0
  179. package/dist/src/store/widget/definitions/widget-article-image.d.ts +3 -0
  180. package/dist/src/store/widget/definitions/widget-article-slider.d.ts +3 -0
  181. package/dist/src/store/widget/definitions/widget-article-text.d.ts +3 -0
  182. package/dist/src/store/widget/definitions/widget-article-title.d.ts +3 -0
  183. package/dist/src/store/widget/definitions/widget-calendar-calDav.d.ts +3 -0
  184. package/dist/src/store/widget/definitions/widget-check-list.d.ts +3 -0
  185. package/dist/src/store/widget/definitions/widget-color.d.ts +3 -0
  186. package/dist/src/store/widget/definitions/widget-contact-cardDav.d.ts +3 -0
  187. package/dist/src/store/widget/definitions/widget-datasource-table.d.ts +3 -0
  188. package/dist/src/store/widget/definitions/widget-emails-imap.d.ts +3 -0
  189. package/dist/src/store/widget/definitions/widget-excel-datasource-table.d.ts +3 -0
  190. package/dist/src/store/widget/definitions/widget-extension.d.ts +3 -0
  191. package/dist/src/store/widget/definitions/widget-lucca-absence.d.ts +3 -0
  192. package/dist/src/store/widget/definitions/widget-presence.d.ts +3 -0
  193. package/dist/src/store/widget/definitions/widget-quick-survey.d.ts +3 -0
  194. package/dist/src/store/widget/definitions/widget-user-profile.d.ts +3 -0
  195. package/dist/src/store/widget/definitions/widget-welcome.d.ts +3 -0
  196. package/dist/src/store/widget/utils.d.ts +1 -0
  197. package/dist/src/store/widget/widget.const.d.ts +4 -0
  198. package/dist/src/store/widget/widget.d.ts +135 -0
  199. package/dist/src/store/widget/widget.def.d.ts +2 -0
  200. package/dist/src/store/widget/widget.factory.d.ts +4 -0
  201. package/dist/src/store/widget/widget.slice.d.ts +98 -0
  202. package/dist/src/store/widget/widgetRTHandlers.d.ts +3 -0
  203. package/dist/src/store/widgetEditor/widgetEditor.d.ts +31 -0
  204. package/dist/src/store/widgetEditor/widgetEditor.types.d.ts +16 -0
  205. package/dist/src/tests-utils/mockStore.d.ts +172 -0
  206. package/dist/src/tests-utils/testsUtils.d.ts +38 -0
  207. package/dist/src/types/index.d.ts +15 -0
  208. package/dist/src/types/oldStudio.d.ts +165 -0
  209. package/dist/src/types/store.d.ts +48 -0
  210. package/dist/src/types/utils.d.ts +18 -0
  211. package/dist/src/utils/errors.utils.d.ts +2 -0
  212. package/package.json +2 -2
@@ -0,0 +1,572 @@
1
+ import { StudioApplicationBase, ValueOf, jTaxonomyLittle } from 'jamespot-user-api';
2
+ export type StudioAppsListState = {
3
+ studioAppsList?: StudioApplication[];
4
+ loadingStudioAppsList: 'idle' | 'pending';
5
+ deleteStudioAppStatus: 'idle' | 'pending';
6
+ suspendStudioAppStatus: 'idle' | 'pending';
7
+ restartStudioAppStatus: 'idle' | 'pending';
8
+ cloneStudioAppStatus: 'idle' | 'pending';
9
+ createInWorkAppStatus: 'idle' | 'pending';
10
+ createNewStudioAppStatus: 'idle' | 'pending';
11
+ };
12
+ export type StudioAppsListRootState = {
13
+ studioAppsList: StudioAppsListState;
14
+ };
15
+ export declare const AUDIENCE: {
16
+ readonly ALL: "1";
17
+ readonly CUSTOM: "0";
18
+ };
19
+ export type StudioAudienceType = typeof AUDIENCE.ALL | typeof AUDIENCE.CUSTOM;
20
+ export declare const StatusType: {
21
+ readonly draft: "draft";
22
+ readonly installed: "installed";
23
+ readonly suspended: "suspended";
24
+ };
25
+ export declare const APP_STATUS_TYPE: {
26
+ DRAFT: "draft";
27
+ INSTALLED: "installed";
28
+ SUSPENDED: "suspended";
29
+ };
30
+ export type AppStatusKeys = keyof typeof APP_STATUS_TYPE;
31
+ export type AppStatusType = ValueOf<typeof StatusType>;
32
+ export interface StudioAppBase extends StudioApplicationBase {
33
+ articlesCount?: number;
34
+ }
35
+ export type AppSyncViewFieldOrder = {
36
+ [key in ViewName]: boolean;
37
+ };
38
+ export interface StudioApplication {
39
+ idApp: string;
40
+ status: AppStatusType;
41
+ author?: string;
42
+ studioVersion: number;
43
+ migratedFrom?: number;
44
+ manifest: StudioAppManifest;
45
+ inWorkVersion?: StudioApplication;
46
+ syncViewFieldOrder?: AppSyncViewFieldOrder;
47
+ fields: AppFieldsFormItem[];
48
+ views: AppViewsFields;
49
+ audience: StudioAudienceType;
50
+ installFor: AppInstallForType[];
51
+ }
52
+ export interface StudioAppManifest {
53
+ appShortName: string;
54
+ appName: string;
55
+ description: string;
56
+ author?: string;
57
+ typeLabel: string;
58
+ cssColor: string;
59
+ cssClass: {
60
+ label: string;
61
+ value: string;
62
+ };
63
+ version: number;
64
+ dateCreation: string;
65
+ viewSolr: string;
66
+ displayContentLegacyTable?: boolean;
67
+ checkAccess: boolean;
68
+ accessRightList?: string;
69
+ attrExposed: Array<string>;
70
+ articlesCount?: number;
71
+ }
72
+ export interface AppLabelsType {
73
+ label?: AppLabelContentType;
74
+ description?: AppLabelContentType;
75
+ }
76
+ export interface AppLabelContentType {
77
+ content: string;
78
+ mode: labelMode;
79
+ display?: string;
80
+ }
81
+ type labelMode = 'SERVER' | 'GLOBAL' | 'RESOURCES' | 'APP';
82
+ export declare const STUDIO_VIEW: {
83
+ SOLR: string;
84
+ NOT_SOLR: string;
85
+ };
86
+ export type AppFieldsFormItem = {
87
+ id: string;
88
+ type: AppFormItemTypesValues;
89
+ properties?: AppFieldFormProperty[];
90
+ mandatory?: boolean;
91
+ views?: AppViews;
92
+ value?: any;
93
+ isActive?: boolean;
94
+ isFixed?: boolean;
95
+ isOptional?: boolean;
96
+ isLockedValue?: boolean;
97
+ };
98
+ export type AppViewFieldItem = {
99
+ type: AppFormItemTypesValues | ExtraAppFieldsItemViewsValues;
100
+ properties: AppFieldFormProperty[];
101
+ isUsed: boolean;
102
+ isOptional: boolean;
103
+ isFixed: boolean;
104
+ isLockedValue: boolean;
105
+ value: any;
106
+ pos: number;
107
+ };
108
+ export interface AppViews {
109
+ create: boolean;
110
+ popup: boolean;
111
+ edit: boolean;
112
+ list: boolean;
113
+ filter: boolean;
114
+ view: boolean;
115
+ }
116
+ export type AppViewsFields = {
117
+ create: AppViewFieldsItems;
118
+ popup: AppViewFieldsItems;
119
+ edit: AppViewFieldsItems;
120
+ list: AppViewFieldsItems;
121
+ filter: AppViewFieldsItems;
122
+ view: AppViewFieldsItems;
123
+ };
124
+ export type AppViewFieldsItems = {
125
+ [id: string]: AppViewFieldItem;
126
+ };
127
+ export type ViewName = 'create' | 'popup' | 'edit' | 'list' | 'filter' | 'view';
128
+ export declare const viewsList: ViewName[];
129
+ export declare const AppFormItemTypes: {
130
+ readonly IMAGE: "IMAGE";
131
+ readonly DESCRIPTION: "DESCRIPTION";
132
+ readonly TEXT: "TEXT";
133
+ readonly TEXTAREA: "TEXTAREA";
134
+ readonly TEXTAREAHTML: "TEXTAREAHTML";
135
+ readonly DATE: "DATE";
136
+ readonly DATETIME: "DATETIME";
137
+ readonly NUMBER: "NUMBER";
138
+ readonly URL: "URL";
139
+ readonly EMAIL: "EMAIL";
140
+ readonly SELECT: "SELECT";
141
+ readonly CHECKBOX: "CHECKBOX";
142
+ readonly TOGGLE: "TOGGLE";
143
+ readonly RADIO: "RADIO";
144
+ readonly TAGS: "TAGS";
145
+ readonly ADDFILEATTACHMENT: "ADDFILEATTACHMENT";
146
+ readonly CODEHTML: "CODEHTML";
147
+ readonly USERLINK: "USERLINK";
148
+ readonly CONTENTLINK: "CONTENTLINK";
149
+ readonly RANGE: "RANGE";
150
+ };
151
+ export type AppFormItemTypesValues = ValueOf<typeof AppFormItemTypes>;
152
+ export declare const ExtraAppFieldsItemViews: {
153
+ readonly TITLE: "TITLE";
154
+ readonly USER: "USER";
155
+ readonly PUBLISHTO: "PUBLISHTO";
156
+ readonly SENDALERTTOSUBSCRIBERS: "SENDALERTTOSUBSCRIBERS";
157
+ readonly RECEIVEACOPY: "RECEIVEACOPY";
158
+ readonly CREATIONDATE: "CREATIONDATE";
159
+ };
160
+ export type ExtraAppFieldsItemViewsValues = ValueOf<typeof ExtraAppFieldsItemViews>;
161
+ export declare const ExtraAppFieldsItemName: {
162
+ TITLE: string;
163
+ USER: string;
164
+ PUBLISHTO: string;
165
+ SENDALERTTOSUBSCRIBERS: string;
166
+ RECEIVEACOPY: string;
167
+ CREATIONDATE: string;
168
+ };
169
+ export type CheckBoxOption = {
170
+ label: string;
171
+ value: any;
172
+ };
173
+ export declare const AppFieldFormPropertyTypes: {
174
+ readonly LABEL: "label";
175
+ readonly DESCRIPTION: "description";
176
+ readonly RICHTEXT: "richtext";
177
+ readonly CHECKBOX: "checkbox";
178
+ readonly OPTIONS_EDITOR: "options_editor";
179
+ readonly TAXONOMY: "taxonomy";
180
+ readonly CONTENTTYPE: "contenttype";
181
+ };
182
+ export type AppFieldFormPropertyTypesValues = ValueOf<typeof AppFieldFormPropertyTypes>;
183
+ export type AppFieldFormProperty = {
184
+ propertyType: AppFieldFormPropertyTypesValues;
185
+ isRequired?: boolean;
186
+ checkBoxOptions?: CheckBoxOption[];
187
+ value?: any;
188
+ isOptionsEditorEnhanced?: boolean;
189
+ };
190
+ export declare const AppFormUniqueListCheck: string[];
191
+ export declare const AppFormBannedFromViews: Map<AppFormItemTypesValues, ViewName[]>;
192
+ export declare const MapExtraFieldsWithView: {
193
+ readonly create: {
194
+ readonly fixed: readonly ["TITLE"];
195
+ readonly optional: readonly ["PUBLISHTO", "SENDALERTTOSUBSCRIBERS", "RECEIVEACOPY"];
196
+ };
197
+ readonly popup: {
198
+ readonly fixed: readonly ["TITLE"];
199
+ readonly optional: readonly ["PUBLISHTO"];
200
+ };
201
+ readonly edit: {
202
+ readonly fixed: readonly ["TITLE"];
203
+ readonly optional: readonly ["PUBLISHTO"];
204
+ };
205
+ readonly list: {
206
+ readonly fixed: readonly ["TITLE", "USER"];
207
+ readonly optional: readonly ["CREATIONDATE"];
208
+ };
209
+ readonly filter: {
210
+ readonly fixed: readonly ["TITLE", "USER"];
211
+ readonly optional: readonly ["CREATIONDATE"];
212
+ };
213
+ readonly view: {
214
+ readonly fixed: readonly ["TITLE"];
215
+ readonly optional: readonly [];
216
+ };
217
+ };
218
+ export type AppFieldView = {
219
+ fieldIdRef: string;
220
+ value: any;
221
+ };
222
+ export interface AppTypeServerModel {
223
+ typeName: string;
224
+ typeLabel: string;
225
+ author?: string;
226
+ typeLabelPlural: string;
227
+ typeLabelLinkSingular: string;
228
+ typeLabelLinkPlural: string;
229
+ buttonLabel: string;
230
+ buttonLinkLabel: string;
231
+ buttonLinkUrl: string;
232
+ cssClass: string;
233
+ cssColor: string;
234
+ searchTab: string;
235
+ searchTabLabel: string;
236
+ jadAction: string;
237
+ supportedTypes: string;
238
+ mainType: string;
239
+ classImpl: string;
240
+ classCodeLocation: string;
241
+ capture?: string;
242
+ tables: Array<AppTableModel>;
243
+ displays?: AppServerDisplaysModel;
244
+ }
245
+ export interface AppTableModel {
246
+ tableType: string;
247
+ typeSqlName: string;
248
+ sqlNameColumn: string;
249
+ sqlValueColumn: string;
250
+ joinFieldName: string;
251
+ tablename: string;
252
+ idSqlName: string;
253
+ idFieldName: string;
254
+ attributes: Array<AppTableAttributesModel>;
255
+ }
256
+ export interface AppTableAttributesModel {
257
+ attrType: string;
258
+ formatSolr: string;
259
+ label: string;
260
+ description: string;
261
+ mandatory: boolean;
262
+ taxonomy: jTaxonomyLittle;
263
+ display: boolean;
264
+ teaser: boolean;
265
+ col: string;
266
+ supportedTypes: string;
267
+ column: string;
268
+ name: string;
269
+ widget: AppAttrWidgetModel;
270
+ solr: AppAttrSolrModel;
271
+ }
272
+ export interface AppAttrWidgetModel {
273
+ type: string;
274
+ typeFile: string;
275
+ format: string;
276
+ multiple: string;
277
+ digits: string;
278
+ params: any;
279
+ options: Array<string>;
280
+ }
281
+ export interface AppAttrSolrModel {
282
+ type: string;
283
+ indexed: boolean;
284
+ stored: boolean;
285
+ required: boolean;
286
+ multiValued: boolean;
287
+ searchable: boolean;
288
+ used: boolean;
289
+ name: string;
290
+ }
291
+ export interface AppServerDisplaysModel {
292
+ create?: AppServerDisplayModel;
293
+ 'create-popup': AppServerDisplayModel;
294
+ edit?: AppServerDisplayModel;
295
+ list?: AppServerDisplayModel;
296
+ display?: AppServerDisplayModel;
297
+ displayDisabled?: AppServerDisplayModel;
298
+ }
299
+ export interface AppServerDisplayModel {
300
+ type: string;
301
+ view: string;
302
+ mode: string;
303
+ format: string;
304
+ composants: Array<AppServerViewModel>;
305
+ }
306
+ export interface AppServerViewModel {
307
+ element: 'attr' | 'html' | 'image' | 'publishTo';
308
+ composants: [];
309
+ name?: string;
310
+ format?: string;
311
+ html?: string;
312
+ }
313
+ export type AppInstallForType = Partial<{
314
+ id: string;
315
+ uri: string;
316
+ shortUri: string;
317
+ title: string;
318
+ name: string;
319
+ mainType: string;
320
+ type: string;
321
+ label: string;
322
+ cssClass: string;
323
+ cssColor: string;
324
+ class: string;
325
+ Pseudo: string;
326
+ _url: string;
327
+ }>;
328
+ export declare const AppColumnsDefaultTypes: string[];
329
+ export declare const AppFormPrimaryListValues: string[];
330
+ export type TaxonomyPropertyValue = Pick<jTaxonomyLittle, 'type' | 'id' | 'title'>;
331
+ export type JType = {
332
+ cssClass: string;
333
+ cssColor: string;
334
+ label: string;
335
+ type: string;
336
+ mainType: string;
337
+ };
338
+ export type ContentTypePropertyValue = Pick<JType, 'type' | 'label'>;
339
+ export declare const AppFormFixedList: ("TITLE" | "USER" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
340
+ export declare const AppFormNoAsFieldList: Array<ExtraAppFieldsItemViewsValues | AppFormItemTypesValues>;
341
+ export declare const AppFormFieldOnlyInView: "CODEHTML"[];
342
+ export declare const AppFormNonPrimaryList: (AppFormItemTypesValues | ExtraAppFieldsItemViewsValues)[];
343
+ export interface InstalledApp {
344
+ idApp: string;
345
+ name: string;
346
+ status: string;
347
+ label: string;
348
+ img: string;
349
+ icon: string;
350
+ color: string;
351
+ url: string;
352
+ type: string;
353
+ urlTarget: '_blank';
354
+ description: string;
355
+ order: number;
356
+ studioVersion: number;
357
+ author: string;
358
+ dateCreation: Date;
359
+ suspended: boolean;
360
+ action: Action;
361
+ view: string;
362
+ display: string;
363
+ columns: Columns;
364
+ accessRightList: string[];
365
+ accessRightObjectList: AccessRightObjectList[];
366
+ checkAccess: boolean;
367
+ showImport: boolean;
368
+ showMap: boolean;
369
+ mail2RSE: boolean;
370
+ attrExposed: string[];
371
+ manifest: Manifest;
372
+ typeModel: AppTypeServerModel;
373
+ }
374
+ export interface AccessRightObjectList {
375
+ id: number;
376
+ type: string;
377
+ uri: string;
378
+ title: string;
379
+ mainType: string;
380
+ _cssColor: string;
381
+ _cssClass: string;
382
+ _url: string;
383
+ _right: Right;
384
+ firstname: string;
385
+ lastname: string;
386
+ mail: string;
387
+ _values: Values;
388
+ }
389
+ export interface Right {
390
+ create: boolean;
391
+ read: boolean;
392
+ publish: boolean;
393
+ administrate: boolean;
394
+ update: boolean;
395
+ delete: boolean;
396
+ comment: boolean;
397
+ member: boolean;
398
+ }
399
+ export interface Values {
400
+ firstname: string;
401
+ lastname: string;
402
+ mail: string;
403
+ title: string;
404
+ dateCreation: Date;
405
+ dateModified: Date;
406
+ function: string;
407
+ company: string;
408
+ }
409
+ export interface Action {
410
+ action: string;
411
+ nameApp: string;
412
+ }
413
+ export interface Columns {
414
+ title: string;
415
+ idUser: string;
416
+ description: string;
417
+ dateCreation: string;
418
+ }
419
+ export interface Manifest {
420
+ version: number;
421
+ manifestVersion: number;
422
+ dateCreation: Date;
423
+ editor: string;
424
+ editorUrl: string;
425
+ categories: string;
426
+ author: string;
427
+ }
428
+ export interface Displays {
429
+ create: Create;
430
+ 'create-popup': Create;
431
+ edit: Create;
432
+ display: Display;
433
+ }
434
+ export interface Create {
435
+ type: string;
436
+ view: string;
437
+ mode: string;
438
+ format: string;
439
+ composants: CreateComposant[];
440
+ }
441
+ export interface CreateComposant {
442
+ element: Element;
443
+ composants: any[];
444
+ name?: string;
445
+ format?: string;
446
+ mainTypes?: null;
447
+ views?: null;
448
+ }
449
+ export declare enum Element {
450
+ Attr = "attr",
451
+ PublishTo = "publishTo"
452
+ }
453
+ export interface Display {
454
+ type: string;
455
+ view: string;
456
+ mode: string;
457
+ format: string;
458
+ composants: DisplayComposant[];
459
+ }
460
+ export interface DisplayComposant {
461
+ element: Element;
462
+ composants: any[];
463
+ name: string;
464
+ format: string;
465
+ }
466
+ export interface Table {
467
+ tableType: string;
468
+ typeSqlName: string;
469
+ sqlNameColumn: null | string;
470
+ sqlValueColumn: null;
471
+ joinFieldName: null;
472
+ tablename?: string;
473
+ idSqlName?: string;
474
+ idFieldName?: string;
475
+ attributes: Attribute[];
476
+ sqlSrcIdColumn?: string;
477
+ sqlSrcTypeColumn?: string;
478
+ sqlTargetIdColumn?: string;
479
+ sqlTargetTypeColumn?: string;
480
+ }
481
+ export interface Attribute {
482
+ attrType: string;
483
+ formatSolr: null;
484
+ label: string;
485
+ description: Description;
486
+ mandatory: boolean;
487
+ display: boolean;
488
+ teaser: boolean;
489
+ col: null;
490
+ supportedTypes: string;
491
+ column: string;
492
+ name: string;
493
+ solr: Solr;
494
+ widget: StudioWidget;
495
+ labelDisplay: string;
496
+ }
497
+ export declare enum Description {
498
+ Empty = "",
499
+ FieldTagDescription = "Field_Tag_Description",
500
+ FieldTitleDescription = "Field_Title_Description",
501
+ WWWDescCOM = "www.desc.com"
502
+ }
503
+ export interface Solr {
504
+ type: string;
505
+ indexed: boolean | string;
506
+ stored: boolean | string;
507
+ required: boolean | string;
508
+ multiValued: boolean | string;
509
+ searchable: boolean | string;
510
+ used: string;
511
+ name?: string;
512
+ taxonomy?: string;
513
+ }
514
+ export interface StudioWidget {
515
+ type: null | string;
516
+ typeFile: null | string;
517
+ format: null | string;
518
+ multiple: boolean | string;
519
+ params: any[] | ParamsClass;
520
+ options: any[] | OptionsClass;
521
+ }
522
+ export interface OptionsClass {
523
+ '1': string;
524
+ }
525
+ export interface ParamsClass {
526
+ data?: string;
527
+ defaultValue?: string;
528
+ 'jcomplete-url'?: string;
529
+ 'data-crop-b64'?: string;
530
+ 'data-image'?: string;
531
+ accept?: string;
532
+ save?: string;
533
+ mention?: string;
534
+ class?: string;
535
+ idTaxonomy?: string;
536
+ jagCheckbox?: string;
537
+ }
538
+ export type StudioRootState = {
539
+ studio: StudioAppsListRootState & CurrentStudioAppRootState;
540
+ };
541
+ export interface CurrentStudioAppState {
542
+ currentStudioApp: StudioApplication | null;
543
+ fetchCurrentStudioAppStatus: 'idle' | 'pending';
544
+ saveCurrentStudioAppStatus: 'idle' | 'pending';
545
+ installStudioAppStatus: 'idle' | 'pending';
546
+ hasChanged: boolean;
547
+ }
548
+ export type CurrentStudioAppRootState = {
549
+ currentStudioApp: CurrentStudioAppState;
550
+ };
551
+ export type HTMLInfo = {
552
+ id: string;
553
+ name: string;
554
+ type: string;
555
+ fixed: boolean;
556
+ views: {
557
+ create: boolean;
558
+ popup: boolean;
559
+ edit: boolean;
560
+ list: boolean;
561
+ filter: boolean;
562
+ view: boolean;
563
+ };
564
+ table: string;
565
+ properties: {
566
+ code: {
567
+ html: string;
568
+ text: string;
569
+ };
570
+ };
571
+ };
572
+ export {};