@acorex-platform/module-maintenance-management-client 0.0.32 → 0.0.33

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 (139) hide show
  1. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-asset-type.mjs +361 -0
  2. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-asset-type.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-resource.mjs +432 -0
  4. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-resource.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type.mjs +471 -0
  6. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-cause.mjs +491 -0
  8. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-cause.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-detection.mjs +491 -0
  10. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-detection.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-effect.mjs +371 -0
  12. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-effect.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mechanism.mjs +491 -0
  14. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mechanism.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-asset-type.mjs +453 -0
  16. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-asset-type.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-mechanism.mjs +328 -0
  18. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-mechanism.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-solution.mjs +496 -0
  20. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-solution.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode.mjs +723 -0
  22. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-cause.mjs +328 -0
  24. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-cause.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-effect.mjs +328 -0
  26. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-effect.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-mechanism.mjs +328 -0
  28. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-mechanism.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register.mjs +809 -0
  30. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-severity.mjs +339 -0
  32. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-severity.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-type.mjs +496 -0
  34. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-failure-type.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-plan.mjs +613 -0
  36. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-plan.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-activity-type.mjs +401 -0
  38. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-activity-type.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-failure-mode.mjs +356 -0
  40. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-failure-mode.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-resource.mjs +458 -0
  42. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-resource.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template.mjs +622 -0
  44. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-type.mjs +412 -0
  46. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-type.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-order.mjs +893 -0
  48. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-order.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-package.mjs +452 -0
  50. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-package.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-report.mjs +570 -0
  52. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entities-work-report.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-acorex-platform-module-maintenance-management-client-contracts-entity-catalog-DJkKh0Qa.mjs +248 -0
  54. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-acorex-platform-module-maintenance-management-client-contracts-entity-catalog-DJkKh0Qa.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type-asset-type.entity--Kz4Kqqe.mjs +157 -0
  56. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type-asset-type.entity--Kz4Kqqe.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type-resource.entity-C2OP2EN0.mjs +228 -0
  58. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type-resource.entity-C2OP2EN0.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type.entity-D9UUDRIS.mjs +267 -0
  60. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-activity-type.entity-D9UUDRIS.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-cause.entity-glUcXwS9.mjs +287 -0
  62. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-cause.entity-glUcXwS9.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-detection.entity-CTp1voFW.mjs +287 -0
  64. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-detection.entity-CTp1voFW.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-effect.entity-ClD09en8.mjs +167 -0
  66. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-effect.entity-ClD09en8.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mechanism.entity-BcU0-nFS.mjs +287 -0
  68. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mechanism.entity-BcU0-nFS.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-asset-type.entity-N37srLVb.mjs +249 -0
  70. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-asset-type.entity-N37srLVb.mjs.map +1 -0
  71. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-mechanism.entity-BkkvXk03.mjs +124 -0
  72. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-mechanism.entity-BkkvXk03.mjs.map +1 -0
  73. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-solution.entity-HlVVBMTA.mjs +292 -0
  74. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-solution.entity-HlVVBMTA.mjs.map +1 -0
  75. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode.entity-BGJP73yC.mjs +519 -0
  76. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode.entity-BGJP73yC.mjs.map +1 -0
  77. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-cause.entity-CLM9YuYF.mjs +124 -0
  78. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-cause.entity-CLM9YuYF.mjs.map +1 -0
  79. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-effect.entity-DpLYMLsi.mjs +124 -0
  80. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-effect.entity-DpLYMLsi.mjs.map +1 -0
  81. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-mechanism.entity-DqU2wP0I.mjs +124 -0
  82. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register-mechanism.entity-DqU2wP0I.mjs.map +1 -0
  83. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register.entity-BPZwEGE9.mjs +605 -0
  84. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-register.entity-BPZwEGE9.mjs.map +1 -0
  85. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-severity.entity-DaMUJOID.mjs +135 -0
  86. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-severity.entity-DaMUJOID.mjs.map +1 -0
  87. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-type.entity-DkhVvBOh.mjs +292 -0
  88. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-type.entity-DkhVvBOh.mjs.map +1 -0
  89. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-plan.entity-WCiP2h8H.mjs +409 -0
  90. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-plan.entity-WCiP2h8H.mjs.map +1 -0
  91. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-activity-type.entity-FWn7bmMX.mjs +197 -0
  92. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-activity-type.entity-FWn7bmMX.mjs.map +1 -0
  93. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-failure-mode.entity-DC5GTHYM.mjs +152 -0
  94. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-failure-mode.entity-DC5GTHYM.mjs.map +1 -0
  95. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-resource.entity-O6y3Q3U6.mjs +254 -0
  96. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template-resource.entity-O6y3Q3U6.mjs.map +1 -0
  97. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template.entity-DFDajM9U.mjs +418 -0
  98. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-template.entity-DFDajM9U.mjs.map +1 -0
  99. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-type.entity-CGSHreth.mjs +208 -0
  100. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-maintenance-type.entity-CGSHreth.mjs.map +1 -0
  101. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-order.entity-GaQSPAmn.mjs +689 -0
  102. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-order.entity-GaQSPAmn.mjs.map +1 -0
  103. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-package.entity-CJE8Txjo.mjs +248 -0
  104. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-package.entity-CJE8Txjo.mjs.map +1 -0
  105. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-report.entity-BrActlGh.mjs +366 -0
  106. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog-work-report.entity-BrActlGh.mjs.map +1 -0
  107. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog.mjs +2 -0
  108. package/fesm2022/acorex-platform-module-maintenance-management-client-contracts-entity-catalog.mjs.map +1 -0
  109. package/fesm2022/acorex-platform-module-maintenance-management-client-local-entities.mjs +54 -0
  110. package/fesm2022/acorex-platform-module-maintenance-management-client-local-entities.mjs.map +1 -0
  111. package/package.json +113 -1
  112. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-asset-type.d.ts +5 -0
  113. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type-resource.d.ts +5 -0
  114. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-activity-type.d.ts +5 -0
  115. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-cause.d.ts +5 -0
  116. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-detection.d.ts +5 -0
  117. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-effect.d.ts +5 -0
  118. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mechanism.d.ts +5 -0
  119. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-asset-type.d.ts +5 -0
  120. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-mechanism.d.ts +5 -0
  121. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode-solution.d.ts +5 -0
  122. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-mode.d.ts +5 -0
  123. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-cause.d.ts +5 -0
  124. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-effect.d.ts +5 -0
  125. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register-mechanism.d.ts +5 -0
  126. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-register.d.ts +5 -0
  127. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-severity.d.ts +5 -0
  128. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-failure-type.d.ts +5 -0
  129. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-plan.d.ts +5 -0
  130. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-activity-type.d.ts +5 -0
  131. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-failure-mode.d.ts +5 -0
  132. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template-resource.d.ts +5 -0
  133. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-template.d.ts +5 -0
  134. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-maintenance-type.d.ts +9 -0
  135. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-work-order.d.ts +7 -0
  136. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-work-package.d.ts +5 -0
  137. package/types/acorex-platform-module-maintenance-management-client-contracts-entities-work-report.d.ts +5 -0
  138. package/types/acorex-platform-module-maintenance-management-client-contracts-entity-catalog.d.ts +10 -0
  139. package/types/acorex-platform-module-maintenance-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-maintenance-management-client-contracts-entities-work-order.mjs","sources":["../../../../libs/modules/maintenance-management/contracts/src/work-order.source-type.ts","../../../../libs/modules/maintenance-management/contracts/src/work-order.status.ts","../../../../libs/modules/maintenance-management/contracts/src/root-config.ts","../../../../libs/modules/maintenance-management/contracts/src/entities/work-order/work-order.entity.ts","../../../../libs/modules/maintenance-management/contracts/src/acorex-platform-module-maintenance-management-client-contracts-entities-work-order.ts"],"sourcesContent":["//#region ---- Source type enum ----\n\nexport enum AXMWorkOrderSourceType {\n Manual = 'manual',\n MaintenancePlan = 'maintenance-plan',\n CreateAsset = 'create-asset',\n FailureRegister = 'failure-register',\n}\n\n//#endregion\n","//#region ---- Status names ----\n\nexport enum AXMWorkOrderStatus {\n Planned = 'planned',\n Scheduled = 'scheduled',\n Assigned = 'assigned',\n InProgress = 'in-progress',\n OnHold = 'on-hold',\n Completed = 'completed',\n SignedOff = 'signed-off',\n Cancelled = 'cancelled',\n}\n\n//#endregion\n","//#region ---- Root Configuration ----\n\nconst config = {\n i18n: 'maintenance-management',\n module: 'MaintenanceManagement',\n route: 'maintenance-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: config.route,\n name: config.module,\n title: '@maintenance-management:module.title',\n icon: 'fa-light fa-box',\n },\n entities: {\n maintenanceType: {\n name: 'MaintenanceType',\n source: `${config.module}.MaintenanceType`,\n title: '@maintenance-management:maintenance-types.entities.maintenance-type.title',\n titlePlural: '@maintenance-management:maintenance-types.entities.maintenance-type.plural',\n icon: 'fa-light fa-screwdriver-wrench',\n },\n maintenanceTemplate: {\n name: 'MaintenanceTemplate',\n source: `${config.module}.MaintenanceTemplate`,\n title: '@maintenance-management:maintenance-templates.entities.maintenance-template.title',\n titlePlural: '@maintenance-management:maintenance-templates.entities.maintenance-template.plural',\n icon: 'fa-light fa-clipboard-list',\n },\n maintenancePlan: {\n name: 'MaintenancePlan',\n source: `${config.module}.MaintenancePlan`,\n title: '@maintenance-management:maintenance-plans.entities.maintenance-plan.title',\n titlePlural: '@maintenance-management:maintenance-plans.entities.maintenance-plan.plural',\n icon: 'fa-light fa-calendar-check',\n },\n workPackage: {\n name: 'WorkPackage',\n source: `${config.module}.WorkPackage`,\n title: '@maintenance-management:work-packages.entities.work-package.title',\n titlePlural: '@maintenance-management:work-packages.entities.work-package.plural',\n icon: 'fa-light fa-boxes-packing',\n },\n workOrder: {\n name: 'WorkOrder',\n source: `${config.module}.WorkOrder`,\n title: '@maintenance-management:work-orders.entities.work-order.title',\n titlePlural: '@maintenance-management:work-orders.entities.work-order.plural',\n icon: 'fa-light fa-clipboard-check',\n },\n workReport: {\n name: 'WorkReport',\n source: `${config.module}.WorkReport`,\n title: '@maintenance-management:work-reports.entities.work-report.title',\n titlePlural: '@maintenance-management:work-reports.entities.work-report.plural',\n icon: 'fa-light fa-file-lines',\n },\n maintenanceTemplateActivityType: {\n name: 'MaintenanceTemplateActivityType',\n source: `${config.module}.MaintenanceTemplateActivityType`,\n title:\n '@maintenance-management:maintenance-template-activity-types.entities.maintenance-template-activity-type.title',\n titlePlural:\n '@maintenance-management:maintenance-template-activity-types.entities.maintenance-template-activity-type.plural',\n icon: 'fa-light fa-list-check',\n },\n maintenanceTemplateResource: {\n name: 'MaintenanceTemplateResource',\n source: `${config.module}.MaintenanceTemplateResource`,\n title: '@maintenance-management:maintenance-template-resources.entities.maintenance-template-resource.title',\n titlePlural:\n '@maintenance-management:maintenance-template-resources.entities.maintenance-template-resource.plural',\n icon: 'fa-light fa-box-open-full',\n },\n maintenanceTemplateFailureMode: {\n name: 'MaintenanceTemplateFailureMode',\n source: `${config.module}.MaintenanceTemplateFailureMode`,\n title:\n '@maintenance-management:maintenance-template-failure-modes.entities.maintenance-template-failure-mode.title',\n titlePlural:\n '@maintenance-management:maintenance-template-failure-modes.entities.maintenance-template-failure-mode.plural',\n icon: 'fa-light fa-triangle-exclamation',\n },\n activityType: {\n name: 'ActivityType',\n source: `${config.module}.ActivityType`,\n title: '@maintenance-management:activity-types.entities.activity-type.title',\n titlePlural: '@maintenance-management:activity-types.entities.activity-type.plural',\n icon: 'fa-light fa-list-check',\n },\n activityTypeAssetType: {\n name: 'ActivityTypeAssetType',\n source: `${config.module}.ActivityTypeAssetType`,\n title: '@maintenance-management:activity-type-asset-types.entities.activity-type-asset-type.title',\n titlePlural: '@maintenance-management:activity-type-asset-types.entities.activity-type-asset-type.plural',\n icon: 'fa-light fa-link',\n },\n activityTypeResource: {\n name: 'ActivityTypeResource',\n source: `${config.module}.ActivityTypeResource`,\n title: '@maintenance-management:activity-type-resources.entities.activity-type-resource.title',\n titlePlural: '@maintenance-management:activity-type-resources.entities.activity-type-resource.plural',\n icon: 'fa-light fa-cubes',\n },\n failureCause: {\n name: 'FailureCause',\n source: `${config.module}.FailureCause`,\n title: '@maintenance-management:failure-causes.entities.failure-cause.title',\n titlePlural: '@maintenance-management:failure-causes.entities.failure-cause.plural',\n icon: 'fa-light fa-triangle-exclamation',\n },\n failureMechanism: {\n name: 'FailureMechanism',\n source: `${config.module}.FailureMechanism`,\n title: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.title',\n titlePlural: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.plural',\n icon: 'fa-light fa-gears',\n },\n failureDetection: {\n name: 'FailureDetection',\n source: `${config.module}.FailureDetection`,\n title: '@maintenance-management:failure-detections.entities.failure-detection.title',\n titlePlural: '@maintenance-management:failure-detections.entities.failure-detection.plural',\n icon: 'fa-light fa-radar',\n },\n failureType: {\n name: 'FailureType',\n source: `${config.module}.FailureType`,\n title: '@maintenance-management:failure-types.entities.failure-type.title',\n titlePlural: '@maintenance-management:failure-types.entities.failure-type.plural',\n icon: 'fa-light fa-shapes',\n },\n failureMode: {\n name: 'FailureMode',\n source: `${config.module}.FailureMode`,\n title: '@maintenance-management:failure-modes.entities.failure-mode.title',\n titlePlural: '@maintenance-management:failure-modes.entities.failure-mode.plural',\n icon: 'fa-light fa-diagram-project',\n },\n failureModeAssetType: {\n name: 'FailureModeAssetType',\n source: `${config.module}.FailureModeAssetType`,\n title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.title',\n titlePlural: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.plural',\n icon: 'fa-light fa-link',\n },\n failureModeMechanism: {\n name: 'FailureModeMechanism',\n source: `${config.module}.FailureModeMechanism`,\n title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.title',\n titlePlural: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.plural',\n icon: 'fa-light fa-gears',\n },\n failureModeSolution: {\n name: 'FailureModeSolution',\n source: `${config.module}.FailureModeSolution`,\n title: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.title',\n titlePlural: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.plural',\n icon: 'fa-light fa-screwdriver-wrench',\n },\n failureEffect: {\n name: 'FailureEffect',\n source: `${config.module}.FailureEffect`,\n title: '@maintenance-management:failure-effects.entities.failure-effect.title',\n titlePlural: '@maintenance-management:failure-effects.entities.failure-effect.plural',\n icon: 'fa-light fa-waveform-lines',\n },\n failureSeverity: {\n name: 'FailureSeverity',\n source: `${config.module}.FailureSeverity`,\n title: '@maintenance-management:failure-severities.entities.failure-severity.title',\n titlePlural: '@maintenance-management:failure-severities.entities.failure-severity.plural',\n icon: 'fa-light fa-gauge-high',\n },\n failureRegister: {\n name: 'FailureRegister',\n source: `${config.module}.FailureRegister`,\n title: '@maintenance-management:failure-registers.entities.failure-register.title',\n titlePlural: '@maintenance-management:failure-registers.entities.failure-register.plural',\n icon: 'fa-light fa-file-waveform',\n },\n failureRegisterEffect: {\n name: 'FailureRegisterEffect',\n source: `${config.module}.FailureRegisterEffect`,\n title: '@maintenance-management:failure-register-effects.entities.failure-register-effect.title',\n titlePlural: '@maintenance-management:failure-register-effects.entities.failure-register-effect.plural',\n icon: 'fa-light fa-wave-pulse',\n },\n failureRegisterCause: {\n name: 'FailureRegisterCause',\n source: `${config.module}.FailureRegisterCause`,\n title: '@maintenance-management:failure-register-causes.entities.failure-register-cause.title',\n titlePlural: '@maintenance-management:failure-register-causes.entities.failure-register-cause.plural',\n icon: 'fa-light fa-triangle-exclamation',\n },\n failureRegisterMechanism: {\n name: 'FailureRegisterMechanism',\n source: `${config.module}.FailureRegisterMechanism`,\n title: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.title',\n titlePlural: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.plural',\n icon: 'fa-light fa-gears',\n },\n },\n};\n\n//#endregion\n","import { AXPSystemActionType, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView, entityDetailsCrudActions, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { AXMWorkOrderSourceType } from '../../work-order.source-type';\nimport { AXMWorkOrderStatus } from '../../work-order.status';\nimport { RootConfig } from '../../root-config';\n\nconst sourceTypeSelectDataSource = [\n { id: AXMWorkOrderSourceType.Manual, title: '@maintenance-management:work-orders.source-types.manual' },\n {\n id: AXMWorkOrderSourceType.MaintenancePlan,\n title: '@maintenance-management:work-orders.source-types.maintenance-plan',\n },\n { id: AXMWorkOrderSourceType.CreateAsset, title: '@maintenance-management:work-orders.source-types.create-asset' },\n {\n id: AXMWorkOrderSourceType.FailureRegister,\n title: '@maintenance-management:work-orders.source-types.failure-register',\n },\n];\n\nconst prioritySelectDataSource = [\n { id: 'critical', title: '@maintenance-management:failure-modes.priorities.critical' },\n { id: 'high', title: '@maintenance-management:failure-modes.priorities.high' },\n { id: 'medium', title: '@maintenance-management:failure-modes.priorities.medium' },\n { id: 'low', title: '@maintenance-management:failure-modes.priorities.low' },\n];\n\n/** Enables list toolbar advance/inline filters (see entity `filtersDef`). */\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\n/** Form visibility when work order is driven by a maintenance plan. */\n// const plannableFormVisible =\n// '{{ !!context.eval(\"plannable\") || (!!context.eval(\"id\") && !!context.eval(\"maintenancePlanId\")) }}';\n\n/** Form visibility when work order is corrective / non-plan. */\n// const unplannableFormVisible =\n// '{{ !context.eval(\"plannable\") && (!context.eval(\"id\") || !context.eval(\"maintenancePlanId\")) }}';\n\nexport async function workOrderEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workOrder.name,\n title: RootConfig.entities.workOrder.title,\n icon: RootConfig.entities.workOrder.icon,\n formats: {\n individual: RootConfig.entities.workOrder.title,\n plural: RootConfig.entities.workOrder.titlePlural,\n searchResult: {\n title: '{{ workOrderNo }}',\n description: '{{ maintenanceTemplate.title }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'archive' },\n { name: 'identifier', options: { field: 'workOrderNo', rule: 'work-order-no' } },\n { name: 'unique-fields', options: { fields: 'workOrderNo', scope: 'global' } },\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'maintenance-management.status.work-order',\n defaultStatus: AXMWorkOrderStatus.Planned,\n order: 4,\n },\n },\n {\n name: 'workflow-run',\n options: {\n list: {\n mode: 'crud',\n defaultRowAction: 'view',\n },\n },\n },\n {\n name: 'meta-data-form',\n options: {\n path: 'maintenanceTemplateId',\n title: '@maintenance-management:work-orders.entities.work-order.components.meta-data-form.title',\n order: 3,\n },\n },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.workReport.name}`,\n title: '@maintenance-management:work-orders.entities.work-order.related-entities.work-reports.title',\n columns: ['reportedAt', 'result', 'laborHours', 'downtimeMinutes', 'needFollowUp'],\n conditions: [{ name: 'workOrderId', operator: { type: 'equal' }, value: '{{ context.eval(\"id\") }}' }],\n actions: [\n {\n title: '@general:actions.view.title',\n command: { name: 'Entity:View' },\n priority: 'primary',\n default: true,\n type: AXPSystemActionType.View,\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: '@general:actions.create.title',\n command: {\n name: 'Entity:Create',\n options: {\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {\n workOrderId: '{{ context.eval(\"id\") }}',\n },\n },\n },\n },\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ...entityDetailsCrudActions('workOrderId', { create: false, view: false }),\n ],\n excludeProperties: ['workOrderId'],\n layout: {\n type: 'page-list',\n },\n },\n ],\n groups: [\n { id: 'basic-info', title: '@maintenance-management:work-orders.entities.work-order.groups.basic-info' },\n {\n id: 'scheduling-execution',\n title: '@maintenance-management:work-orders.entities.work-order.groups.scheduling-execution',\n },\n { id: 'assignment', title: '@maintenance-management:work-orders.entities.work-order.groups.assignment' },\n {\n id: 'execution-settings',\n title: '@maintenance-management:work-orders.entities.work-order.groups.execution-settings',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'workOrderNo',\n title: '@maintenance-management:work-orders.entities.work-order.fields.work-order-no.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n disabled: true,\n placeholder: '@maintenance-management:work-orders.entities.work-order.fields.work-order-no.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n // {\n // name: 'plannable',\n // title: '@maintenance-management:work-orders.entities.work-order.fields.plannable.title',\n // groupId: 'basic-info',\n // schema: {\n // dataType: 'boolean',\n // defaultValue: false,\n // visible: '{{ !context.eval(\"id\") }}',\n // interface: {\n // type: AXPWidgetsCatalog.toggle,\n // options: {\n // triggers: [\n // {\n // event: \"{{ events.context('plannable') }}\",\n // action:\n // \"{{ if (context.eval('plannable')) { context.set('maintenanceTypeId', null); context.set('maintenanceType', null); context.set('maintenanceTemplateId', null); context.set('maintenanceTemplate', null); context.set('failureRegisterId', null); context.set('failureRegister', null); } else { context.set('maintenancePlanId', null); context.set('maintenancePlan', null); } }}\",\n // },\n // ],\n // },\n // },\n // },\n // },\n {\n name: 'assetId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.asset-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n // visible:\n // '{{ !context.eval(\"maintenancePlanId\") || (!context.eval(\"plannable\") && (!context.eval(\"id\") || !context.eval(\"maintenancePlanId\"))) }}',\n visible: '{{ !context.eval(\"maintenancePlanId\") || (!context.eval(\"id\") || !context.eval(\"maintenancePlanId\"))) }}',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: 'AssetManagement.Asset',\n textField: 'title',\n valueField: 'id',\n disabled: '{{ !!context.eval(\"id\") || !!context.eval(\"maintenancePlanId\") }}',\n expose: [\n { source: 'id', target: 'asset.id' },\n { source: 'title', target: 'asset.title' },\n { source: 'assetTypeId', target: 'asset.assetTypeId' },\n { source: 'assetType.maintenanceTypeIds', target: 'asset.assetType.maintenanceTypeIds' },\n { source: 'availableMaintenanceTypeIds', target: 'asset.assetType.maintenanceTypeIds' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'maintenanceTypeId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.maintenance-type-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n // visible: unplannableFormVisible,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n triggers: [\n {\n event: \"{{ events.context('maintenanceTypeId') }}\",\n action: '{{ context.set(\"maintenanceTemplateId\", null); context.set(\"maintenanceTemplate\", null); }}',\n },\n {\n event: \"{{ events.context('assetId') }}\",\n action: '{{ widget.setValue(null); context.set(\"maintenanceType\", null); context.set(\"maintenanceTemplateId\", null); context.set(\"maintenanceTemplate\", null); widget.refresh(); }}',\n },\n ],\n options: {\n look: 'select',\n disabled: '{{ !context.eval(\"assetId\") || !!context.eval(\"id\") }}',\n entity: `${RootConfig.module.name}.${RootConfig.entities.maintenanceType.name}`,\n textField: 'title',\n valueField: 'id',\n filter: {\n field: 'id',\n operator: { type: 'in' },\n value: '{{ context.eval(\"asset.assetType.maintenanceTypeIds\") || context.eval(\"asset.availableMaintenanceTypeIds\") || [] }}',\n },\n expose: [\n { source: 'id', target: 'maintenanceType.id' },\n { source: 'title', target: 'maintenanceType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'maintenancePlanId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.maintenance-plan-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n // visible: plannableFormVisible,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'lookup',\n allowCreate: 'quick',\n disabled: '{{ !!context.eval(\"id\") }}',\n entity: `${RootConfig.module.name}.${RootConfig.entities.maintenancePlan.name}`,\n textField: 'title',\n valueField: 'id',\n filter: {\n field: 'assetId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"assetId\") }}',\n },\n expose: [\n { source: 'id', target: 'maintenancePlan.id' },\n { source: 'title', target: 'maintenancePlan.title' },\n { source: 'code', target: 'maintenancePlan.code' },\n { source: 'assetId', target: 'assetId' },\n { source: 'asset.id', target: 'asset.id' },\n { source: 'asset.title', target: 'asset.title' },\n { source: 'asset.assetTypeId', target: 'asset.assetTypeId' },\n { source: 'asset.assetType.maintenanceTypeIds', target: 'asset.assetType.maintenanceTypeIds' },\n { source: 'maintenanceTypeId', target: 'maintenanceTypeId' },\n { source: 'maintenanceTemplateId', target: 'maintenanceTemplateId' },\n ],\n },\n },\n },\n },\n {\n name: 'maintenanceTemplateId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.maintenance-template-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n readonly: '{{ !!context.eval(\"id\") || (!context.eval(\"plannable\") && !context.eval(\"maintenanceTypeId\")) }}',\n // visible: unplannableFormVisible,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n triggers: [\n {\n event: \"{{ events.context('maintenanceTypeId') }}\",\n action: '{{ widget.setValue(null); context.set(\"maintenanceTemplate\", null); widget.refresh(); }}',\n },\n ],\n options: {\n // disabled:\n // '{{ !!context.eval(\"plannable\") || !!context.eval(\"id\") || !context.eval(\"maintenanceTypeId\") }}',\n disabled: '{{ !!context.eval(\"id\") || !context.eval(\"maintenanceTypeId\") }}',\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.maintenanceTemplate.name}`,\n textField: 'title',\n valueField: 'id',\n filter: {\n field: 'maintenanceTypeId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"maintenanceTypeId\") }}',\n },\n expose: [\n { source: 'id', target: 'maintenanceTemplate.id' },\n { source: 'title', target: 'maintenanceTemplate.title' },\n // { source: 'metadataIds', target: 'maintenanceTemplate.metadataIds' },\n { source: 'workflowConfig', target: 'maintenanceTemplate.workflowConfig' },\n ],\n },\n },\n },\n },\n {\n name: 'failureRegisterId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.failure-register-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n // visible: unplannableFormVisible,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'lookup',\n allowCreate: 'quick',\n disabled: '{{ !!context.eval(\"id\") }}',\n entity: `${RootConfig.module.name}.${RootConfig.entities.failureRegister.name}`,\n textField: 'code',\n valueField: 'id',\n filter: {\n field: 'assetId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"assetId\") }}',\n },\n expose: [\n { source: 'id', target: 'failureRegister.id' },\n { source: 'code', target: 'failureRegister.code' },\n ],\n },\n },\n },\n },\n {\n name: 'sourceType',\n title: '@maintenance-management:work-orders.entities.work-order.fields.source-type.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'id',\n textField: 'title',\n allowSearch: false,\n disabled: true,\n dataSource: sourceTypeSelectDataSource,\n },\n },\n },\n },\n {\n name: 'autoGeneratedWorkOrder',\n title: '@maintenance-management:work-orders.entities.work-order.fields.auto-generated-work-order.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsCatalog.toggle, options: { disabled: true } },\n },\n },\n {\n name: 'priorityId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.priority-id.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'id',\n textField: 'title',\n allowSearch: true,\n dataSource: prioritySelectDataSource,\n },\n },\n },\n },\n {\n name: 'scheduledStart',\n title: '@maintenance-management:work-orders.entities.work-order.fields.scheduled-start.title',\n groupId: 'scheduling-execution',\n options: listSortAndFilterOptions,\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } } },\n },\n {\n name: 'scheduledEnd',\n title: '@maintenance-management:work-orders.entities.work-order.fields.scheduled-end.title',\n groupId: 'scheduling-execution',\n options: listSortAndFilterOptions,\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } } },\n },\n {\n name: 'startedAt',\n title: '@maintenance-management:work-orders.entities.work-order.fields.started-at.title',\n groupId: 'scheduling-execution',\n options: listSortAndFilterOptions,\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } } },\n },\n {\n name: 'completedAt',\n title: '@maintenance-management:work-orders.entities.work-order.fields.completed-at.title',\n groupId: 'scheduling-execution',\n options: listSortAndFilterOptions,\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } } },\n },\n {\n name: 'assignedToId',\n title: '@maintenance-management:work-orders.entities.work-order.fields.assigned-to-id.title',\n groupId: 'assignment',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: 'PersonCore.Person',\n textField: 'fullName',\n valueField: 'id',\n columns: ['fullName'],\n expose: [\n { source: 'id', target: 'assignedTo.id' },\n { source: 'fullName', target: 'assignedTo.fullName' },\n ],\n },\n },\n },\n },\n {\n name: 'requestedById',\n title: '@maintenance-management:work-orders.entities.work-order.fields.requested-by-id.title',\n groupId: 'assignment',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n defaultValue: '{{ session.currentUser().id }}',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n disabled: true,\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n columns: ['displayName', 'username'],\n expose: [\n { source: 'id', target: 'requestedBy.id' },\n { source: 'displayName', target: 'requestedBy.displayName' },\n ],\n },\n },\n },\n },\n {\n name: 'estimatedHours',\n title: '@maintenance-management:work-orders.entities.work-order.fields.estimated-hours.title',\n groupId: 'execution-settings',\n options: listSortAndFilterOptions,\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number, options: { min: 0 } } },\n },\n {\n name: 'actualHours',\n title: '@maintenance-management:work-orders.entities.work-order.fields.actual-hours.title',\n groupId: 'execution-settings',\n options: listSortAndFilterOptions,\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number, options: { min: 0 } } },\n },\n {\n name: 'downtimeMinutes',\n title: '@maintenance-management:work-orders.entities.work-order.fields.downtime-minutes.title',\n groupId: 'execution-settings',\n options: listSortAndFilterOptions,\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number, options: { min: 0 } } },\n },\n {\n name: 'needPermission',\n title: '@maintenance-management:work-orders.entities.work-order.fields.work-permit.title',\n groupId: 'execution-settings',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsCatalog.toggle, options: {} },\n },\n },\n {\n name: 'needShutdown',\n title: '@maintenance-management:work-orders.entities.work-order.fields.need-shutdown.title',\n groupId: 'execution-settings',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsCatalog.toggle, options: {} },\n },\n },\n {\n name: 'workflowColumn',\n title: '@maintenance-management:work-orders.entities.work-order.fields.workflow-column.title',\n schema: {\n dataType: 'object',\n visible: false,\n readonly: true,\n interface: {\n type: 'work-order-workflow-column',\n options: {},\n },\n },\n },\n {\n name: 'workReportColumn',\n title: '@maintenance-management:work-orders.entities.work-order.fields.work-report-column.title',\n schema: {\n dataType: 'object',\n visible: false,\n readonly: true,\n interface: {\n type: 'work-order-work-report-column',\n options: {},\n },\n },\n },\n ],\n columns: [\n { name: 'workOrderNo', options: { order: 1 } },\n { name: 'maintenanceTypeId', options: { dataPath: 'maintenanceType.title', order: 3 } },\n { name: 'workflowColumn', options: { order: 4, width: '220px' } },\n { name: 'workReportColumn', options: { order: 5, width: '180px' } },\n { name: 'maintenancePlanId', options: { dataPath: 'maintenancePlan.title', order: 6 } },\n { name: 'failureRegisterId', options: { dataPath: 'failureRegister.code', order: 7 } },\n { name: 'priorityId', options: { order: 8 } },\n { name: 'sourceType', options: { order: 9 } },\n { name: 'scheduledStart', options: { order: 10 } },\n { name: 'scheduledEnd', options: { order: 11 } },\n { name: 'startedAt', options: { order: 12 } },\n { name: 'completedAt', options: { order: 13 } },\n { name: 'assignedToId', options: { dataPath: 'assignedTo.fullName', order: 14 } },\n { name: 'requestedById', options: { dataPath: 'requestedBy.displayName', order: 15 } },\n { name: 'estimatedHours', options: { order: 16 } },\n { name: 'actualHours', options: { order: 17 } },\n { name: 'downtimeMinutes', options: { order: 18 } },\n { name: 'needPermission', options: { order: 19 } },\n { name: 'needShutdown', options: { order: 20 } },\n { name: 'autoGeneratedWorkOrder', options: { order: 22 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'scheduling-execution' }, { id: 'assignment' }, { id: 'execution-settings' }],\n properties: [\n { name: 'workOrderNo', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n // { name: 'plannable', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'assetId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'maintenanceTemplateId', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n // { name: 'maintenancePlanId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n // { name: 'failureRegisterId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },\n // { name: 'autoGeneratedWorkOrder', layout: { positions: { lg: { colSpan: 6, order: 9 } } } },\n { name: 'scheduledStart', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'scheduledEnd', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'assignedToId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'estimatedHours', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'actualHours', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'downtimeMinutes', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'needPermission', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'needShutdown', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'scheduling-execution' }, { id: 'assignment' }, { id: 'execution-settings' }],\n properties: [\n { name: 'workOrderNo', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'maintenanceTemplateId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n // { name: 'maintenancePlanId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n // { name: 'failureRegisterId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'sourceType', layout: { positions: { lg: { colSpan: 3, order: 4 } } } },\n { name: 'autoGeneratedWorkOrder', layout: { positions: { lg: { colSpan: 3, order: 5 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'assetId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'scheduledStart', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },\n { name: 'scheduledEnd', layout: { positions: { lg: { colSpan: 6, order: 9 } } } },\n { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 10 } } } },\n { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 11 } } } },\n { name: 'assignedToId', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },\n { name: 'estimatedHours', layout: { positions: { lg: { colSpan: 4, order: 14 } } } },\n { name: 'actualHours', layout: { positions: { lg: { colSpan: 4, order: 15 } } } },\n { name: 'downtimeMinutes', layout: { positions: { lg: { colSpan: 4, order: 16 } } } },\n { name: 'needPermission', layout: { positions: { lg: { colSpan: 4, order: 17 } } } },\n { name: 'needShutdown', layout: { positions: { lg: { colSpan: 4, order: 18 } } } },\n ],\n },\n single: {\n title: '{{ workOrderNo }}',\n sections: [{ id: 'basic-info' }, { id: 'scheduling-execution' }, { id: 'assignment' }, { id: 'execution-settings' }],\n properties: [\n { name: 'workOrderNo', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'assetId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'maintenanceTemplateId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n // { name: 'maintenancePlanId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n // { name: 'failureRegisterId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'sourceType', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'autoGeneratedWorkOrder', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },\n { name: 'scheduledStart', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'scheduledEnd', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'assignedToId', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'estimatedHours', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'actualHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'downtimeMinutes', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'needPermission', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },\n { name: 'needShutdown', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions({ create: false, delete: false })],\n views: [createAllQueryView({ sorts: [{ name: 'workOrderNo', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.work-order';\n"],"names":[],"mappings":";;;AAA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,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACnF,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAClF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;oBACvE,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;AC9pBA;;AAEG;;;;"}
