@axelor/aos-mobile-project 8.2.0

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 (247) hide show
  1. package/README.md +44 -0
  2. package/lib/api/index.d.ts +4 -0
  3. package/lib/api/index.js +22 -0
  4. package/lib/api/index.js.map +1 -0
  5. package/lib/api/project-api.d.ts +20 -0
  6. package/lib/api/project-api.js +136 -0
  7. package/lib/api/project-api.js.map +1 -0
  8. package/lib/api/project-task-api.d.ts +51 -0
  9. package/lib/api/project-task-api.js +294 -0
  10. package/lib/api/project-task-api.js.map +1 -0
  11. package/lib/api/reporting-api.d.ts +3 -0
  12. package/lib/api/reporting-api.js +26 -0
  13. package/lib/api/reporting-api.js.map +1 -0
  14. package/lib/api/timesheet-lines-api.d.ts +3 -0
  15. package/lib/api/timesheet-lines-api.js +41 -0
  16. package/lib/api/timesheet-lines-api.js.map +1 -0
  17. package/lib/components/atoms/DatesDisplay/DatesDisplay.d.ts +6 -0
  18. package/lib/components/atoms/DatesDisplay/DatesDisplay.js +59 -0
  19. package/lib/components/atoms/DatesDisplay/DatesDisplay.js.map +1 -0
  20. package/lib/components/atoms/PartnerCard/PartnerCard.d.ts +12 -0
  21. package/lib/components/atoms/PartnerCard/PartnerCard.js +74 -0
  22. package/lib/components/atoms/PartnerCard/PartnerCard.js.map +1 -0
  23. package/lib/components/atoms/ProjectCard/ProjectCard.d.ts +15 -0
  24. package/lib/components/atoms/ProjectCard/ProjectCard.js +101 -0
  25. package/lib/components/atoms/ProjectCard/ProjectCard.js.map +1 -0
  26. package/lib/components/atoms/ProjectSimpleCard/ProjectSimpleCard.d.ts +10 -0
  27. package/lib/components/atoms/ProjectSimpleCard/ProjectSimpleCard.js +48 -0
  28. package/lib/components/atoms/ProjectSimpleCard/ProjectSimpleCard.js.map +1 -0
  29. package/lib/components/atoms/TaskCard/TaskCard.d.ts +16 -0
  30. package/lib/components/atoms/TaskCard/TaskCard.js +93 -0
  31. package/lib/components/atoms/TaskCard/TaskCard.js.map +1 -0
  32. package/lib/components/atoms/index.d.ts +5 -0
  33. package/lib/components/atoms/index.js +23 -0
  34. package/lib/components/atoms/index.js.map +1 -0
  35. package/lib/components/index.d.ts +5 -0
  36. package/lib/components/index.js +23 -0
  37. package/lib/components/index.js.map +1 -0
  38. package/lib/components/molecules/ActivityCard/ActivityCard.d.ts +11 -0
  39. package/lib/components/molecules/ActivityCard/ActivityCard.js +80 -0
  40. package/lib/components/molecules/ActivityCard/ActivityCard.js.map +1 -0
  41. package/lib/components/molecules/CustomFieldPopup/CustomFieldPopup.d.ts +11 -0
  42. package/lib/components/molecules/CustomFieldPopup/CustomFieldPopup.js +53 -0
  43. package/lib/components/molecules/CustomFieldPopup/CustomFieldPopup.js.map +1 -0
  44. package/lib/components/molecules/DropdownInvoicing/DropdownInvoicing.d.ts +11 -0
  45. package/lib/components/molecules/DropdownInvoicing/DropdownInvoicing.js +41 -0
  46. package/lib/components/molecules/DropdownInvoicing/DropdownInvoicing.js.map +1 -0
  47. package/lib/components/molecules/DropdownMembers/DropdownMembers.d.ts +8 -0
  48. package/lib/components/molecules/DropdownMembers/DropdownMembers.js +33 -0
  49. package/lib/components/molecules/DropdownMembers/DropdownMembers.js.map +1 -0
  50. package/lib/components/molecules/DropdownTaskCharacteristics/DropdownTaskCharacteristics.d.ts +13 -0
  51. package/lib/components/molecules/DropdownTaskCharacteristics/DropdownTaskCharacteristics.js +51 -0
  52. package/lib/components/molecules/DropdownTaskCharacteristics/DropdownTaskCharacteristics.js.map +1 -0
  53. package/lib/components/molecules/DropdownTaskDescription/DropdownTaskDescription.d.ts +8 -0
  54. package/lib/components/molecules/DropdownTaskDescription/DropdownTaskDescription.js +39 -0
  55. package/lib/components/molecules/DropdownTaskDescription/DropdownTaskDescription.js.map +1 -0
  56. package/lib/components/molecules/PartnerActionCard/PartnerActionCard.d.ts +19 -0
  57. package/lib/components/molecules/PartnerActionCard/PartnerActionCard.js +53 -0
  58. package/lib/components/molecules/PartnerActionCard/PartnerActionCard.js.map +1 -0
  59. package/lib/components/molecules/ProjectHeader/ProjectHeader.d.ts +3 -0
  60. package/lib/components/molecules/ProjectHeader/ProjectHeader.js +67 -0
  61. package/lib/components/molecules/ProjectHeader/ProjectHeader.js.map +1 -0
  62. package/lib/components/molecules/ProjectSiteTags/ProjectSiteTags.d.ts +3 -0
  63. package/lib/components/molecules/ProjectSiteTags/ProjectSiteTags.js +34 -0
  64. package/lib/components/molecules/ProjectSiteTags/ProjectSiteTags.js.map +1 -0
  65. package/lib/components/molecules/SectionHeader/SectionHeader.d.ts +9 -0
  66. package/lib/components/molecules/SectionHeader/SectionHeader.js +56 -0
  67. package/lib/components/molecules/SectionHeader/SectionHeader.js.map +1 -0
  68. package/lib/components/molecules/TaskActionCard/TaskActionCard.d.ts +20 -0
  69. package/lib/components/molecules/TaskActionCard/TaskActionCard.js +39 -0
  70. package/lib/components/molecules/TaskActionCard/TaskActionCard.js.map +1 -0
  71. package/lib/components/molecules/TaskDetailsHeader/TaskDetailsHeader.d.ts +3 -0
  72. package/lib/components/molecules/TaskDetailsHeader/TaskDetailsHeader.js +67 -0
  73. package/lib/components/molecules/TaskDetailsHeader/TaskDetailsHeader.js.map +1 -0
  74. package/lib/components/molecules/index.d.ts +12 -0
  75. package/lib/components/molecules/index.js +30 -0
  76. package/lib/components/molecules/index.js.map +1 -0
  77. package/lib/components/organisms/CustomSection/CustomSection.d.ts +10 -0
  78. package/lib/components/organisms/CustomSection/CustomSection.js +49 -0
  79. package/lib/components/organisms/CustomSection/CustomSection.js.map +1 -0
  80. package/lib/components/organisms/LogTimeButton/LogTimeButton.d.ts +6 -0
  81. package/lib/components/organisms/LogTimeButton/LogTimeButton.js +41 -0
  82. package/lib/components/organisms/LogTimeButton/LogTimeButton.js.map +1 -0
  83. package/lib/components/organisms/ProjectDropdownCards/ProjectDropdownCards.d.ts +3 -0
  84. package/lib/components/organisms/ProjectDropdownCards/ProjectDropdownCards.js +51 -0
  85. package/lib/components/organisms/ProjectDropdownCards/ProjectDropdownCards.js.map +1 -0
  86. package/lib/components/organisms/ProjectTaskDropdownCards/ProjectTaskDropdownCards.d.ts +3 -0
  87. package/lib/components/organisms/ProjectTaskDropdownCards/ProjectTaskDropdownCards.js +52 -0
  88. package/lib/components/organisms/ProjectTaskDropdownCards/ProjectTaskDropdownCards.js.map +1 -0
  89. package/lib/components/organisms/TimeSpentGridView/TimeSpentGridView.d.ts +3 -0
  90. package/lib/components/organisms/TimeSpentGridView/TimeSpentGridView.js +53 -0
  91. package/lib/components/organisms/TimeSpentGridView/TimeSpentGridView.js.map +1 -0
  92. package/lib/components/organisms/index.d.ts +5 -0
  93. package/lib/components/organisms/index.js +23 -0
  94. package/lib/components/organisms/index.js.map +1 -0
  95. package/lib/components/pages/GeneralInformationView/GeneralInformationView.d.ts +3 -0
  96. package/lib/components/pages/GeneralInformationView/GeneralInformationView.js +55 -0
  97. package/lib/components/pages/GeneralInformationView/GeneralInformationView.js.map +1 -0
  98. package/lib/components/pages/ReportingView/ReportingView.d.ts +3 -0
  99. package/lib/components/pages/ReportingView/ReportingView.js +60 -0
  100. package/lib/components/pages/ReportingView/ReportingView.js.map +1 -0
  101. package/lib/components/pages/SubProjectView/SubProjectView.d.ts +3 -0
  102. package/lib/components/pages/SubProjectView/SubProjectView.js +80 -0
  103. package/lib/components/pages/SubProjectView/SubProjectView.js.map +1 -0
  104. package/lib/components/pages/TaskCustomFieldsView/TaskCustomFieldsView.d.ts +3 -0
  105. package/lib/components/pages/TaskCustomFieldsView/TaskCustomFieldsView.js +49 -0
  106. package/lib/components/pages/TaskCustomFieldsView/TaskCustomFieldsView.js.map +1 -0
  107. package/lib/components/pages/TaskGeneralInformationView/TaskGeneralInformationView.d.ts +5 -0
  108. package/lib/components/pages/TaskGeneralInformationView/TaskGeneralInformationView.js +55 -0
  109. package/lib/components/pages/TaskGeneralInformationView/TaskGeneralInformationView.js.map +1 -0
  110. package/lib/components/pages/TaskLinkView/TaskLinkView.d.ts +3 -0
  111. package/lib/components/pages/TaskLinkView/TaskLinkView.js +58 -0
  112. package/lib/components/pages/TaskLinkView/TaskLinkView.js.map +1 -0
  113. package/lib/components/pages/TaskView/TaskView.d.ts +3 -0
  114. package/lib/components/pages/TaskView/TaskView.js +63 -0
  115. package/lib/components/pages/TaskView/TaskView.js.map +1 -0
  116. package/lib/components/pages/TimeView/TimeView.d.ts +7 -0
  117. package/lib/components/pages/TimeView/TimeView.js +59 -0
  118. package/lib/components/pages/TimeView/TimeView.js.map +1 -0
  119. package/lib/components/pages/index.d.ts +8 -0
  120. package/lib/components/pages/index.js +26 -0
  121. package/lib/components/pages/index.js.map +1 -0
  122. package/lib/components/templates/ActivityListView/ActivityListView.d.ts +3 -0
  123. package/lib/components/templates/ActivityListView/ActivityListView.js +117 -0
  124. package/lib/components/templates/ActivityListView/ActivityListView.js.map +1 -0
  125. package/lib/components/templates/CategorySearchBar/CategorySearchBar.d.ts +12 -0
  126. package/lib/components/templates/CategorySearchBar/CategorySearchBar.js +41 -0
  127. package/lib/components/templates/CategorySearchBar/CategorySearchBar.js.map +1 -0
  128. package/lib/components/templates/ParentTaskSearchBar/ParentTaskSearchBar.d.ts +12 -0
  129. package/lib/components/templates/ParentTaskSearchBar/ParentTaskSearchBar.js +41 -0
  130. package/lib/components/templates/ParentTaskSearchBar/ParentTaskSearchBar.js.map +1 -0
  131. package/lib/components/templates/PrioritySearchBar/PrioritySearchBar.d.ts +12 -0
  132. package/lib/components/templates/PrioritySearchBar/PrioritySearchBar.js +41 -0
  133. package/lib/components/templates/PrioritySearchBar/PrioritySearchBar.js.map +1 -0
  134. package/lib/components/templates/ProjectListView/ProjectListView.d.ts +6 -0
  135. package/lib/components/templates/ProjectListView/ProjectListView.js +71 -0
  136. package/lib/components/templates/ProjectListView/ProjectListView.js.map +1 -0
  137. package/lib/components/templates/ProjectSearchBar/ProjectSearchBar.d.ts +13 -0
  138. package/lib/components/templates/ProjectSearchBar/ProjectSearchBar.js +39 -0
  139. package/lib/components/templates/ProjectSearchBar/ProjectSearchBar.js.map +1 -0
  140. package/lib/components/templates/ReportingDetailsView/IndicatorCategory.d.ts +7 -0
  141. package/lib/components/templates/ReportingDetailsView/IndicatorCategory.js +70 -0
  142. package/lib/components/templates/ReportingDetailsView/IndicatorCategory.js.map +1 -0
  143. package/lib/components/templates/ReportingDetailsView/ReportingDetailsView.d.ts +3 -0
  144. package/lib/components/templates/ReportingDetailsView/ReportingDetailsView.js +50 -0
  145. package/lib/components/templates/ReportingDetailsView/ReportingDetailsView.js.map +1 -0
  146. package/lib/components/templates/SectionSearchBar/SectionSearchBar.d.ts +12 -0
  147. package/lib/components/templates/SectionSearchBar/SectionSearchBar.js +38 -0
  148. package/lib/components/templates/SectionSearchBar/SectionSearchBar.js.map +1 -0
  149. package/lib/components/templates/TargetVersionSearchBar/TargetVersionSearchBar.d.ts +12 -0
  150. package/lib/components/templates/TargetVersionSearchBar/TargetVersionSearchBar.js +40 -0
  151. package/lib/components/templates/TargetVersionSearchBar/TargetVersionSearchBar.js.map +1 -0
  152. package/lib/components/templates/TaskFilters/TaskFilters.d.ts +14 -0
  153. package/lib/components/templates/TaskFilters/TaskFilters.js +135 -0
  154. package/lib/components/templates/TaskFilters/TaskFilters.js.map +1 -0
  155. package/lib/components/templates/TaskStatusSearchBar/TaskStatusSearchBar.d.ts +12 -0
  156. package/lib/components/templates/TaskStatusSearchBar/TaskStatusSearchBar.js +56 -0
  157. package/lib/components/templates/TaskStatusSearchBar/TaskStatusSearchBar.js.map +1 -0
  158. package/lib/components/templates/TaskTagMultiValuePicker/TaskTagMultiValuePicker.d.ts +11 -0
  159. package/lib/components/templates/TaskTagMultiValuePicker/TaskTagMultiValuePicker.js +50 -0
  160. package/lib/components/templates/TaskTagMultiValuePicker/TaskTagMultiValuePicker.js.map +1 -0
  161. package/lib/components/templates/index.d.ts +12 -0
  162. package/lib/components/templates/index.js +30 -0
  163. package/lib/components/templates/index.js.map +1 -0
  164. package/lib/features/asyncFunctions-index.d.ts +4 -0
  165. package/lib/features/asyncFunctions-index.js +22 -0
  166. package/lib/features/asyncFunctions-index.js.map +1 -0
  167. package/lib/features/index.d.ts +4 -0
  168. package/lib/features/index.js +22 -0
  169. package/lib/features/index.js.map +1 -0
  170. package/lib/features/projectSlice.d.ts +65 -0
  171. package/lib/features/projectSlice.js +118 -0
  172. package/lib/features/projectSlice.js.map +1 -0
  173. package/lib/features/projectTaskSlice.d.ts +193 -0
  174. package/lib/features/projectTaskSlice.js +310 -0
  175. package/lib/features/projectTaskSlice.js.map +1 -0
  176. package/lib/features/reportingSlice.d.ts +13 -0
  177. package/lib/features/reportingSlice.js +43 -0
  178. package/lib/features/reportingSlice.js.map +1 -0
  179. package/lib/features/timesheetLinesSlice.d.ts +39 -0
  180. package/lib/features/timesheetLinesSlice.js +57 -0
  181. package/lib/features/timesheetLinesSlice.js.map +1 -0
  182. package/lib/hooks/index.d.ts +2 -0
  183. package/lib/hooks/index.js +20 -0
  184. package/lib/hooks/index.js.map +1 -0
  185. package/lib/hooks/use-project-header-actions.d.ts +1 -0
  186. package/lib/hooks/use-project-header-actions.js +75 -0
  187. package/lib/hooks/use-project-header-actions.js.map +1 -0
  188. package/lib/hooks/use-reporting-configuration.d.ts +5 -0
  189. package/lib/hooks/use-reporting-configuration.js +33 -0
  190. package/lib/hooks/use-reporting-configuration.js.map +1 -0
  191. package/lib/hooks/use-task-filter.d.ts +32 -0
  192. package/lib/hooks/use-task-filter.js +96 -0
  193. package/lib/hooks/use-task-filter.js.map +1 -0
  194. package/lib/i18n/en.json +87 -0
  195. package/lib/i18n/fr.json +87 -0
  196. package/lib/index.d.ts +8 -0
  197. package/lib/index.js +81 -0
  198. package/lib/index.js.map +1 -0
  199. package/lib/models/forms.d.ts +2 -0
  200. package/lib/models/forms.js +245 -0
  201. package/lib/models/forms.js.map +1 -0
  202. package/lib/models/index.d.ts +5 -0
  203. package/lib/models/index.js +23 -0
  204. package/lib/models/index.js.map +1 -0
  205. package/lib/models/objectFields.d.ts +2 -0
  206. package/lib/models/objectFields.js +187 -0
  207. package/lib/models/objectFields.js.map +1 -0
  208. package/lib/models/searchFields.d.ts +2 -0
  209. package/lib/models/searchFields.js +31 -0
  210. package/lib/models/searchFields.js.map +1 -0
  211. package/lib/models/sortFields.d.ts +2 -0
  212. package/lib/models/sortFields.js +22 -0
  213. package/lib/models/sortFields.js.map +1 -0
  214. package/lib/models/typeObjects.d.ts +2 -0
  215. package/lib/models/typeObjects.js +63 -0
  216. package/lib/models/typeObjects.js.map +1 -0
  217. package/lib/screens/ActiveProjectScreen.d.ts +3 -0
  218. package/lib/screens/ActiveProjectScreen.js +50 -0
  219. package/lib/screens/ActiveProjectScreen.js.map +1 -0
  220. package/lib/screens/BuisnessProjectScreen.d.ts +3 -0
  221. package/lib/screens/BuisnessProjectScreen.js +27 -0
  222. package/lib/screens/BuisnessProjectScreen.js.map +1 -0
  223. package/lib/screens/ProjectDetailsScreen.d.ts +7 -0
  224. package/lib/screens/ProjectDetailsScreen.js +87 -0
  225. package/lib/screens/ProjectDetailsScreen.js.map +1 -0
  226. package/lib/screens/ProjectScreen.d.ts +3 -0
  227. package/lib/screens/ProjectScreen.js +27 -0
  228. package/lib/screens/ProjectScreen.js.map +1 -0
  229. package/lib/screens/TaskDetailsScreen.d.ts +6 -0
  230. package/lib/screens/TaskDetailsScreen.js +92 -0
  231. package/lib/screens/TaskDetailsScreen.js.map +1 -0
  232. package/lib/screens/TaskFormScreen.d.ts +6 -0
  233. package/lib/screens/TaskFormScreen.js +83 -0
  234. package/lib/screens/TaskFormScreen.js.map +1 -0
  235. package/lib/screens/TaskListScreen.d.ts +5 -0
  236. package/lib/screens/TaskListScreen.js +56 -0
  237. package/lib/screens/TaskListScreen.js.map +1 -0
  238. package/lib/screens/index.d.ts +74 -0
  239. package/lib/screens/index.js +82 -0
  240. package/lib/screens/index.js.map +1 -0
  241. package/lib/types/index.d.ts +1 -0
  242. package/lib/types/index.js +19 -0
  243. package/lib/types/index.js.map +1 -0
  244. package/lib/types/reporting-type.d.ts +5 -0
  245. package/lib/types/reporting-type.js +23 -0
  246. package/lib/types/reporting-type.js.map +1 -0
  247. package/package.json +48 -0
