@acorex-platform/module-health-core-client 0.0.32 → 0.0.37

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 (78) hide show
  1. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-blood-type.mjs +222 -0
  2. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-blood-type.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-body-part.mjs +169 -0
  4. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-body-part.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-disability-status.mjs +222 -0
  6. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-disability-status.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-condition-type.mjs +242 -0
  8. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-condition-type.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-condition.mjs +450 -0
  10. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-condition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-event.mjs +458 -0
  12. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-event.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-profile.mjs +462 -0
  14. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-profile.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-record-type.mjs +199 -0
  16. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-record-type.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-restriction.mjs +189 -0
  18. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-health-restriction.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-injury-type.mjs +169 -0
  20. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-injury-type.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-vaccination-type.mjs +169 -0
  22. package/fesm2022/acorex-platform-module-health-core-client-contracts-entities-vaccination-type.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs +128 -0
  24. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-blood-type.entity-Ctb-5t-D.mjs +123 -0
  26. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-blood-type.entity-Ctb-5t-D.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-body-part.entity-DVSkMY6m.mjs +70 -0
  28. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-body-part.entity-DVSkMY6m.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-disability-status.entity-CJEwjeD6.mjs +123 -0
  30. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-disability-status.entity-CJEwjeD6.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-condition-type.entity-nMvpgBZN.mjs +143 -0
  32. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-condition-type.entity-nMvpgBZN.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-condition.entity-WsD5JyJg.mjs +272 -0
  34. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-condition.entity-WsD5JyJg.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-event.entity-CqqtU3qo.mjs +280 -0
  36. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-event.entity-CqqtU3qo.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-profile.entity-qqN4ZIIb.mjs +284 -0
  38. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-profile.entity-qqN4ZIIb.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-record-type.entity-Dgq6FTVR.mjs +100 -0
  40. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-record-type.entity-Dgq6FTVR.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-restriction.entity-CE1oWLLW.mjs +90 -0
  42. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-restriction.entity-CE1oWLLW.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-subject-form-layout.utils-BOm1lGPF.mjs +84 -0
  44. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-health-subject-form-layout.utils-BOm1lGPF.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-injury-type.entity-tYDRX6YY.mjs +70 -0
  46. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-injury-type.entity-tYDRX6YY.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-vaccination-type.entity-Cj0alpZ1.mjs +70 -0
  48. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog-vaccination-type.entity-Cj0alpZ1.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog.mjs +2 -0
  50. package/fesm2022/acorex-platform-module-health-core-client-contracts-entity-catalog.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-health-core-client-contracts.mjs.map +1 -1
  52. package/fesm2022/acorex-platform-module-health-core-client-list-alcohol-consumption-options.query-CFQk6mlY.mjs.map +1 -1
  53. package/fesm2022/acorex-platform-module-health-core-client-list-allergy-severity-options.query-BmdEP1TK.mjs.map +1 -1
  54. package/fesm2022/acorex-platform-module-health-core-client-list-chronic-condition-status-options.query-QgsQCqLm.mjs.map +1 -1
  55. package/fesm2022/acorex-platform-module-health-core-client-list-health-risk-level-options.query-BtJdBZVT.mjs.map +1 -1
  56. package/fesm2022/acorex-platform-module-health-core-client-list-injury-mechanism-options.query-D7Tjl7eC.mjs.map +1 -1
  57. package/fesm2022/acorex-platform-module-health-core-client-list-pain-rate-options.query-C9sGCRmk.mjs.map +1 -1
  58. package/fesm2022/acorex-platform-module-health-core-client-list-smoking-status-options.query-EUVhlNLW.mjs.map +1 -1
  59. package/fesm2022/acorex-platform-module-health-core-client-list-work-capacity-options.query-YQ6BW3kG.mjs.map +1 -1
  60. package/fesm2022/acorex-platform-module-health-core-client-local-entities.mjs +39 -0
  61. package/fesm2022/acorex-platform-module-health-core-client-local-entities.mjs.map +1 -0
  62. package/fesm2022/acorex-platform-module-health-core-client-start-health-record-flow.command-BsB-MPmu.mjs.map +1 -1
  63. package/fesm2022/acorex-platform-module-health-core-client.mjs.map +1 -1
  64. package/package.json +54 -2
  65. package/types/acorex-platform-module-health-core-client-contracts-entities-blood-type.d.ts +5 -0
  66. package/types/acorex-platform-module-health-core-client-contracts-entities-body-part.d.ts +5 -0
  67. package/types/acorex-platform-module-health-core-client-contracts-entities-disability-status.d.ts +5 -0
  68. package/types/acorex-platform-module-health-core-client-contracts-entities-health-condition-type.d.ts +5 -0
  69. package/types/acorex-platform-module-health-core-client-contracts-entities-health-condition.d.ts +5 -0
  70. package/types/acorex-platform-module-health-core-client-contracts-entities-health-event.d.ts +5 -0
  71. package/types/acorex-platform-module-health-core-client-contracts-entities-health-profile.d.ts +5 -0
  72. package/types/acorex-platform-module-health-core-client-contracts-entities-health-record-type.d.ts +5 -0
  73. package/types/acorex-platform-module-health-core-client-contracts-entities-health-restriction.d.ts +5 -0
  74. package/types/acorex-platform-module-health-core-client-contracts-entities-injury-type.d.ts +5 -0
  75. package/types/acorex-platform-module-health-core-client-contracts-entities-vaccination-type.d.ts +5 -0
  76. package/types/acorex-platform-module-health-core-client-contracts-entity-catalog.d.ts +10 -0
  77. package/types/acorex-platform-module-health-core-client-contracts.d.ts +2 -1
  78. package/types/acorex-platform-module-health-core-client-local-entities.d.ts +12 -0