@@ -0,0 +1,452 @@
1
+ import { AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ //#region ---- Root Configuration ----
5
+ const config = {
6
+ i18n: 'maintenance-management',
7
+ module: 'MaintenanceManagement',
8
+ route: 'maintenance-management',
9
+ };
10
+ const RootConfig = {
11
+ config,
12
+ module: {
13
+ route: config.route,
14
+ name: config.module,
15
+ title: '@maintenance-management:module.title',
16
+ icon: 'fa-light fa-box',
17
+ },
18
+ entities: {
19
+ maintenanceType: {
20
+ name: 'MaintenanceType',
21
+ source: `${config.module}.MaintenanceType`,
22
+ title: '@maintenance-management:maintenance-types.entities.maintenance-type.title',
23
+ titlePlural: '@maintenance-management:maintenance-types.entities.maintenance-type.plural',
24
+ icon: 'fa-light fa-screwdriver-wrench',
25
+ },
26
+ maintenanceTemplate: {
27
+ name: 'MaintenanceTemplate',
28
+ source: `${config.module}.MaintenanceTemplate`,
29
+ title: '@maintenance-management:maintenance-templates.entities.maintenance-template.title',
30
+ titlePlural: '@maintenance-management:maintenance-templates.entities.maintenance-template.plural',
31
+ icon: 'fa-light fa-clipboard-list',
32
+ },
33
+ maintenancePlan: {
34
+ name: 'MaintenancePlan',
35
+ source: `${config.module}.MaintenancePlan`,
36
+ title: '@maintenance-management:maintenance-plans.entities.maintenance-plan.title',
37
+ titlePlural: '@maintenance-management:maintenance-plans.entities.maintenance-plan.plural',
38
+ icon: 'fa-light fa-calendar-check',
39
+ },
40
+ workPackage: {
41
+ name: 'WorkPackage',
42
+ source: `${config.module}.WorkPackage`,
43
+ title: '@maintenance-management:work-packages.entities.work-package.title',
44
+ titlePlural: '@maintenance-management:work-packages.entities.work-package.plural',
45
+ icon: 'fa-light fa-boxes-packing',
46
+ },
47
+ workOrder: {
48
+ name: 'WorkOrder',
49
+ source: `${config.module}.WorkOrder`,
50
+ title: '@maintenance-management:work-orders.entities.work-order.title',
51
+ titlePlural: '@maintenance-management:work-orders.entities.work-order.plural',
52
+ icon: 'fa-light fa-clipboard-check',
53
+ },
54
+ workReport: {
55
+ name: 'WorkReport',
56
+ source: `${config.module}.WorkReport`,
57
+ title: '@maintenance-management:work-reports.entities.work-report.title',
58
+ titlePlural: '@maintenance-management:work-reports.entities.work-report.plural',
59
+ icon: 'fa-light fa-file-lines',
60
+ },
61
+ maintenanceTemplateActivityType: {
62
+ name: 'MaintenanceTemplateActivityType',
63
+ source: `${config.module}.MaintenanceTemplateActivityType`,
64
+ title: '@maintenance-management:maintenance-template-activity-types.entities.maintenance-template-activity-type.title',
65
+ titlePlural: '@maintenance-management:maintenance-template-activity-types.entities.maintenance-template-activity-type.plural',
66
+ icon: 'fa-light fa-list-check',
67
+ },
68
+ maintenanceTemplateResource: {
69
+ name: 'MaintenanceTemplateResource',
70
+ source: `${config.module}.MaintenanceTemplateResource`,
71
+ title: '@maintenance-management:maintenance-template-resources.entities.maintenance-template-resource.title',
72
+ titlePlural: '@maintenance-management:maintenance-template-resources.entities.maintenance-template-resource.plural',
73
+ icon: 'fa-light fa-box-open-full',
74
+ },
75
+ maintenanceTemplateFailureMode: {
76
+ name: 'MaintenanceTemplateFailureMode',
77
+ source: `${config.module}.MaintenanceTemplateFailureMode`,
78
+ title: '@maintenance-management:maintenance-template-failure-modes.entities.maintenance-template-failure-mode.title',
79
+ titlePlural: '@maintenance-management:maintenance-template-failure-modes.entities.maintenance-template-failure-mode.plural',
80
+ icon: 'fa-light fa-triangle-exclamation',
81
+ },
82
+ activityType: {
83
+ name: 'ActivityType',
84
+ source: `${config.module}.ActivityType`,
85
+ title: '@maintenance-management:activity-types.entities.activity-type.title',
86
+ titlePlural: '@maintenance-management:activity-types.entities.activity-type.plural',
87
+ icon: 'fa-light fa-list-check',
88
+ },
89
+ activityTypeAssetType: {
90
+ name: 'ActivityTypeAssetType',
91
+ source: `${config.module}.ActivityTypeAssetType`,
92
+ title: '@maintenance-management:activity-type-asset-types.entities.activity-type-asset-type.title',
93
+ titlePlural: '@maintenance-management:activity-type-asset-types.entities.activity-type-asset-type.plural',
94
+ icon: 'fa-light fa-link',
95
+ },
96
+ activityTypeResource: {
97
+ name: 'ActivityTypeResource',
98
+ source: `${config.module}.ActivityTypeResource`,
99
+ title: '@maintenance-management:activity-type-resources.entities.activity-type-resource.title',
100
+ titlePlural: '@maintenance-management:activity-type-resources.entities.activity-type-resource.plural',
101
+ icon: 'fa-light fa-cubes',
102
+ },
103
+ failureCause: {
104
+ name: 'FailureCause',
105
+ source: `${config.module}.FailureCause`,
106
+ title: '@maintenance-management:failure-causes.entities.failure-cause.title',
107
+ titlePlural: '@maintenance-management:failure-causes.entities.failure-cause.plural',
108
+ icon: 'fa-light fa-triangle-exclamation',
109
+ },
110
+ failureMechanism: {
111
+ name: 'FailureMechanism',
112
+ source: `${config.module}.FailureMechanism`,
113
+ title: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.title',
114
+ titlePlural: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.plural',
115
+ icon: 'fa-light fa-gears',
116
+ },
117
+ failureDetection: {
118
+ name: 'FailureDetection',
119
+ source: `${config.module}.FailureDetection`,
120
+ title: '@maintenance-management:failure-detections.entities.failure-detection.title',
121
+ titlePlural: '@maintenance-management:failure-detections.entities.failure-detection.plural',
122
+ icon: 'fa-light fa-radar',
123
+ },
124
+ failureType: {
125
+ name: 'FailureType',
126
+ source: `${config.module}.FailureType`,
127
+ title: '@maintenance-management:failure-types.entities.failure-type.title',
128
+ titlePlural: '@maintenance-management:failure-types.entities.failure-type.plural',
129
+ icon: 'fa-light fa-shapes',
130
+ },
131
+ failureMode: {
132
+ name: 'FailureMode',
133
+ source: `${config.module}.FailureMode`,
134
+ title: '@maintenance-management:failure-modes.entities.failure-mode.title',
135
+ titlePlural: '@maintenance-management:failure-modes.entities.failure-mode.plural',
136
+ icon: 'fa-light fa-diagram-project',
137
+ },
138
+ failureModeAssetType: {
139
+ name: 'FailureModeAssetType',
140
+ source: `${config.module}.FailureModeAssetType`,
141
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.title',
142
+ titlePlural: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.plural',
143
+ icon: 'fa-light fa-link',
144
+ },
145
+ failureModeMechanism: {
146
+ name: 'FailureModeMechanism',
147
+ source: `${config.module}.FailureModeMechanism`,
148
+ title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.title',
149
+ titlePlural: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.plural',
150
+ icon: 'fa-light fa-gears',
151
+ },
152
+ failureModeSolution: {
153
+ name: 'FailureModeSolution',
154
+ source: `${config.module}.FailureModeSolution`,
155
+ title: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.title',
156
+ titlePlural: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.plural',
157
+ icon: 'fa-light fa-screwdriver-wrench',
158
+ },
159
+ failureEffect: {
160
+ name: 'FailureEffect',
161
+ source: `${config.module}.FailureEffect`,
162
+ title: '@maintenance-management:failure-effects.entities.failure-effect.title',
163
+ titlePlural: '@maintenance-management:failure-effects.entities.failure-effect.plural',
164
+ icon: 'fa-light fa-waveform-lines',
165
+ },
166
+ failureSeverity: {
167
+ name: 'FailureSeverity',
168
+ source: `${config.module}.FailureSeverity`,
169
+ title: '@maintenance-management:failure-severities.entities.failure-severity.title',
170
+ titlePlural: '@maintenance-management:failure-severities.entities.failure-severity.plural',
171
+ icon: 'fa-light fa-gauge-high',
172
+ },
173
+ failureRegister: {
174
+ name: 'FailureRegister',
175
+ source: `${config.module}.FailureRegister`,
176
+ title: '@maintenance-management:failure-registers.entities.failure-register.title',
177
+ titlePlural: '@maintenance-management:failure-registers.entities.failure-register.plural',
178
+ icon: 'fa-light fa-file-waveform',
179
+ },
180
+ failureRegisterEffect: {
181
+ name: 'FailureRegisterEffect',
182
+ source: `${config.module}.FailureRegisterEffect`,
183
+ title: '@maintenance-management:failure-register-effects.entities.failure-register-effect.title',
184
+ titlePlural: '@maintenance-management:failure-register-effects.entities.failure-register-effect.plural',
185
+ icon: 'fa-light fa-wave-pulse',
186
+ },
187
+ failureRegisterCause: {
188
+ name: 'FailureRegisterCause',
189
+ source: `${config.module}.FailureRegisterCause`,
190
+ title: '@maintenance-management:failure-register-causes.entities.failure-register-cause.title',
191
+ titlePlural: '@maintenance-management:failure-register-causes.entities.failure-register-cause.plural',
192
+ icon: 'fa-light fa-triangle-exclamation',
193
+ },
194
+ failureRegisterMechanism: {
195
+ name: 'FailureRegisterMechanism',
196
+ source: `${config.module}.FailureRegisterMechanism`,
197
+ title: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.title',
198
+ titlePlural: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.plural',
199
+ icon: 'fa-light fa-gears',
200
+ },
201
+ },
202
+ };
203
+ //#endregion
204
+
205
+ const WORK_ORDER_REPEATER_CHILDREN = [
206
+ {
207
+ type: AXPWidgetsList.Editors.LookupBox,
208
+ mode: 'edit',
209
+ path: 'workOrderId',
210
+ name: 'workOrderId',
211
+ options: {
212
+ entity: `${RootConfig.module.name}.${RootConfig.entities.workOrder.name}`,
213
+ look: 'select',
214
+ allowSearch: true,
215
+ allowCreate: 'quick',
216
+ textField: 'workOrderNo',
217
+ valueField: 'id',
218
+ columns: ['workOrderNo', 'priorityId', 'statusId'],
219
+ expose: [
220
+ { source: 'id', target: 'workOrder.id' },
221
+ { source: 'workOrderNo', target: 'workOrder.workOrderNo' },
222
+ ],
223
+ },
224
+ },
225
+ ];
226
+ async function workPackageEntityFactory() {
227
+ const entityDef = {
228
+ module: RootConfig.module.name,
229
+ name: RootConfig.entities.workPackage.name,
230
+ title: RootConfig.entities.workPackage.title,
231
+ icon: RootConfig.entities.workPackage.icon,
232
+ formats: {
233
+ individual: RootConfig.entities.workPackage.title,
234
+ plural: RootConfig.entities.workPackage.titlePlural,
235
+ searchResult: {
236
+ title: '{{ code }}',
237
+ description: '{{ title }}',
238
+ },
239
+ },
240
+ plugins: [
241
+ { name: 'history' },
242
+ { name: 'archive' },
243
+ {
244
+ name: 'status',
245
+ options: {
246
+ field: 'statusId',
247
+ definition: 'maintenance-management.status.work-package',
248
+ },
249
+ },
250
+ ],
251
+ groups: [
252
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
253
+ { id: 'scope-context', title: '@maintenance-management:work-packages.entities.work-package.fields.work-order-ids.title' },
254
+ { id: 'operational-requirements', title: 'Operational Requirements' },
255
+ { id: 'timing', title: '@maintenance-management:work-packages.entities.work-package.groups.timing' },
256
+ ],
257
+ properties: [
258
+ {
259
+ name: 'id',
260
+ title: 'ID',
261
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
262
+ },
263
+ {
264
+ name: 'code',
265
+ title: '@maintenance-management:work-packages.entities.work-package.fields.code.title',
266
+ groupId: 'basic-info',
267
+ schema: {
268
+ dataType: 'string',
269
+ interface: { type: AXPWidgetsCatalog.text, options: {} },
270
+ },
271
+ validations: [{ rule: 'required' }],
272
+ },
273
+ {
274
+ name: 'title',
275
+ title: '@maintenance-management:work-packages.entities.work-package.fields.title.title',
276
+ groupId: 'basic-info',
277
+ schema: {
278
+ dataType: 'string',
279
+ interface: { type: AXPWidgetsCatalog.text, options: {} },
280
+ },
281
+ validations: [{ rule: 'required' }],
282
+ },
283
+ {
284
+ name: 'description',
285
+ title: '@general:terms.common.description',
286
+ groupId: 'basic-info',
287
+ schema: {
288
+ dataType: 'string',
289
+ interface: { type: AXPWidgetsCatalog.largeText, options: {} },
290
+ },
291
+ },
292
+ {
293
+ name: 'assetSystemId',
294
+ title: '@maintenance-management:work-packages.entities.work-package.fields.asset-system-id.title',
295
+ groupId: 'scope-context',
296
+ schema: {
297
+ dataType: 'string',
298
+ interface: {
299
+ type: AXPWidgetsCatalog.lookup,
300
+ options: {
301
+ look: 'select',
302
+ entity: 'AssetManagement.AssetSystem',
303
+ textField: 'title',
304
+ valueField: 'id',
305
+ expose: [
306
+ { source: 'id', target: 'assetSystem.id' },
307
+ { source: 'title', target: 'assetSystem.title' },
308
+ ],
309
+ },
310
+ },
311
+ },
312
+ validations: [{ rule: 'required' }],
313
+ },
314
+ {
315
+ name: 'plannedStart',
316
+ title: '@maintenance-management:work-packages.entities.work-package.fields.planned-start.title',
317
+ groupId: 'timing',
318
+ schema: {
319
+ dataType: 'date',
320
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
321
+ },
322
+ },
323
+ {
324
+ name: 'plannedEnd',
325
+ title: '@maintenance-management:work-packages.entities.work-package.fields.planned-end.title',
326
+ groupId: 'timing',
327
+ schema: {
328
+ dataType: 'date',
329
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
330
+ },
331
+ },
332
+ {
333
+ name: 'startedAt',
334
+ title: '@maintenance-management:work-packages.entities.work-package.fields.started-at.title',
335
+ groupId: 'timing',
336
+ schema: {
337
+ dataType: 'date',
338
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
339
+ },
340
+ },
341
+ {
342
+ name: 'completedAt',
343
+ title: '@maintenance-management:work-packages.entities.work-package.fields.completed-at.title',
344
+ groupId: 'timing',
345
+ schema: {
346
+ dataType: 'date',
347
+ nullable: true,
348
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
349
+ },
350
+ },
351
+ {
352
+ name: 'needShutdown',
353
+ title: '@maintenance-management:work-packages.entities.work-package.fields.need-shutdown.title',
354
+ groupId: 'operational-requirements',
355
+ schema: {
356
+ dataType: 'boolean',
357
+ defaultValue: false,
358
+ interface: { type: AXPWidgetsCatalog.toggle, options: {} },
359
+ },
360
+ },
361
+ {
362
+ name: 'workOrderIds',
363
+ title: '',
364
+ groupId: 'scope-context',
365
+ schema: {
366
+ defaultValue: [],
367
+ dataType: 'array',
368
+ nullable: true,
369
+ interface: {
370
+ type: AXPWidgetsList.Layouts.RepeaterLayout,
371
+ options: { hasControls: true, allowReorder: true },
372
+ children: [...WORK_ORDER_REPEATER_CHILDREN],
373
+ },
374
+ },
375
+ },
376
+ ],
377
+ columns: [
378
+ { name: 'code' },
379
+ { name: 'title' },
380
+ { name: 'assetSystemId', options: { dataPath: 'assetSystem.title' } },
381
+ { name: 'plannedStart' },
382
+ { name: 'plannedEnd' },
383
+ { name: 'startedAt' },
384
+ { name: 'completedAt' },
385
+ { name: 'needShutdown' },
386
+ { name: 'statusId' },
387
+ ],
388
+ interfaces: {
389
+ master: {
390
+ create: {
391
+ sections: [{ id: 'basic-info' }, { id: 'scope-context' }, { id: 'operational-requirements' }, { id: 'timing' }],
392
+ properties: [
393
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
394
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
395
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
396
+ { name: 'assetSystemId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
397
+ { name: 'needShutdown', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
398
+ { name: 'workOrderIds', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
399
+ { name: 'plannedStart', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
400
+ { name: 'plannedEnd', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
401
+ { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
402
+ { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
403
+ ],
404
+ },
405
+ update: {
406
+ sections: [{ id: 'basic-info' }, { id: 'scope-context' }, { id: 'operational-requirements' }, { id: 'timing' }],
407
+ properties: [
408
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
409
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
410
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
411
+ { name: 'assetSystemId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
412
+ { name: 'needShutdown', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
413
+ { name: 'workOrderIds', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
414
+ { name: 'plannedStart', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
415
+ { name: 'plannedEnd', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
416
+ { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
417
+ { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
418
+ ],
419
+ },
420
+ single: {
421
+ title: '{{ code }}',
422
+ sections: [{ id: 'basic-info' }, { id: 'scope-context' }, { id: 'operational-requirements' }, { id: 'timing' }],
423
+ properties: [
424
+ { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
425
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
426
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
427
+ { name: 'assetSystemId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
428
+ { name: 'needShutdown', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
429
+ { name: 'workOrderIds', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
430
+ { name: 'plannedStart', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
431
+ { name: 'plannedEnd', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
432
+ { name: 'startedAt', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
433
+ { name: 'completedAt', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
434
+ ],
435
+ actions: [...entityMasterRecordActions()],
436
+ },
437
+ list: {
438
+ actions: [...entityMasterCrudActions()],
439
+ views: [createAllQueryView({ sorts: [{ name: 'plannedStart', dir: 'desc' }] })],
440
+ },
441
+ },
442
+ },
443
+ };
444
+ return entityDef;
445
+ }
446
+
447
+ /**
448
+ * Generated bundle index. Do not edit.
449
+ */
450
+
451
+ export { workPackageEntityFactory };
452
+ //# sourceMappingURL=acorex-platform-module-maintenance-management-client-contracts-entities-work-package.mjs.map