package/lib/index.js ADDED
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import enTranslations from './i18n/en.json';
19
+ import frTranslations from './i18n/fr.json';
20
+ import ProjectScreens from './screens/';
21
+ import * as projectReducers from './features';
22
+ import { project_formsRegister, project_modelAPI, project_searchFields, project_sortFields, project_typeObjects, } from './models';
23
+ import { useProjectHeaders } from './hooks/use-project-header-actions';
24
+ export const ProjectModule = {
25
+ name: 'app-project',
26
+ title: 'Project_Project',
27
+ subtitle: 'Project_Project',
28
+ icon: 'ui-checks',
29
+ compatibilityAOS: {
30
+ moduleName: 'axelor-project',
31
+ downToVersion: '8.2.0',
32
+ },
33
+ translations: {
34
+ en: enTranslations,
35
+ fr: frTranslations,
36
+ },
37
+ menus: {
38
+ project_menu_activeProject: {
39
+ title: 'Project_ActiveProject',
40
+ icon: 'clipboard2-check',
41
+ screen: 'ActiveProjectScreen',
42
+ },
43
+ project_menu_projects: {
44
+ title: 'Project_Projects',
45
+ icon: 'clipboard2-data',
46
+ screen: 'ProjectScreen',
47
+ },
48
+ project_menu_businessProjects: {
49
+ title: 'Project_BuisnessProjects',
50
+ icon: 'briefcase-fill',
51
+ screen: 'BuisnessProjectScreen',
52
+ },
53
+ project_menu_tasks: {
54
+ title: 'Project_Tasks',
55
+ icon: 'card-list',
56
+ screen: 'TaskListScreen',
57
+ },
58
+ },
59
+ screens: {
60
+ ...ProjectScreens,
61
+ },
62
+ reducers: {
63
+ ...projectReducers,
64
+ },
65
+ models: {
66
+ objectFields: { ...project_modelAPI },
67
+ searchFields: { ...project_searchFields },
68
+ sortFields: { ...project_sortFields },
69
+ formsRegister: { ...project_formsRegister },
70
+ headerRegisters: useProjectHeaders,
71
+ typeObjects: project_typeObjects,
72
+ },
73
+ requiredConfig: ['AppProject'],
74
+ };
75
+ export * from './api';
76
+ export * from './components';
77
+ export * from './features/asyncFunctions-index';
78
+ export * from './hooks';
79
+ export * from './screens';
80
+ export * from './types';
81
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,cAAc,MAAM,gBAAgB,CAAC;AAC5C,OAAO,cAAc,MAAM,gBAAgB,CAAC;AAC5C,OAAO,cAAc,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,eAAe,MAAM,YAAY,CAAC;AAC9C,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAErE,MAAM,CAAC,MAAM,aAAa,GAAW;IACnC,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,WAAW;IACjB,gBAAgB,EAAE;QAChB,UAAU,EAAE,gBAAgB;QAC5B,aAAa,EAAE,OAAO;KACvB;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,cAAc;QAClB,EAAE,EAAE,cAAc;KACnB;IACD,KAAK,EAAE;QACL,0BAA0B,EAAE;YAC1B,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,qBAAqB;SAC9B;QACD,qBAAqB,EAAE;YACrB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,iBAAiB;YACvB,MAAM,EAAE,eAAe;SACxB;QACD,6BAA6B,EAAE;YAC7B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,uBAAuB;SAChC;QACD,kBAAkB,EAAE;YAClB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,gBAAgB;SACzB;KACF;IACD,OAAO,EAAE;QACP,GAAG,cAAc;KAClB;IACD,QAAQ,EAAE;QACR,GAAG,eAAe;KACnB;IACD,MAAM,EAAE;QACN,YAAY,EAAE,EAAC,GAAG,gBAAgB,EAAC;QACnC,YAAY,EAAE,EAAC,GAAG,oBAAoB,EAAC;QACvC,UAAU,EAAE,EAAC,GAAG,kBAAkB,EAAC;QACnC,aAAa,EAAE,EAAC,GAAG,qBAAqB,EAAC;QACzC,eAAe,EAAE,iBAAiB;QAClC,WAAW,EAAE,mBAAmB;KACjC;IACD,cAAc,EAAE,CAAC,YAAY,CAAC;CAC/B,CAAC;AAEF,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,iCAAiC,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { FormConfigs } from '@axelor/aos-mobile-core';
2
+ export declare const project_formsRegister: FormConfigs;
@@ -0,0 +1,245 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { isEmpty, UserSearchBar, getTypes, } from '@axelor/aos-mobile-core';
19
+ import { HrModule } from '@axelor/aos-mobile-hr';
20
+ import { LogTimeButton, CategorySearchBar, ParentTaskSearchBar, PrioritySearchBar, ProjectSearchBar, SectionSearchBar, TaskTagMultiValuePicker, TargetVersionSearchBar, TaskStatusSearchBar, } from '../components';
21
+ import { updateProject } from '../features/projectSlice';
22
+ import { udpateFormCategory } from '../features/projectTaskSlice';
23
+ const hr_TimesheetLineForm = HrModule.models.formsRegister.hr_TimesheetLine;
24
+ export const project_formsRegister = {
25
+ project_TimesheetLine: {
26
+ modelName: 'com.axelor.apps.hr.db.TimesheetLine',
27
+ fields: {
28
+ project: {
29
+ ...hr_TimesheetLineForm.fields.project,
30
+ readonly: true,
31
+ },
32
+ projectTask: {
33
+ ...hr_TimesheetLineForm.fields.projectTask,
34
+ readonlyIf: ({ objectState }) => objectState?.isTaskLog ?? false,
35
+ },
36
+ product: hr_TimesheetLineForm.fields.product,
37
+ toInvoice: hr_TimesheetLineForm.fields.toInvoice,
38
+ date: hr_TimesheetLineForm.fields.date,
39
+ hoursDuration: hr_TimesheetLineForm.fields.hoursDuration,
40
+ comments: {
41
+ ...hr_TimesheetLineForm.fields.comments,
42
+ options: {
43
+ multiline: true,
44
+ adjustHeightWithLines: true,
45
+ style: { width: '90%', alignSelf: 'center' },
46
+ },
47
+ },
48
+ validationButton: {
49
+ titleKey: 'Project_Validation',
50
+ type: 'object',
51
+ widget: 'custom',
52
+ customComponent: LogTimeButton,
53
+ },
54
+ },
55
+ },
56
+ project_task: {
57
+ modelName: 'com.axelor.apps.project.db.ProjectTask',
58
+ panels: {
59
+ contextContainer: {
60
+ direction: 'row',
61
+ colSpan: 12,
62
+ order: 2,
63
+ },
64
+ projectContainer: {
65
+ direction: 'row',
66
+ colSpan: 6,
67
+ parent: 'contextContainer',
68
+ },
69
+ parentContainer: {
70
+ direction: 'row',
71
+ colSpan: 6,
72
+ parent: 'contextContainer',
73
+ },
74
+ },
75
+ fields: {
76
+ name: {
77
+ titleKey: 'Project_Subject',
78
+ type: 'string',
79
+ required: true,
80
+ order: 0,
81
+ },
82
+ ticketNumber: {
83
+ titleKey: 'Project_TicketNumber',
84
+ type: 'string',
85
+ readonly: true,
86
+ order: 1,
87
+ hideIf: ({ storeState }) => !storeState.appConfig.project?.isEnablePerProjectTaskSequence,
88
+ },
89
+ project: {
90
+ titleKey: 'Project_Project',
91
+ type: 'object',
92
+ widget: 'custom',
93
+ customComponent: ProjectSearchBar,
94
+ readonlyIf: ({ objectState }) => objectState?.projectReadonly,
95
+ required: true,
96
+ options: {
97
+ differentiateBusinessProjects: false,
98
+ },
99
+ parentPanel: 'projectContainer',
100
+ },
101
+ parentTask: {
102
+ titleKey: 'Project_ParentTask',
103
+ type: 'object',
104
+ widget: 'custom',
105
+ customComponent: ParentTaskSearchBar,
106
+ readonlyIf: ({ storeState }) => isEmpty(storeState.project_project.projectForm),
107
+ dependsOn: {
108
+ project: ({ newValue, dispatch }) => {
109
+ dispatch(updateProject(newValue));
110
+ return null;
111
+ },
112
+ },
113
+ parentPanel: 'parentContainer',
114
+ },
115
+ projectTaskCategory: {
116
+ titleKey: 'Project_Category',
117
+ type: 'object',
118
+ widget: 'custom',
119
+ customComponent: CategorySearchBar,
120
+ hideIf: ({ storeState }) => !storeState.project_project.projectForm?.isShowTaskCategory,
121
+ requiredIf: ({ storeState }) => storeState.project_project.projectForm?.taskStatusManagementSelect ===
122
+ getTypes().Project.taskStatusManagementSelect?.ManageByCategory,
123
+ dependsOn: {
124
+ project: () => {
125
+ return null;
126
+ },
127
+ },
128
+ },
129
+ status: {
130
+ titleKey: 'Project_Status',
131
+ type: 'object',
132
+ widget: 'custom',
133
+ customComponent: TaskStatusSearchBar,
134
+ hideIf: ({ storeState }) => {
135
+ return (storeState.project_project.projectForm
136
+ ?.taskStatusManagementSelect ===
137
+ getTypes().Project.taskStatusManagementSelect?.NoStatusManagement);
138
+ },
139
+ requiredIf: ({ storeState }) => storeState.project_project.projectForm?.taskStatusManagementSelect !==
140
+ getTypes().Project.taskStatusManagementSelect?.NoStatusManagement,
141
+ dependsOn: {
142
+ project: () => {
143
+ return null;
144
+ },
145
+ projectTaskCategory: ({ newValue, storeState, dispatch }) => {
146
+ if (storeState.project_project.projectForm
147
+ ?.taskStatusManagementSelect ===
148
+ getTypes().Project.taskStatusManagementSelect?.ManageByCategory) {
149
+ dispatch(udpateFormCategory(newValue));
150
+ return null;
151
+ }
152
+ },
153
+ },
154
+ },
155
+ priority: {
156
+ titleKey: 'Project_Priority',
157
+ type: 'object',
158
+ widget: 'custom',
159
+ required: true,
160
+ customComponent: PrioritySearchBar,
161
+ hideIf: ({ storeState }) => !storeState.project_project.projectForm?.isShowPriority,
162
+ dependsOn: {
163
+ project: () => {
164
+ return null;
165
+ },
166
+ },
167
+ },
168
+ assignedTo: {
169
+ titleKey: 'Project_AssignedTo',
170
+ type: 'object',
171
+ widget: 'custom',
172
+ customComponent: UserSearchBar,
173
+ required: true,
174
+ },
175
+ projectTaskSection: {
176
+ titleKey: 'Project_Section',
177
+ type: 'object',
178
+ widget: 'custom',
179
+ customComponent: SectionSearchBar,
180
+ hideIf: ({ storeState }) => !storeState.project_project.projectForm?.isShowSection,
181
+ dependsOn: {
182
+ project: () => {
183
+ return null;
184
+ },
185
+ },
186
+ },
187
+ targetVersion: {
188
+ titleKey: 'Project_TargetVersion',
189
+ type: 'object',
190
+ widget: 'custom',
191
+ customComponent: TargetVersionSearchBar,
192
+ dependsOn: {
193
+ project: () => {
194
+ return null;
195
+ },
196
+ },
197
+ },
198
+ taskDate: {
199
+ titleKey: 'Project_StartDate',
200
+ type: 'date',
201
+ widget: 'date',
202
+ },
203
+ taskEndDate: {
204
+ titleKey: 'Project_DueDate',
205
+ type: 'date',
206
+ widget: 'date',
207
+ },
208
+ taskDeadline: {
209
+ titleKey: 'Project_Deadline',
210
+ type: 'date',
211
+ widget: 'date',
212
+ },
213
+ tagSet: {
214
+ titleKey: 'Project_Tags',
215
+ type: 'array',
216
+ widget: 'custom',
217
+ customComponent: TaskTagMultiValuePicker,
218
+ },
219
+ progress: {
220
+ titleKey: 'Project_Progress',
221
+ type: 'number',
222
+ widget: 'increment',
223
+ dependsOn: {
224
+ status: ({ newValue, storeState }) => {
225
+ if (storeState.appConfig.project?.selectAutoProgressOnProjectTask) {
226
+ return parseInt(newValue?.defaultProgress, 10);
227
+ }
228
+ },
229
+ },
230
+ hideIf: ({ storeState }) => !storeState.project_project.projectForm?.isShowProgress,
231
+ },
232
+ description: {
233
+ type: 'string',
234
+ widget: 'HTML',
235
+ titleKey: 'Base_Description',
236
+ },
237
+ internalDescription: {
238
+ type: 'string',
239
+ widget: 'HTML',
240
+ titleKey: 'Project_InternalDescription',
241
+ },
242
+ },
243
+ },
244
+ };
245
+ //# sourceMappingURL=forms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forms.js","sourceRoot":"","sources":["../../src/models/forms.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEL,OAAO,EACP,aAAa,EACb,QAAQ,GACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAC,kBAAkB,EAAC,MAAM,8BAA8B,CA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0,0 +1,5 @@
1
+ export { project_formsRegister } from './forms';
2
+ export { project_modelAPI } from './objectFields';
3
+ export { project_searchFields } from './searchFields';
4
+ export { project_sortFields } from './sortFields';
5
+ export { project_typeObjects } from './typeObjects';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ export { project_formsRegister } from './forms';
19
+ export { project_modelAPI } from './objectFields';
20
+ export { project_searchFields } from './searchFields';
21
+ export { project_sortFields } from './sortFields';
22
+ export { project_typeObjects } from './typeObjects';
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,qBAAqB,EAAC,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { ObjectFields } from '@axelor/aos-mobile-core';
2
+ export declare const project_modelAPI: ObjectFields;
@@ -0,0 +1,187 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { schemaContructor } from '@axelor/aos-mobile-core';
19
+ export const project_modelAPI = {
20
+ project_project: schemaContructor.object({
21
+ createdOn: schemaContructor.string(),
22
+ projectStatus: schemaContructor.subObject('name'),
23
+ fullName: schemaContructor.string(),
24
+ name: schemaContructor.string(),
25
+ code: schemaContructor.string(),
26
+ clientPartner: schemaContructor.subObject().concat(schemaContructor.object({
27
+ picture: schemaContructor.subObject(),
28
+ name: schemaContructor.string(),
29
+ partnerSeq: schemaContructor.string(),
30
+ mainAddress: schemaContructor.subObject('fullName').concat(schemaContructor.object({
31
+ addressL4: schemaContructor.string(),
32
+ addressL7Country: schemaContructor.subObject('symbol'),
33
+ city: schemaContructor.subObject('name'),
34
+ zip: schemaContructor.string(),
35
+ })),
36
+ })),
37
+ contactPartner: schemaContructor.subObject().concat(schemaContructor.object({
38
+ picture: schemaContructor.subObject(),
39
+ jobTitleFunction: schemaContructor.subObject('name'),
40
+ name: schemaContructor.string(),
41
+ simpleFullName: schemaContructor.string(),
42
+ fixedPhone: schemaContructor.string(),
43
+ mobilePhone: schemaContructor.string(),
44
+ partnerSeq: schemaContructor.string(),
45
+ })),
46
+ company: schemaContructor.subObject('name'),
47
+ assignedTo: schemaContructor.subObject('fullName'),
48
+ parentProject: schemaContructor.subObject().concat(schemaContructor.object({
49
+ fullName: schemaContructor.string(),
50
+ name: schemaContructor.string(),
51
+ code: schemaContructor.string(),
52
+ company: schemaContructor.subObject(),
53
+ assignedTo: schemaContructor.subObject(),
54
+ projectStatus: schemaContructor.subObject(),
55
+ parentProject: schemaContructor.subObject('fullName'),
56
+ clientPartner: schemaContructor.subObject().concat(schemaContructor.object({
57
+ picture: schemaContructor.subObject(),
58
+ jobTitleFunction: schemaContructor.subObject(),
59
+ name: schemaContructor.string(),
60
+ mainAddress: schemaContructor.subObject('fullName').concat(schemaContructor.object({
61
+ addressL4: schemaContructor.string(),
62
+ addressL7Country: schemaContructor.subObject('symbol'),
63
+ city: schemaContructor.subObject('name'),
64
+ zip: schemaContructor.string(),
65
+ })),
66
+ })),
67
+ })),
68
+ isBusinessProject: schemaContructor.boolean(),
69
+ fromDate: schemaContructor.string(),
70
+ toDate: schemaContructor.string(),
71
+ siteSet: schemaContructor.array().of(schemaContructor.subObject()),
72
+ description: schemaContructor.string(),
73
+ team: schemaContructor.subObject(),
74
+ membersUserSet: schemaContructor.array().of(schemaContructor.subObject()),
75
+ toInvoice: schemaContructor.boolean(),
76
+ isInvoicingExpenses: schemaContructor.boolean(),
77
+ isInvoicingPurchases: schemaContructor.boolean(),
78
+ currency: schemaContructor.subObject().concat(schemaContructor.object({
79
+ symbol: schemaContructor.string(),
80
+ })),
81
+ priceList: schemaContructor.subObject(),
82
+ taskStatusManagementSelect: schemaContructor.number(),
83
+ projectTaskStatusSet: schemaContructor
84
+ .array()
85
+ .of(schemaContructor.subObject()),
86
+ isShowPriority: schemaContructor.boolean(),
87
+ projectTaskPrioritySet: schemaContructor
88
+ .array()
89
+ .of(schemaContructor.subObject()),
90
+ projectTaskCategorySet: schemaContructor
91
+ .array()
92
+ .of(schemaContructor.subObject()),
93
+ isShowPhasesElements: schemaContructor.boolean(),
94
+ isShowTaskCategory: schemaContructor.boolean(),
95
+ isShowProgress: schemaContructor.boolean(),
96
+ isShowSection: schemaContructor.boolean(),
97
+ manageTimeSpent: schemaContructor.boolean(),
98
+ }),
99
+ project_projectTask: schemaContructor.object({
100
+ name: schemaContructor.string(),
101
+ fullName: schemaContructor.string(),
102
+ assignedTo: schemaContructor.subObject(),
103
+ status: schemaContructor.subObject(),
104
+ priority: schemaContructor.subObject(),
105
+ progress: schemaContructor.number(),
106
+ taskDeadline: schemaContructor.string(),
107
+ parentTask: schemaContructor.subObject('name'),
108
+ project: schemaContructor.subObject().concat(schemaContructor.object({
109
+ name: schemaContructor.string(),
110
+ projectStatus: schemaContructor.subObject(),
111
+ customFieldManagementSelect: schemaContructor.string(),
112
+ manageTimeSpent: schemaContructor.boolean(),
113
+ })),
114
+ projectTaskCategory: schemaContructor.subObject(),
115
+ projectTaskSection: schemaContructor.subObject(),
116
+ targetVersion: schemaContructor.subObject(),
117
+ taskDate: schemaContructor.string(),
118
+ taskEndDate: schemaContructor.string(),
119
+ tagSet: schemaContructor.array().of(schemaContructor.subObject()),
120
+ spentTime: schemaContructor.number(),
121
+ description: schemaContructor.string(),
122
+ internalDescription: schemaContructor.string(),
123
+ ticketNumber: schemaContructor.string(),
124
+ }),
125
+ project_projectStatus: schemaContructor.object({
126
+ name: schemaContructor.string(),
127
+ isCompleted: schemaContructor.boolean(),
128
+ }),
129
+ project_projectPriority: schemaContructor.object({
130
+ name: schemaContructor.string(),
131
+ }),
132
+ project_taskStatus: schemaContructor.object({
133
+ name: schemaContructor.string(),
134
+ defaultProgress: schemaContructor.number(),
135
+ }),
136
+ project_projectTaskLink: schemaContructor.object({
137
+ projectTaskLinkType: schemaContructor.subObject(),
138
+ relatedTask: schemaContructor.subObject().concat(schemaContructor.object({
139
+ name: schemaContructor.string(),
140
+ fullName: schemaContructor.string(),
141
+ assignedTo: schemaContructor.subObject(),
142
+ status: schemaContructor.subObject(),
143
+ priority: schemaContructor.subObject(),
144
+ progress: schemaContructor.number(),
145
+ taskDeadline: schemaContructor.string(),
146
+ parentTask: schemaContructor.subObject('name'),
147
+ project: schemaContructor.subObject().concat(schemaContructor.object({
148
+ name: schemaContructor.string(),
149
+ projectStatus: schemaContructor.subObject(),
150
+ customFieldManagementSelect: schemaContructor.string(),
151
+ })),
152
+ projectTaskCategory: schemaContructor.subObject(),
153
+ projectTaskSection: schemaContructor.subObject(),
154
+ targetVersion: schemaContructor.subObject(),
155
+ taskDate: schemaContructor.string(),
156
+ taskEndDate: schemaContructor.string(),
157
+ })),
158
+ }),
159
+ project_timesheetLine: schemaContructor.object({
160
+ project: schemaContructor.subObject(),
161
+ projectTask: schemaContructor.subObject(),
162
+ site: schemaContructor.subObject(),
163
+ date: schemaContructor.subObject(),
164
+ product: schemaContructor.subObject(),
165
+ duration: schemaContructor.number(),
166
+ toInvoice: schemaContructor.boolean(),
167
+ comments: schemaContructor.string(),
168
+ }),
169
+ project_Tag: schemaContructor.object({
170
+ name: schemaContructor.string(),
171
+ colorSelect: schemaContructor.string(),
172
+ }),
173
+ project_projectVersion: schemaContructor.object({
174
+ title: schemaContructor.subObject(),
175
+ }),
176
+ project_projectTaskCategory: schemaContructor.object({
177
+ name: schemaContructor.subObject(),
178
+ projectTaskStatusSet: schemaContructor.subObject(),
179
+ }),
180
+ project_projectTaskSection: schemaContructor.object({
181
+ name: schemaContructor.subObject(),
182
+ }),
183
+ auth_user: schemaContructor.object({
184
+ activeProject: schemaContructor.subObject(),
185
+ }),
186
+ };
187
+ //# sourceMappingURL=objectFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectFields.js","sourceRoot":"","sources":["../../src/models/objectFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAe,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAEvE,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,eAAe,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACvC,SAAS,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACpC,aAAa,EAAE,gBAAgB,CAAC,SAAS,CAAC,MAAM,CAAC;QACjD,QAAQ,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACnC,IAAI,EAAE,gBAAgB,CAAC,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+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ export const project_searchFields = {
19
+ project_project: [
20
+ 'name',
21
+ 'code',
22
+ 'clientPartner.name',
23
+ 'parentProject.fullName',
24
+ ],
25
+ project_projectTask: ['name'],
26
+ project_projectTaskCategory: ['name'],
27
+ project_projectTaskSection: ['name'],
28
+ project_projectPriority: ['name'],
29
+ project_taskStatus: ['name'],
30
+ };
31
+ //# sourceMappingURL=searchFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchFields.js","sourceRoot":"","sources":["../../src/models/searchFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAiB;IAChD,eAAe,EAAE;QACf,MAAM;QACN,MAAM;QACN,oBAAoB;QACpB,wBAAwB;KACzB;IACD,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,2BAA2B,EAAE,CAAC,MAAM,CAAC;IACrC,0BAA0B,EAAE,CAAC,MAAM,CAAC;IACpC,uBAAuB,EAAE,CAAC,MAAM,CAAC;IACjC,kBAAkB,EAAE,CAAC,MAAM,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { SortFields } from '@axelor/aos-mobile-core';
2
+ export declare const project_sortFields: SortFields;
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2024 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ export const project_sortFields = {
19
+ project_project: ['projectStatus.sequence', 'name'],
20
+ project_projectVersion: ['title'],
21
+ };
22
+ //# sourceMappingURL=sortFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortFields.js","sourceRoot":"","sources":["../../src/models/sortFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,kBAAkB,GAAe;IAC5C,eAAe,EAAE,CAAC,wBAAwB,EAAE,MAAM,CAAC;IACnD,sBAAsB,EAAE,CAAC,OAAO,CAAC;CAClC,CAAC"}