@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,249 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-maintenance-management-client-contracts-entity-catalog-acorex-platform-module-maintenance-management-client-contracts-entity-catalog-DJkKh0Qa.mjs';
4
+
5
+ const prioritySelectDataSource = [
6
+ {
7
+ id: 'critical',
8
+ title: '@maintenance-management:failure-modes.priority.critical',
9
+ },
10
+ {
11
+ id: 'high',
12
+ title: '@maintenance-management:failure-modes.priority.high',
13
+ },
14
+ {
15
+ id: 'medium',
16
+ title: '@maintenance-management:failure-modes.priority.medium',
17
+ },
18
+ {
19
+ id: 'low',
20
+ title: '@maintenance-management:failure-modes.priority.low',
21
+ },
22
+ ];
23
+ async function factoryFailureModeAssetType() {
24
+ const entityDef = {
25
+ module: RootConfig.module.name,
26
+ name: RootConfig.entities.failureModeAssetType.name,
27
+ title: RootConfig.entities.failureModeAssetType.title,
28
+ icon: RootConfig.entities.failureModeAssetType.icon,
29
+ formats: {
30
+ individual: RootConfig.entities.failureModeAssetType.title,
31
+ plural: RootConfig.entities.failureModeAssetType.titlePlural,
32
+ searchResult: {
33
+ title: '{{ assetType.title }}',
34
+ description: '{{ failureMode.title }}',
35
+ },
36
+ },
37
+ groups: [
38
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
39
+ {
40
+ id: 'details',
41
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.groups.details',
42
+ },
43
+ ],
44
+ properties: [
45
+ {
46
+ name: 'failureModeId',
47
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.failure-mode-id.title',
48
+ groupId: 'basic-info',
49
+ options: {
50
+ sort: { enabled: true },
51
+ filter: {
52
+ advance: { enabled: true },
53
+ inline: { enabled: true },
54
+ },
55
+ },
56
+ schema: {
57
+ dataType: 'string',
58
+ interface: {
59
+ type: AXPWidgetsCatalog.lookup,
60
+ options: {
61
+ look: 'select',
62
+ entity: `${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`,
63
+ textField: 'title',
64
+ valueField: 'id',
65
+ expose: [
66
+ { source: 'id', target: 'failureMode.id' },
67
+ { source: 'title', target: 'failureMode.title' },
68
+ ],
69
+ },
70
+ },
71
+ },
72
+ validations: [{ rule: 'required' }],
73
+ },
74
+ {
75
+ name: 'assetTypeId',
76
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.asset-type-id.title',
77
+ groupId: 'basic-info',
78
+ options: {
79
+ sort: { enabled: true },
80
+ filter: {
81
+ advance: { enabled: true },
82
+ inline: { enabled: true },
83
+ },
84
+ },
85
+ schema: {
86
+ dataType: 'string',
87
+ interface: {
88
+ type: AXPWidgetsCatalog.lookup,
89
+ options: {
90
+ look: 'select',
91
+ entity: `AssetManagement.AssetType`,
92
+ textField: 'title',
93
+ valueField: 'id',
94
+ expose: [
95
+ { source: 'id', target: 'assetType.id' },
96
+ { source: 'title', target: 'assetType.title' },
97
+ ],
98
+ },
99
+ },
100
+ },
101
+ validations: [{ rule: 'required' }],
102
+ },
103
+ {
104
+ name: 'priorityId',
105
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.priority-id.title',
106
+ groupId: 'basic-info',
107
+ options: {
108
+ sort: { enabled: true },
109
+ filter: {
110
+ advance: { enabled: true },
111
+ inline: { enabled: true },
112
+ },
113
+ },
114
+ schema: {
115
+ dataType: 'string',
116
+ interface: {
117
+ type: AXPWidgetsCatalog.select,
118
+ options: {
119
+ valueField: 'id',
120
+ textField: 'title',
121
+ allowSearch: true,
122
+ dataSource: prioritySelectDataSource,
123
+ },
124
+ },
125
+ },
126
+ },
127
+ {
128
+ name: 'shutDownFlag',
129
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.shut-down-flag.title',
130
+ groupId: 'details',
131
+ options: {
132
+ sort: { enabled: true },
133
+ filter: {
134
+ advance: { enabled: true },
135
+ inline: { enabled: true },
136
+ },
137
+ },
138
+ schema: {
139
+ dataType: 'boolean',
140
+ interface: {
141
+ type: AXPWidgetsCatalog.toggle,
142
+ options: {
143
+ trueText: '@general:terms.common.yes-no.yes',
144
+ falseText: '@general:terms.common.yes-no.no',
145
+ },
146
+ },
147
+ },
148
+ },
149
+ {
150
+ name: 'creditRequired',
151
+ title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.credit-required.title',
152
+ groupId: 'details',
153
+ options: {
154
+ sort: { enabled: true },
155
+ filter: {
156
+ advance: { enabled: true },
157
+ inline: { enabled: true },
158
+ },
159
+ },
160
+ schema: {
161
+ dataType: 'boolean',
162
+ interface: {
163
+ type: AXPWidgetsCatalog.toggle,
164
+ options: {
165
+ trueText: '@general:terms.common.yes-no.yes',
166
+ falseText: '@general:terms.common.yes-no.no',
167
+ },
168
+ },
169
+ },
170
+ },
171
+ {
172
+ name: 'description',
173
+ title: '@general:terms.common.description',
174
+ groupId: 'basic-info',
175
+ options: {
176
+ sort: { enabled: false },
177
+ filter: {
178
+ advance: { enabled: false },
179
+ inline: { enabled: false },
180
+ },
181
+ },
182
+ schema: {
183
+ dataType: 'string',
184
+ interface: {
185
+ type: AXPWidgetsCatalog.largeText,
186
+ options: {
187
+ placeholder: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.description.placeholder',
188
+ },
189
+ },
190
+ },
191
+ },
192
+ ],
193
+ columns: [
194
+ { name: 'assetTypeId', options: { dataPath: 'assetType.title' } },
195
+ { name: 'priorityId', options: { dataPath: 'priorityId' } },
196
+ { name: 'shutDownFlag', options: { dataPath: 'shutDownFlag' } },
197
+ { name: 'creditRequired', options: { dataPath: 'creditRequired' } },
198
+ { name: 'description', options: { dataPath: 'description' } },
199
+ ],
200
+ interfaces: {
201
+ master: {
202
+ create: {
203
+ sections: [{ id: 'basic-info' }, { id: 'details' }],
204
+ properties: [
205
+ { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
206
+ { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
207
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
208
+ { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
209
+ { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
210
+ ],
211
+ },
212
+ update: {
213
+ sections: [{ id: 'basic-info' }, { id: 'details' }],
214
+ properties: [
215
+ { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
216
+ { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
217
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
218
+ { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
219
+ { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
220
+ ],
221
+ },
222
+ single: {
223
+ title: '{{ assetType.title }}',
224
+ sections: [{ id: 'basic-info' }, { id: 'details' }],
225
+ properties: [
226
+ { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
227
+ { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
228
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
229
+ { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
230
+ { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
231
+ ],
232
+ actions: [...entityMasterRecordActions()],
233
+ },
234
+ list: {
235
+ actions: [...entityMasterCrudActions()],
236
+ views: [
237
+ createAllQueryView({
238
+ sorts: [{ name: 'assetTypeId', dir: 'asc' }],
239
+ }),
240
+ ],
241
+ },
242
+ },
243
+ },
244
+ };
245
+ return entityDef;
246
+ }
247
+
248
+ export { factoryFailureModeAssetType };
249
+ //# sourceMappingURL=acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-asset-type.entity-N37srLVb.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-asset-type.entity-N37srLVb.mjs","sources":["../../../../libs/modules/maintenance-management/contracts/src/entities/failure-mode-asset-type/failure-mode-asset-type.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst prioritySelectDataSource = [\n {\n id: 'critical',\n title: '@maintenance-management:failure-modes.priority.critical',\n },\n {\n id: 'high',\n title: '@maintenance-management:failure-modes.priority.high',\n },\n {\n id: 'medium',\n title: '@maintenance-management:failure-modes.priority.medium',\n },\n {\n id: 'low',\n title: '@maintenance-management:failure-modes.priority.low',\n },\n] as const;\n\nexport async function factoryFailureModeAssetType(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.failureModeAssetType.name,\n title: RootConfig.entities.failureModeAssetType.title,\n icon: RootConfig.entities.failureModeAssetType.icon,\n formats: {\n individual: RootConfig.entities.failureModeAssetType.title,\n plural: RootConfig.entities.failureModeAssetType.titlePlural,\n searchResult: {\n title: '{{ assetType.title }}',\n description: '{{ failureMode.title }}',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'details',\n title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.groups.details',\n },\n ],\n properties: [\n {\n name: 'failureModeId',\n title:\n '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.failure-mode-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'failureMode.id' },\n { source: 'title', target: 'failureMode.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'assetTypeId',\n title:\n '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.asset-type-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `AssetManagement.AssetType`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'assetType.id' },\n { source: 'title', target: 'assetType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'priorityId',\n title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.priority-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\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: 'shutDownFlag',\n title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.shut-down-flag.title',\n groupId: 'details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n trueText: '@general:terms.common.yes-no.yes',\n falseText: '@general:terms.common.yes-no.no',\n },\n },\n },\n },\n {\n name: 'creditRequired',\n title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.credit-required.title',\n groupId: 'details',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n trueText: '@general:terms.common.yes-no.yes',\n falseText: '@general:terms.common.yes-no.no',\n },\n },\n },\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: false },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n placeholder:\n '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'assetTypeId', options: { dataPath: 'assetType.title' } },\n { name: 'priorityId', options: { dataPath: 'priorityId' } },\n { name: 'shutDownFlag', options: { dataPath: 'shutDownFlag' } },\n { name: 'creditRequired', options: { dataPath: 'creditRequired' } },\n { name: 'description', options: { dataPath: 'description' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'details' }],\n properties: [\n { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'details' }],\n properties: [\n { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ assetType.title }}',\n sections: [{ id: 'basic-info' }, { id: 'details' }],\n properties: [\n { name: 'assetTypeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'priorityId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'shutDownFlag', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'creditRequired', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'assetTypeId', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIA,MAAM,wBAAwB,GAAG;AAC/B,IAAA;AACE,QAAA,EAAE,EAAE,UAAU;AACd,QAAA,KAAK,EAAE,yDAAyD;AACjE,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,MAAM;AACV,QAAA,KAAK,EAAE,qDAAqD;AAC7D,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,QAAQ;AACZ,QAAA,KAAK,EAAE,uDAAuD;AAC/D,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,KAAK;AACT,QAAA,KAAK,EAAE,oDAAoD;AAC5D,KAAA;CACO;AAEH,eAAe,2BAA2B,GAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;AACrD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAA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E,GAAG,EAAE,KAAK,EAAE,CAAC;yBAC7C,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,124 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-maintenance-management-client-contracts-entity-catalog-acorex-platform-module-maintenance-management-client-contracts-entity-catalog-DJkKh0Qa.mjs';
4
+
5
+ async function factoryFailureModeMechanism() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.failureModeMechanism.name,
9
+ title: RootConfig.entities.failureModeMechanism.title,
10
+ icon: RootConfig.entities.failureModeMechanism.icon,
11
+ formats: {
12
+ individual: RootConfig.entities.failureModeMechanism.title,
13
+ plural: RootConfig.entities.failureModeMechanism.titlePlural,
14
+ searchResult: {
15
+ title: '{{ failureMechanism.title }}',
16
+ description: '{{ failureMode.title }}',
17
+ },
18
+ },
19
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
20
+ properties: [
21
+ {
22
+ name: 'failureModeId',
23
+ title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.fields.failure-mode-id.title',
24
+ groupId: 'basic-info',
25
+ options: {
26
+ sort: { enabled: true },
27
+ filter: {
28
+ advance: { enabled: true },
29
+ inline: { enabled: true },
30
+ },
31
+ },
32
+ schema: {
33
+ dataType: 'string',
34
+ interface: {
35
+ type: AXPWidgetsCatalog.lookup,
36
+ options: {
37
+ look: 'select',
38
+ entity: `${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`,
39
+ textField: 'title',
40
+ valueField: 'id',
41
+ expose: [
42
+ { source: 'id', target: 'failureMode.id' },
43
+ { source: 'title', target: 'failureMode.title' },
44
+ ],
45
+ },
46
+ },
47
+ },
48
+ validations: [{ rule: 'required' }],
49
+ },
50
+ {
51
+ name: 'failureMechanismId',
52
+ title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.fields.failure-mechanism-id.title',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: true },
56
+ filter: {
57
+ advance: { enabled: true },
58
+ inline: { enabled: true },
59
+ },
60
+ },
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: {
64
+ type: AXPWidgetsCatalog.lookup,
65
+ options: {
66
+ look: 'select',
67
+ entity: `${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`,
68
+ textField: 'title',
69
+ valueField: 'id',
70
+ expose: [
71
+ { source: 'id', target: 'failureMechanism.id' },
72
+ { source: 'title', target: 'failureMechanism.title' },
73
+ ],
74
+ },
75
+ },
76
+ },
77
+ validations: [{ rule: 'required' }],
78
+ },
79
+ ],
80
+ columns: [
81
+ { name: 'failureModeId', options: { dataPath: 'failureMode.title' } },
82
+ { name: 'failureMechanismId', options: { dataPath: 'failureMechanism.title' } },
83
+ ],
84
+ interfaces: {
85
+ master: {
86
+ create: {
87
+ sections: [{ id: 'basic-info' }],
88
+ properties: [
89
+ { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
90
+ { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
91
+ ],
92
+ },
93
+ update: {
94
+ sections: [{ id: 'basic-info' }],
95
+ properties: [
96
+ { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
97
+ { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
98
+ ],
99
+ },
100
+ single: {
101
+ title: '{{ failureMechanism.title }}',
102
+ sections: [{ id: 'basic-info' }],
103
+ properties: [
104
+ { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
105
+ { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
106
+ ],
107
+ actions: [...entityMasterRecordActions()],
108
+ },
109
+ list: {
110
+ actions: [...entityMasterCrudActions()],
111
+ views: [
112
+ createAllQueryView({
113
+ sorts: [{ name: 'failureMechanismId', dir: 'asc' }],
114
+ }),
115
+ ],
116
+ },
117
+ },
118
+ },
119
+ };
120
+ return entityDef;
121
+ }
122
+
123
+ export { factoryFailureModeMechanism };
124
+ //# sourceMappingURL=acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-mechanism.entity-BkkvXk03.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-maintenance-management-client-contracts-entity-catalog-failure-mode-mechanism.entity-BkkvXk03.mjs","sources":["../../../../libs/modules/maintenance-management/contracts/src/entities/failure-mode-mechanism/failure-mode-mechanism.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryFailureModeMechanism(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.failureModeMechanism.name,\n title: RootConfig.entities.failureModeMechanism.title,\n icon: RootConfig.entities.failureModeMechanism.icon,\n formats: {\n individual: RootConfig.entities.failureModeMechanism.title,\n plural: RootConfig.entities.failureModeMechanism.titlePlural,\n searchResult: {\n title: '{{ failureMechanism.title }}',\n description: '{{ failureMode.title }}',\n },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'failureModeId',\n title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.fields.failure-mode-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'failureMode.id' },\n { source: 'title', target: 'failureMode.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'failureMechanismId',\n title:\n '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.fields.failure-mechanism-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'failureMechanism.id' },\n { source: 'title', target: 'failureMechanism.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [\n { name: 'failureModeId', options: { dataPath: 'failureMode.title' } },\n { name: 'failureMechanismId', options: { dataPath: 'failureMechanism.title' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ failureMechanism.title }}',\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'failureModeId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'failureMechanismId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'failureMechanismId', dir: 'asc' }],\n }),\n ],\n },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