@@ -0,0 +1,222 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'health-core',
6
+ module: 'HealthCore',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ name: config.module,
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-heart-pulse',
14
+ },
15
+ entities: {
16
+ bloodType: {
17
+ name: 'BloodType',
18
+ title: `@${config.i18n}:blood-types.entities.blood-type.title`,
19
+ titlePlural: `@${config.i18n}:blood-types.entities.blood-type.plural`,
20
+ icon: 'fa-light fa-droplet',
21
+ },
22
+ bodyPart: {
23
+ name: 'BodyPart',
24
+ title: `@${config.i18n}:body-parts.entities.body-part.title`,
25
+ titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,
26
+ icon: 'fa-light fa-person',
27
+ },
28
+ disabilityStatus: {
29
+ name: 'DisabilityStatus',
30
+ title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,
31
+ titlePlural: `@${config.i18n}:disability-statuses.entities.disability-status.plural`,
32
+ icon: 'fa-light fa-wheelchair',
33
+ },
34
+ injuryType: {
35
+ name: 'InjuryType',
36
+ title: `@${config.i18n}:injury-types.entities.injury-type.title`,
37
+ titlePlural: `@${config.i18n}:injury-types.entities.injury-type.plural`,
38
+ icon: 'fa-light fa-bandage',
39
+ },
40
+ vaccinationType: {
41
+ name: 'VaccinationType',
42
+ title: `@${config.i18n}:vaccination-types.entities.vaccination-type.title`,
43
+ titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,
44
+ icon: 'fa-light fa-syringe',
45
+ },
46
+ healthConditionType: {
47
+ name: 'HealthConditionType',
48
+ title: `@${config.i18n}:health-condition-types.entities.health-condition-type.title`,
49
+ titlePlural: `@${config.i18n}:health-condition-types.entities.health-condition-type.plural`,
50
+ icon: 'fa-light fa-file-medical',
51
+ },
52
+ healthRestriction: {
53
+ name: 'HealthRestriction',
54
+ title: `@${config.i18n}:health-restrictions.entities.health-restriction.title`,
55
+ titlePlural: `@${config.i18n}:health-restrictions.entities.health-restriction.plural`,
56
+ icon: 'fa-light fa-ban',
57
+ },
58
+ healthRecordType: {
59
+ name: 'HealthRecordType',
60
+ title: `@${config.i18n}:health-record-types.entities.health-record-type.title`,
61
+ titlePlural: `@${config.i18n}:health-record-types.entities.health-record-type.plural`,
62
+ icon: 'fa-light fa-notes-medical',
63
+ },
64
+ healthEvent: {
65
+ name: 'HealthEvent',
66
+ title: `@${config.i18n}:health-events.entities.health-event.title`,
67
+ titlePlural: `@${config.i18n}:health-events.entities.health-event.plural`,
68
+ icon: 'fa-light fa-file-medical',
69
+ },
70
+ healthProfile: {
71
+ name: 'HealthProfile',
72
+ title: `@${config.i18n}:health-profiles.entities.health-profile.title`,
73
+ titlePlural: `@${config.i18n}:health-profiles.entities.health-profile.plural`,
74
+ icon: 'fa-light fa-heart-pulse',
75
+ },
76
+ healthCondition: {
77
+ name: 'HealthCondition',
78
+ title: `@${config.i18n}:health-conditions.entities.health-condition.title`,
79
+ titlePlural: `@${config.i18n}:health-conditions.entities.health-condition.plural`,
80
+ icon: 'fa-light fa-file-medical',
81
+ },
82
+ },
83
+ queries: {
84
+ reports: {
85
+ getHealthEventsByType: `${config.module}:Reports:GetHealthEventsByType`,
86
+ getWorkplaceInjuries: `${config.module}:Reports:GetWorkplaceInjuries`,
87
+ getActiveWorkRestrictions: `${config.module}:Reports:GetActiveWorkRestrictions`,
88
+ getFitnessForWorkStatus: `${config.module}:Reports:GetFitnessForWorkStatus`,
89
+ getVaccinationCoverage: `${config.module}:Reports:GetVaccinationCoverage`,
90
+ getHealthRiskDistribution: `${config.module}:Reports:GetHealthRiskDistribution`,
91
+ getIncompleteHealthProfiles: `${config.module}:Reports:GetIncompleteHealthProfiles`,
92
+ getIncompleteHealthProfileEmployees: `${config.module}:Reports:GetIncompleteHealthProfileEmployees`,
93
+ },
94
+ dashboard: {
95
+ healthEventsTrendLine: `${config.module}:Dashboard:HealthEventsTrendLine`,
96
+ },
97
+ },
98
+ };
99
+
100
+ //#endregion
101
+ //#region ---- Entity Factory ----
102
+ async function bloodTypeFactory() {
103
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
104
+ const propertyLayouts = [
105
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
106
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
107
+ ];
108
+ const entityDef = {
109
+ module: RootConfig.module.name,
110
+ name: RootConfig.entities.bloodType.name,
111
+ title: RootConfig.entities.bloodType.title,
112
+ icon: RootConfig.entities.bloodType.icon,
113
+ formats: {
114
+ individual: RootConfig.entities.bloodType.title,
115
+ plural: RootConfig.entities.bloodType.titlePlural,
116
+ searchResult: {
117
+ title: '{{ title }}',
118
+ description: RootConfig.module.title,
119
+ },
120
+ },
121
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
122
+ groups: [
123
+ {
124
+ id: 'basic-info',
125
+ title: '@health-core:blood-types.entities.blood-type.groups.basic-info',
126
+ },
127
+ ],
128
+ properties: [
129
+ {
130
+ name: 'id',
131
+ title: '@general:terms.common.id',
132
+ groupId: 'basic-info',
133
+ schema: {
134
+ dataType: 'uuid',
135
+ visible: false,
136
+ readonly: true,
137
+ unique: { enabled: true },
138
+ },
139
+ },
140
+ {
141
+ name: 'title',
142
+ title: '@general:terms.common.title',
143
+ groupId: 'basic-info',
144
+ options: {
145
+ sort: { enabled: true },
146
+ filter: {
147
+ advance: { enabled: true },
148
+ inline: { enabled: true },
149
+ },
150
+ },
151
+ schema: {
152
+ dataType: 'string',
153
+ interface: {
154
+ type: AXPWidgetsList.Editors.TextBox,
155
+ options: {
156
+ placeholder: '@general:terms.common.title',
157
+ },
158
+ },
159
+ },
160
+ validations: [{ rule: 'required' }],
161
+ },
162
+ {
163
+ name: 'description',
164
+ title: '@general:terms.common.description',
165
+ groupId: 'basic-info',
166
+ options: {
167
+ sort: { enabled: false },
168
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
169
+ },
170
+ schema: {
171
+ dataType: 'string',
172
+ interface: {
173
+ type: AXPWidgetsList.Editors.LargeTextBox,
174
+ options: {
175
+ rows: 3,
176
+ placeholder: '@general:terms.common.description',
177
+ },
178
+ },
179
+ },
180
+ },
181
+ ],
182
+ columns: [
183
+ { name: 'title', options: { width: '220px', order: 1 } },
184
+ { name: 'description', options: { width: '280px', order: 2 } },
185
+ ],
186
+ interfaces: {
187
+ master: {
188
+ create: {
189
+ sections,
190
+ properties: propertyLayouts,
191
+ },
192
+ update: {
193
+ sections,
194
+ properties: propertyLayouts,
195
+ },
196
+ single: {
197
+ title: '{{ title }}',
198
+ sections,
199
+ properties: propertyLayouts,
200
+ actions: [...entityMasterRecordActions()],
201
+ },
202
+ list: {
203
+ actions: [...entityMasterCrudActions()],
204
+ views: [
205
+ createAllQueryView({
206
+ sorts: [{ name: 'title', dir: 'asc' }],
207
+ }),
208
+ ],
209
+ },
210
+ },
211
+ },
212
+ };
213
+ return entityDef;
214
+ }
215
+ //#endregion
216
+
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
+ */
220
+
221
+ export { bloodTypeFactory };
222
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entities-blood-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entities-blood-type.mjs","sources":["../../../../libs/modules/health-core/contracts/src/root-config.ts","../../../../libs/modules/health-core/contracts/src/entities/blood-type/blood-type.entity.ts","../../../../libs/modules/health-core/contracts/src/acorex-platform-module-health-core-client-contracts-entities-blood-type.ts"],"sourcesContent":["const config = {\n i18n: 'health-core',\n module: 'HealthCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-heart-pulse',\n },\n entities: {\n bloodType: {\n name: 'BloodType',\n title: `@${config.i18n}:blood-types.entities.blood-type.title`,\n titlePlural: `@${config.i18n}:blood-types.entities.blood-type.plural`,\n icon: 'fa-light fa-droplet',\n },\n bodyPart: {\n name: 'BodyPart',\n title: `@${config.i18n}:body-parts.entities.body-part.title`,\n titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,\n icon: 'fa-light fa-person',\n },\n disabilityStatus: {\n name: 'DisabilityStatus',\n title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,\n titlePlural: `@${config.i18n}:disability-statuses.entities.disability-status.plural`,\n icon: 'fa-light fa-wheelchair',\n },\n injuryType: {\n name: 'InjuryType',\n title: `@${config.i18n}:injury-types.entities.injury-type.title`,\n titlePlural: `@${config.i18n}:injury-types.entities.injury-type.plural`,\n icon: 'fa-light fa-bandage',\n },\n vaccinationType: {\n name: 'VaccinationType',\n title: `@${config.i18n}:vaccination-types.entities.vaccination-type.title`,\n titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,\n icon: 'fa-light fa-syringe',\n },\n healthConditionType: {\n name: 'HealthConditionType',\n title: `@${config.i18n}:health-condition-types.entities.health-condition-type.title`,\n titlePlural: `@${config.i18n}:health-condition-types.entities.health-condition-type.plural`,\n icon: 'fa-light fa-file-medical',\n },\n healthRestriction: {\n name: 'HealthRestriction',\n title: `@${config.i18n}:health-restrictions.entities.health-restriction.title`,\n titlePlural: `@${config.i18n}:health-restrictions.entities.health-restriction.plural`,\n icon: 'fa-light fa-ban',\n },\n healthRecordType: {\n name: 'HealthRecordType',\n title: `@${config.i18n}:health-record-types.entities.health-record-type.title`,\n titlePlural: `@${config.i18n}:health-record-types.entities.health-record-type.plural`,\n icon: 'fa-light fa-notes-medical',\n },\n healthEvent: {\n name: 'HealthEvent',\n title: `@${config.i18n}:health-events.entities.health-event.title`,\n titlePlural: `@${config.i18n}:health-events.entities.health-event.plural`,\n icon: 'fa-light fa-file-medical',\n },\n healthProfile: {\n name: 'HealthProfile',\n title: `@${config.i18n}:health-profiles.entities.health-profile.title`,\n titlePlural: `@${config.i18n}:health-profiles.entities.health-profile.plural`,\n icon: 'fa-light fa-heart-pulse',\n },\n healthCondition: {\n name: 'HealthCondition',\n title: `@${config.i18n}:health-conditions.entities.health-condition.title`,\n titlePlural: `@${config.i18n}:health-conditions.entities.health-condition.plural`,\n icon: 'fa-light fa-file-medical',\n },\n },\n queries: {\n reports: {\n getHealthEventsByType: `${config.module}:Reports:GetHealthEventsByType`,\n getWorkplaceInjuries: `${config.module}:Reports:GetWorkplaceInjuries`,\n getActiveWorkRestrictions: `${config.module}:Reports:GetActiveWorkRestrictions`,\n getFitnessForWorkStatus: `${config.module}:Reports:GetFitnessForWorkStatus`,\n getVaccinationCoverage: `${config.module}:Reports:GetVaccinationCoverage`,\n getHealthRiskDistribution: `${config.module}:Reports:GetHealthRiskDistribution`,\n getIncompleteHealthProfiles: `${config.module}:Reports:GetIncompleteHealthProfiles`,\n getIncompleteHealthProfileEmployees: `${config.module}:Reports:GetIncompleteHealthProfileEmployees`,\n },\n dashboard: {\n healthEventsTrendLine: `${config.module}:Dashboard:HealthEventsTrendLine`,\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function bloodTypeFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.bloodType.name,\n title: RootConfig.entities.bloodType.title,\n icon: RootConfig.entities.bloodType.icon,\n formats: {\n individual: RootConfig.entities.bloodType.title,\n plural: RootConfig.entities.bloodType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@health-core:blood-types.entities.blood-type.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.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: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@general:terms.common.title',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@general:terms.common.description',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.blood-type';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,yBAAyB;AAChC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,sCAAA,CAAwC;AAC9D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,uCAAA,CAAyC;AACrE,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAC5D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qCAAA,CAAuC;AACnE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACD,QAAA,gBAAgB,EAAE;AAChB,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qDAAA,CAAuD;AAC7E,YAAA,WAAW,EAAE,CAAA,CA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a,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AAC/D,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC3B,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;AC9HA;;AAEG;;"}
@@ -0,0 +1,169 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'health-core',
6
+ module: 'HealthCore',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ name: config.module,
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-heart-pulse',
14
+ },
15
+ entities: {
16
+ bloodType: {
17
+ name: 'BloodType',
18
+ title: `@${config.i18n}:blood-types.entities.blood-type.title`,
19
+ titlePlural: `@${config.i18n}:blood-types.entities.blood-type.plural`,
20
+ icon: 'fa-light fa-droplet',
21
+ },
22
+ bodyPart: {
23
+ name: 'BodyPart',
24
+ title: `@${config.i18n}:body-parts.entities.body-part.title`,
25
+ titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,
26
+ icon: 'fa-light fa-person',
27
+ },
28
+ disabilityStatus: {
29
+ name: 'DisabilityStatus',
30
+ title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,
31
+ titlePlural: `@${config.i18n}:disability-statuses.entities.disability-status.plural`,
32
+ icon: 'fa-light fa-wheelchair',
33
+ },
34
+ injuryType: {
35
+ name: 'InjuryType',
36
+ title: `@${config.i18n}:injury-types.entities.injury-type.title`,
37
+ titlePlural: `@${config.i18n}:injury-types.entities.injury-type.plural`,
38
+ icon: 'fa-light fa-bandage',
39
+ },
40
+ vaccinationType: {
41
+ name: 'VaccinationType',
42
+ title: `@${config.i18n}:vaccination-types.entities.vaccination-type.title`,
43
+ titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,
44
+ icon: 'fa-light fa-syringe',
45
+ },
46
+ healthConditionType: {
47
+ name: 'HealthConditionType',
48
+ title: `@${config.i18n}:health-condition-types.entities.health-condition-type.title`,
49
+ titlePlural: `@${config.i18n}:health-condition-types.entities.health-condition-type.plural`,
50
+ icon: 'fa-light fa-file-medical',
51
+ },
52
+ healthRestriction: {
53
+ name: 'HealthRestriction',
54
+ title: `@${config.i18n}:health-restrictions.entities.health-restriction.title`,
55
+ titlePlural: `@${config.i18n}:health-restrictions.entities.health-restriction.plural`,
56
+ icon: 'fa-light fa-ban',
57
+ },
58
+ healthRecordType: {
59
+ name: 'HealthRecordType',
60
+ title: `@${config.i18n}:health-record-types.entities.health-record-type.title`,
61
+ titlePlural: `@${config.i18n}:health-record-types.entities.health-record-type.plural`,
62
+ icon: 'fa-light fa-notes-medical',
63
+ },
64
+ healthEvent: {
65
+ name: 'HealthEvent',
66
+ title: `@${config.i18n}:health-events.entities.health-event.title`,
67
+ titlePlural: `@${config.i18n}:health-events.entities.health-event.plural`,
68
+ icon: 'fa-light fa-file-medical',
69
+ },
70
+ healthProfile: {
71
+ name: 'HealthProfile',
72
+ title: `@${config.i18n}:health-profiles.entities.health-profile.title`,
73
+ titlePlural: `@${config.i18n}:health-profiles.entities.health-profile.plural`,
74
+ icon: 'fa-light fa-heart-pulse',
75
+ },
76
+ healthCondition: {
77
+ name: 'HealthCondition',
78
+ title: `@${config.i18n}:health-conditions.entities.health-condition.title`,
79
+ titlePlural: `@${config.i18n}:health-conditions.entities.health-condition.plural`,
80
+ icon: 'fa-light fa-file-medical',
81
+ },
82
+ },
83
+ queries: {
84
+ reports: {
85
+ getHealthEventsByType: `${config.module}:Reports:GetHealthEventsByType`,
86
+ getWorkplaceInjuries: `${config.module}:Reports:GetWorkplaceInjuries`,
87
+ getActiveWorkRestrictions: `${config.module}:Reports:GetActiveWorkRestrictions`,
88
+ getFitnessForWorkStatus: `${config.module}:Reports:GetFitnessForWorkStatus`,
89
+ getVaccinationCoverage: `${config.module}:Reports:GetVaccinationCoverage`,
90
+ getHealthRiskDistribution: `${config.module}:Reports:GetHealthRiskDistribution`,
91
+ getIncompleteHealthProfiles: `${config.module}:Reports:GetIncompleteHealthProfiles`,
92
+ getIncompleteHealthProfileEmployees: `${config.module}:Reports:GetIncompleteHealthProfileEmployees`,
93
+ },
94
+ dashboard: {
95
+ healthEventsTrendLine: `${config.module}:Dashboard:HealthEventsTrendLine`,
96
+ },
97
+ },
98
+ };
99
+
100
+ //#endregion
101
+ //#region ---- Entity Factory ----
102
+ async function bodyPartFactory() {
103
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
104
+ const propertyLayouts = [
105
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
106
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
107
+ ];
108
+ const entityDef = {
109
+ module: RootConfig.module.name,
110
+ name: RootConfig.entities.bodyPart.name,
111
+ title: RootConfig.entities.bodyPart.title,
112
+ icon: RootConfig.entities.bodyPart.icon,
113
+ formats: {
114
+ individual: RootConfig.entities.bodyPart.title,
115
+ plural: RootConfig.entities.bodyPart.titlePlural,
116
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
117
+ },
118
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
119
+ groups: [{ id: 'basic-info', title: '@health-core:body-parts.entities.body-part.groups.basic-info' }],
120
+ properties: [
121
+ { name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
122
+ {
123
+ name: 'title',
124
+ title: '@general:terms.common.title',
125
+ groupId: 'basic-info',
126
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
127
+ schema: {
128
+ dataType: 'string',
129
+ interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
130
+ },
131
+ validations: [{ rule: 'required' }],
132
+ },
133
+ {
134
+ name: 'description',
135
+ title: '@general:terms.common.description',
136
+ groupId: 'basic-info',
137
+ options: {
138
+ sort: { enabled: false },
139
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
140
+ },
141
+ schema: {
142
+ dataType: 'string',
143
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
144
+ },
145
+ },
146
+ ],
147
+ columns: [
148
+ { name: 'title', options: { width: '220px', order: 1 } },
149
+ { name: 'description', options: { width: '280px', order: 2 } },
150
+ ],
151
+ interfaces: {
152
+ master: {
153
+ create: { sections, properties: propertyLayouts },
154
+ update: { sections, properties: propertyLayouts },
155
+ single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
156
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
157
+ },
158
+ },
159
+ };
160
+ return entityDef;
161
+ }
162
+ //#endregion
163
+
164
+ /**
165
+ * Generated bundle index. Do not edit.
166
+ */
167
+
168
+ export { bodyPartFactory };
169
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entities-body-part.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entities-body-part.mjs","sources":["../../../../libs/modules/health-core/contracts/src/root-config.ts","../../../../libs/modules/health-core/contracts/src/entities/body-part/body-part.entity.ts","../../../../libs/modules/health-core/contracts/src/acorex-platform-module-health-core-client-contracts-entities-body-part.ts"],"sourcesContent":["const config = {\n i18n: 'health-core',\n module: 'HealthCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-heart-pulse',\n },\n entities: {\n bloodType: {\n name: 'BloodType',\n title: `@${config.i18n}:blood-types.entities.blood-type.title`,\n titlePlural: `@${config.i18n}:blood-types.entities.blood-type.plural`,\n icon: 'fa-light fa-droplet',\n },\n bodyPart: {\n name: 'BodyPart',\n title: `@${config.i18n}:body-parts.entities.body-part.title`,\n titlePlural: `@${config.i18n}:body-parts.entities.body-part.plural`,\n icon: 'fa-light fa-person',\n },\n disabilityStatus: {\n name: 'DisabilityStatus',\n title: `@${config.i18n}:disability-statuses.entities.disability-status.title`,\n titlePlural: `@${config.i18n}:disability-statuses.entities.disability-status.plural`,\n icon: 'fa-light fa-wheelchair',\n },\n injuryType: {\n name: 'InjuryType',\n title: `@${config.i18n}:injury-types.entities.injury-type.title`,\n titlePlural: `@${config.i18n}:injury-types.entities.injury-type.plural`,\n icon: 'fa-light fa-bandage',\n },\n vaccinationType: {\n name: 'VaccinationType',\n title: `@${config.i18n}:vaccination-types.entities.vaccination-type.title`,\n titlePlural: `@${config.i18n}:vaccination-types.entities.vaccination-type.plural`,\n icon: 'fa-light fa-syringe',\n },\n healthConditionType: {\n name: 'HealthConditionType',\n title: `@${config.i18n}:health-condition-types.entities.health-condition-type.title`,\n titlePlural: `@${config.i18n}:health-condition-types.entities.health-condition-type.plural`,\n icon: 'fa-light fa-file-medical',\n },\n healthRestriction: {\n name: 'HealthRestriction',\n title: `@${config.i18n}:health-restrictions.entities.health-restriction.title`,\n titlePlural: `@${config.i18n}:health-restrictions.entities.health-restriction.plural`,\n icon: 'fa-light fa-ban',\n },\n healthRecordType: {\n name: 'HealthRecordType',\n title: `@${config.i18n}:health-record-types.entities.health-record-type.title`,\n titlePlural: `@${config.i18n}:health-record-types.entities.health-record-type.plural`,\n icon: 'fa-light fa-notes-medical',\n },\n healthEvent: {\n name: 'HealthEvent',\n title: `@${config.i18n}:health-events.entities.health-event.title`,\n titlePlural: `@${config.i18n}:health-events.entities.health-event.plural`,\n icon: 'fa-light fa-file-medical',\n },\n healthProfile: {\n name: 'HealthProfile',\n title: `@${config.i18n}:health-profiles.entities.health-profile.title`,\n titlePlural: `@${config.i18n}:health-profiles.entities.health-profile.plural`,\n icon: 'fa-light fa-heart-pulse',\n },\n healthCondition: {\n name: 'HealthCondition',\n title: `@${config.i18n}:health-conditions.entities.health-condition.title`,\n titlePlural: `@${config.i18n}:health-conditions.entities.health-condition.plural`,\n icon: 'fa-light fa-file-medical',\n },\n },\n queries: {\n reports: {\n getHealthEventsByType: `${config.module}:Reports:GetHealthEventsByType`,\n getWorkplaceInjuries: `${config.module}:Reports:GetWorkplaceInjuries`,\n getActiveWorkRestrictions: `${config.module}:Reports:GetActiveWorkRestrictions`,\n getFitnessForWorkStatus: `${config.module}:Reports:GetFitnessForWorkStatus`,\n getVaccinationCoverage: `${config.module}:Reports:GetVaccinationCoverage`,\n getHealthRiskDistribution: `${config.module}:Reports:GetHealthRiskDistribution`,\n getIncompleteHealthProfiles: `${config.module}:Reports:GetIncompleteHealthProfiles`,\n getIncompleteHealthProfileEmployees: `${config.module}:Reports:GetIncompleteHealthProfileEmployees`,\n },\n dashboard: {\n healthEventsTrendLine: `${config.module}:Dashboard:HealthEventsTrendLine`,\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function bodyPartFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.bodyPart.name,\n title: RootConfig.entities.bodyPart.title,\n icon: RootConfig.entities.bodyPart.icon,\n formats: {\n individual: RootConfig.entities.bodyPart.title,\n plural: RootConfig.entities.bodyPart.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [{ id: 'basic-info', title: '@health-core:body-parts.entities.body-part.groups.basic-info' }],\n properties: [\n { name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.body-part';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,yBAAyB;AAChC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,sCAAA,CAAwC;AAC9D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,uCAAA,CAAyC;AACrE,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAC5D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qCAAA,CAAuC;AACnE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACD,QAAA,gBAAgB,EAAE;AAChB,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,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