@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,100 @@
1
+ import { AXPWidgetsList } 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-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs';
4
+
5
+ /** Health catalog scope for questionnaires, question bank items, and workflow definitions. */
6
+ const HEALTH_CATALOG_SCOPE = 'health-core.health';
7
+
8
+ //#region ---- Imports ----
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ async function healthRecordTypeFactory() {
12
+ const sections = [{ id: 'basic-info' }];
13
+ const propertyLayouts = [
14
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
15
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
16
+ ];
17
+ const entityDef = {
18
+ module: RootConfig.module.name,
19
+ name: RootConfig.entities.healthRecordType.name,
20
+ title: RootConfig.entities.healthRecordType.title,
21
+ icon: RootConfig.entities.healthRecordType.icon,
22
+ plugins: [
23
+ { name: 'meta-data-builder', options: { display: 'page' } },
24
+ { name: 'icon' },
25
+ { name: 'clone' },
26
+ { name: 'history' },
27
+ {
28
+ name: 'workflow-selector',
29
+ options: {
30
+ templateInputNames: ['questionnaireId', 'requireEmployeeSignature', 'requireManagerSignature'],
31
+ catalogScopeKeys: [HEALTH_CATALOG_SCOPE],
32
+ templateInputFilters: {
33
+ questionnaireId: {
34
+ catalogScopeKeys: [HEALTH_CATALOG_SCOPE],
35
+ },
36
+ },
37
+ },
38
+ },
39
+ ],
40
+ formats: {
41
+ individual: RootConfig.entities.healthRecordType.title,
42
+ plural: RootConfig.entities.healthRecordType.titlePlural,
43
+ searchResult: { title: '{{ title }}', description: '{{ description }}' },
44
+ },
45
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
46
+ properties: [
47
+ {
48
+ name: 'id',
49
+ title: '@general:terms.common.id',
50
+ schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
51
+ },
52
+ {
53
+ name: 'title',
54
+ title: '@general:terms.common.title',
55
+ groupId: 'basic-info',
56
+ schema: {
57
+ dataType: 'string',
58
+ interface: { type: AXPWidgetsList.Editors.TextBox },
59
+ },
60
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
61
+ validations: [{ rule: 'required' }],
62
+ },
63
+ {
64
+ name: 'description',
65
+ title: '@general:terms.common.description',
66
+ groupId: 'basic-info',
67
+ options: {
68
+ sort: { enabled: false },
69
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
70
+ },
71
+ schema: {
72
+ dataType: 'string',
73
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
74
+ },
75
+ },
76
+ ],
77
+ columns: [{ name: 'title' }, { name: 'description' }],
78
+ interfaces: {
79
+ master: {
80
+ create: { sections, properties: propertyLayouts },
81
+ update: { sections, properties: propertyLayouts },
82
+ single: {
83
+ title: '{{ title }}',
84
+ sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
85
+ properties: propertyLayouts,
86
+ actions: [...entityMasterRecordActions()],
87
+ },
88
+ list: {
89
+ actions: [...entityMasterCrudActions()],
90
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
91
+ },
92
+ },
93
+ },
94
+ };
95
+ return entityDef;
96
+ }
97
+ //#endregion
98
+
99
+ export { healthRecordTypeFactory };
100
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog-health-record-type.entity-Dgq6FTVR.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog-health-record-type.entity-Dgq6FTVR.mjs","sources":["../../../../libs/modules/health-core/contracts/src/catalog-scope.keys.ts","../../../../libs/modules/health-core/contracts/src/entities/health-record-type/health-record-type.entity.ts"],"sourcesContent":["/** Health catalog scope for questionnaires, question bank items, and workflow definitions. */\nexport const HEALTH_CATALOG_SCOPE = 'health-core.health';\n","//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\nimport { HEALTH_CATALOG_SCOPE } from '../../catalog-scope.keys';\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function healthRecordTypeFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info' }];\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.healthRecordType.name,\n title: RootConfig.entities.healthRecordType.title,\n icon: RootConfig.entities.healthRecordType.icon,\n plugins: [\n { name: 'meta-data-builder', options: { display: 'page' } },\n { name: 'icon' },\n { name: 'clone' },\n { name: 'history' },\n {\n name: 'workflow-selector',\n options: {\n templateInputNames: ['questionnaireId', 'requireEmployeeSignature', 'requireManagerSignature'],\n catalogScopeKeys: [HEALTH_CATALOG_SCOPE],\n templateInputFilters: {\n questionnaireId: {\n catalogScopeKeys: [HEALTH_CATALOG_SCOPE],\n },\n },\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.healthRecordType.title,\n plural: RootConfig.entities.healthRecordType.titlePlural,\n searchResult: { title: '{{ title }}', description: '{{ description }}' },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\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 } },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AACO,MAAM,oBAAoB,GAAG,oBAAoB;;ACDxD;AAQA;AAEA;AAEO,eAAe,uBAAuB,GAAA;IAC3C,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC;AACvC,IAAA,MAAM,eAAe,GAAG;AACtB,QAAA,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACjE,QAAA,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,O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AAO,CAAC,YAAY,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE;AAC/E,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;AACrD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AAC1F,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;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,90 @@
1
+ import { AXPWidgetsList } 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-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs';
4
+
5
+ //#region ---- Imports ----
6
+ //#endregion
7
+ //#region ---- Entity Factory ----
8
+ async function healthRestrictionFactory() {
9
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
10
+ const propertyLayouts = [
11
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
12
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
13
+ ];
14
+ const entityDef = {
15
+ module: RootConfig.module.name,
16
+ name: RootConfig.entities.healthRestriction.name,
17
+ title: RootConfig.entities.healthRestriction.title,
18
+ icon: RootConfig.entities.healthRestriction.icon,
19
+ formats: {
20
+ individual: RootConfig.entities.healthRestriction.title,
21
+ plural: RootConfig.entities.healthRestriction.titlePlural,
22
+ searchResult: { title: '{{ title }}', description: '{{ description }}' },
23
+ },
24
+ plugins: [
25
+ { name: 'history' },
26
+ { name: 'compare' },
27
+ { name: 'clone' },
28
+ { name: 'category', options: { appearance: { icon: true, color: true }, metaData: { enabled: true } } },
29
+ { name: 'meta-data-form', options: { path: 'categoryIds' } },
30
+ ],
31
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
32
+ properties: [
33
+ {
34
+ name: 'id',
35
+ title: '@general:terms.common.id',
36
+ groupId: 'basic-info',
37
+ schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },
38
+ },
39
+ {
40
+ name: 'title',
41
+ title: '@general:terms.common.title',
42
+ groupId: 'basic-info',
43
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
44
+ schema: {
45
+ dataType: 'string',
46
+ interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
47
+ },
48
+ validations: [{ rule: 'required' }],
49
+ },
50
+ {
51
+ name: 'description',
52
+ title: '@general:terms.common.description',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: false },
56
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
57
+ },
58
+ schema: {
59
+ dataType: 'string',
60
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } },
61
+ },
62
+ },
63
+ ],
64
+ columns: [
65
+ { name: 'title', options: { width: '260px', order: 1 } },
66
+ { name: 'description', options: { width: '320px', order: 2 } },
67
+ ],
68
+ interfaces: {
69
+ master: {
70
+ create: { sections, properties: propertyLayouts },
71
+ update: { sections, properties: propertyLayouts },
72
+ single: {
73
+ title: '{{ title }}',
74
+ sections,
75
+ properties: propertyLayouts,
76
+ actions: [...entityMasterRecordActions()],
77
+ },
78
+ list: {
79
+ actions: [...entityMasterCrudActions()],
80
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
81
+ },
82
+ },
83
+ },
84
+ };
85
+ return entityDef;
86
+ }
87
+ //#endregion
88
+
89
+ export { healthRestrictionFactory };
90
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog-health-restriction.entity-CE1oWLLW.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog-health-restriction.entity-CE1oWLLW.mjs","sources":["../../../../libs/modules/health-core/contracts/src/entities/health-restriction/health-restriction.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function healthRestrictionFactory(): 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\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.healthRestriction.name,\n title: RootConfig.entities.healthRestriction.title,\n icon: RootConfig.entities.healthRestriction.icon,\n formats: {\n individual: RootConfig.entities.healthRestriction.title,\n plural: RootConfig.entities.healthRestriction.titlePlural,\n searchResult: { title: '{{ title }}', description: '{{ description }}' },\n },\n plugins: [\n { name: 'history' },\n { name: 'compare' },\n { name: 'clone' },\n { name: 'category', options: { appearance: { icon: true, color: true }, metaData: { enabled: true } } },\n { name: 'meta-data-form', options: { path: 'categoryIds' } },\n ],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } },\n },\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 } },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '260px', order: 1 } },\n { name: 'description', options: { width: '320px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAOA;AAEA;AAEO,eAAe,wBAAwB,GAAA;IA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AAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,84 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+
3
+ //#region ---- Imports ----
4
+ //#endregion
5
+ //#region ---- Subject filter helpers ----
6
+ /** Person subject type for health records shared between My Profile and employee detail. */
7
+ const HEALTH_PERSON_SUBJECT_TYPE = 'PersonCore.Person';
8
+ /** Filters child health records by polymorphic subject on a parent entity detail context. */
9
+ function healthSubjectReferenceConditions(subjectType) {
10
+ return [
11
+ {
12
+ name: 'subject.type',
13
+ operator: { type: 'equal' },
14
+ value: subjectType,
15
+ },
16
+ {
17
+ name: 'subject.id',
18
+ operator: { type: 'equal' },
19
+ value: '{{context.eval("id")}}',
20
+ },
21
+ ];
22
+ }
23
+ /**
24
+ * Filters health records for an employee's linked person (`personId` on employee context).
25
+ * Use for all person-scoped health records on employee detail so data matches My Profile.
26
+ */
27
+ function healthPersonSubjectReferenceConditions(personIdExpression = '{{context.eval("personId")}}') {
28
+ return [
29
+ {
30
+ name: 'subject.type',
31
+ operator: { type: 'equal' },
32
+ value: HEALTH_PERSON_SUBJECT_TYPE,
33
+ },
34
+ {
35
+ name: 'subject.id',
36
+ operator: { type: 'equal' },
37
+ value: personIdExpression,
38
+ },
39
+ ];
40
+ }
41
+ //#endregion
42
+ //#region ---- Subject lookup property ----
43
+ /** Single polymorphic subject lookup (assessment-case `subjectRef.id` pattern). */
44
+ function createHealthSubjectLookupProperty(groupId, options = {}) {
45
+ const readonly = options.readonly ?? false;
46
+ return {
47
+ name: 'subject.id',
48
+ title: '@health-core:terms.subject.title',
49
+ groupId,
50
+ options: readonly
51
+ ? { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } }
52
+ : undefined,
53
+ schema: {
54
+ dataType: 'string',
55
+ readonly,
56
+ interface: {
57
+ type: AXPWidgetsList.Editors.LookupBox,
58
+ options: {
59
+ readonly,
60
+ entity: "{{ context.eval('subject.type') }}",
61
+ valueField: 'id',
62
+ expose: [
63
+ { source: 'id', target: 'subject.id' },
64
+ { source: 'title', target: 'subject.title' },
65
+ ],
66
+ },
67
+ },
68
+ },
69
+ validations: [{ rule: 'required' }],
70
+ };
71
+ }
72
+ //#endregion
73
+
74
+ //#region ---- Subject form layout helpers ----
75
+ /** Subject lookup field omitted from create/update when injected from parent context. */
76
+ const HEALTH_SUBJECT_PROPERTY_NAMES = ['subject.id'];
77
+ /** Omits subject lookup from master create/update layouts (subject is injected from context). */
78
+ function omitHealthSubjectFromEditLayouts(layouts) {
79
+ return layouts.filter((layout) => !HEALTH_SUBJECT_PROPERTY_NAMES.includes(layout.name));
80
+ }
81
+ //#endregion
82
+
83
+ export { createHealthSubjectLookupProperty as c, omitHealthSubjectFromEditLayouts as o };
84
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog-health-subject-form-layout.utils-BOm1lGPF.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog-health-subject-form-layout.utils-BOm1lGPF.mjs","sources":["../../../../libs/modules/health-core/contracts/src/health-subject.utils.ts","../../../../libs/modules/health-core/contracts/src/health-subject-form-layout.utils.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport type { AXPEntityProperty, AXPQueryFilter } from '@acorex-platform/framework-shared/entity';\n\n//#endregion\n\n//#region ---- Subject filter helpers ----\n\n/** Person subject type for health records shared between My Profile and employee detail. */\nexport const HEALTH_PERSON_SUBJECT_TYPE = 'PersonCore.Person';\n\n/** Filters child health records by polymorphic subject on a parent entity detail context. */\nexport function healthSubjectReferenceConditions(subjectType: string): AXPQueryFilter[] {\n return [\n {\n name: 'subject.type',\n operator: { type: 'equal' },\n value: subjectType,\n },\n {\n name: 'subject.id',\n operator: { type: 'equal' },\n value: '{{context.eval(\"id\")}}',\n },\n ];\n}\n\n/**\n * Filters health records for an employee's linked person (`personId` on employee context).\n * Use for all person-scoped health records on employee detail so data matches My Profile.\n */\nexport function healthPersonSubjectReferenceConditions(\n personIdExpression = '{{context.eval(\"personId\")}}',\n): AXPQueryFilter[] {\n return [\n {\n name: 'subject.type',\n operator: { type: 'equal' },\n value: HEALTH_PERSON_SUBJECT_TYPE,\n },\n {\n name: 'subject.id',\n operator: { type: 'equal' },\n value: personIdExpression,\n },\n ];\n}\n\n//#endregion\n\n//#region ---- Subject lookup property ----\n\n/** Single polymorphic subject lookup (assessment-case `subjectRef.id` pattern). */\nexport function createHealthSubjectLookupProperty(\n groupId: string,\n options: { readonly?: boolean } = {},\n): AXPEntityProperty {\n const readonly = options.readonly ?? false;\n\n return {\n name: 'subject.id',\n title: '@health-core:terms.subject.title',\n groupId,\n options: readonly\n ? { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } }\n : undefined,\n schema: {\n dataType: 'string',\n readonly,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n readonly,\n entity: \"{{ context.eval('subject.type') }}\",\n valueField: 'id',\n expose: [\n { source: 'id', target: 'subject.id' },\n { source: 'title', target: 'subject.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n };\n}\n\n//#endregion\n","//#region ---- Subject form layout helpers ----\n\n/** Subject lookup field omitted from create/update when injected from parent context. */\nexport const HEALTH_SUBJECT_PROPERTY_NAMES = ['subject.id'] as const;\n\ntype PropertyLayoutRef = { name: string; layout?: Record<string, unknown> };\n\n/** Omits subject lookup from master create/update layouts (subject is injected from context). */\nexport function omitHealthSubjectFromEditLayouts<T extends PropertyLayoutRef>(layouts: T[]): T[] {\n return layouts.filter(\n (layout) => !HEALTH_SUBJECT_PROPERTY_NAMES.includes(layout.name as (typeof HEALTH_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AE,OAAO,EAAE,KAAK,EAAE,EAAE;AACjG,cAAE,SAAS;AACb,QAAA,MAAM,EAAE;AACN,YAAA,QAAQ,EAAE,QAAQ;YAClB,QAAQ;AACR,YAAA,SAAS,EAAE;AACT,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,SAAS;AACtC,gBAAA,OAAO,EAAE;oBACP,QAAQ;AACR,oBAAA,MAAM,EAAE,oCAAoC;AAC5C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,MAAM,EAAE;AACN,wBAAA,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE;AACtC,wBAAA,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE;AAC7C,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;KACpC;AACH;AAEA;;ACvFA;AAEA;AACO,MAAM,6BAA6B,GAAG,CAAC,YAAY,CAAU;AAIpE;AACM,SAAU,gCAAgC,CAA8B,OAAY,EAAA;AACxF,IAAA,OAAO,OAAO,CAAC,MAAM,CACnB,CAAC,MAAM,KAAK,CAAC,6BAA6B,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAsD,CAAC,CACnH;AACH;AAEA;;"}
@@ -0,0 +1,70 @@
1
+ import { AXPWidgetsList } 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-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity Factory ----
7
+ async function injuryTypeFactory() {
8
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
9
+ const propertyLayouts = [
10
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
11
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
12
+ ];
13
+ const entityDef = {
14
+ module: RootConfig.module.name,
15
+ name: RootConfig.entities.injuryType.name,
16
+ title: RootConfig.entities.injuryType.title,
17
+ icon: RootConfig.entities.injuryType.icon,
18
+ formats: {
19
+ individual: RootConfig.entities.injuryType.title,
20
+ plural: RootConfig.entities.injuryType.titlePlural,
21
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
22
+ },
23
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
24
+ groups: [{ id: 'basic-info', title: '@health-core:injury-types.entities.injury-type.groups.basic-info' }],
25
+ properties: [
26
+ { name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
27
+ {
28
+ name: 'title',
29
+ title: '@general:terms.common.title',
30
+ groupId: 'basic-info',
31
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
32
+ schema: {
33
+ dataType: 'string',
34
+ interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
35
+ },
36
+ validations: [{ rule: 'required' }],
37
+ },
38
+ {
39
+ name: 'description',
40
+ title: '@general:terms.common.description',
41
+ groupId: 'basic-info',
42
+ options: {
43
+ sort: { enabled: false },
44
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
45
+ },
46
+ schema: {
47
+ dataType: 'string',
48
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
49
+ },
50
+ },
51
+ ],
52
+ columns: [
53
+ { name: 'title', options: { width: '220px', order: 1 } },
54
+ { name: 'description', options: { width: '280px', order: 2 } },
55
+ ],
56
+ interfaces: {
57
+ master: {
58
+ create: { sections, properties: propertyLayouts },
59
+ update: { sections, properties: propertyLayouts },
60
+ single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
61
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
62
+ },
63
+ },
64
+ };
65
+ return entityDef;
66
+ }
67
+ //#endregion
68
+
69
+ export { injuryTypeFactory };
70
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog-injury-type.entity-tYDRX6YY.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog-injury-type.entity-tYDRX6YY.mjs","sources":["../../../../libs/modules/health-core/contracts/src/entities/injury-type/injury-type.entity.ts"],"sourcesContent":["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 injuryTypeFactory(): 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.injuryType.name,\n title: RootConfig.entities.injuryType.title,\n icon: RootConfig.entities.injuryType.icon,\n formats: {\n individual: RootConfig.entities.injuryType.title,\n plural: RootConfig.entities.injuryType.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:injury-types.entities.injury-type.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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,iBAAiB,GAAA;IACrC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACvF,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAC3E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;KAClF;AACD,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QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,gBAAA,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC,EAAE;AAClH,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;AAC3H,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,70 @@
1
+ import { AXPWidgetsList } 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-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity Factory ----
7
+ async function vaccinationTypeFactory() {
8
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
9
+ const propertyLayouts = [
10
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
11
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
12
+ ];
13
+ const entityDef = {
14
+ module: RootConfig.module.name,
15
+ name: RootConfig.entities.vaccinationType.name,
16
+ title: RootConfig.entities.vaccinationType.title,
17
+ icon: RootConfig.entities.vaccinationType.icon,
18
+ formats: {
19
+ individual: RootConfig.entities.vaccinationType.title,
20
+ plural: RootConfig.entities.vaccinationType.titlePlural,
21
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
22
+ },
23
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
24
+ groups: [{ id: 'basic-info', title: '@health-core:vaccination-types.entities.vaccination-type.groups.basic-info' }],
25
+ properties: [
26
+ { name: 'id', title: '@general:terms.common.id', groupId: 'basic-info', schema: { dataType: 'uuid', visible: false, readonly: true, unique: { enabled: true } } },
27
+ {
28
+ name: 'title',
29
+ title: '@general:terms.common.title',
30
+ groupId: 'basic-info',
31
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
32
+ schema: {
33
+ dataType: 'string',
34
+ interface: { type: AXPWidgetsList.Editors.TextBox, options: { placeholder: '@general:terms.common.title' } },
35
+ },
36
+ validations: [{ rule: 'required' }],
37
+ },
38
+ {
39
+ name: 'description',
40
+ title: '@general:terms.common.description',
41
+ groupId: 'basic-info',
42
+ options: {
43
+ sort: { enabled: false },
44
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
45
+ },
46
+ schema: {
47
+ dataType: 'string',
48
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3, placeholder: '@general:terms.common.description' } },
49
+ },
50
+ },
51
+ ],
52
+ columns: [
53
+ { name: 'title', options: { width: '220px', order: 1 } },
54
+ { name: 'description', options: { width: '280px', order: 2 } },
55
+ ],
56
+ interfaces: {
57
+ master: {
58
+ create: { sections, properties: propertyLayouts },
59
+ update: { sections, properties: propertyLayouts },
60
+ single: { title: '{{ title }}', sections, properties: propertyLayouts, actions: [...entityMasterRecordActions()] },
61
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })] },
62
+ },
63
+ },
64
+ };
65
+ return entityDef;
66
+ }
67
+ //#endregion
68
+
69
+ export { vaccinationTypeFactory };
70
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog-vaccination-type.entity-Cj0alpZ1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog-vaccination-type.entity-Cj0alpZ1.mjs","sources":["../../../../libs/modules/health-core/contracts/src/entities/vaccination-type/vaccination-type.entity.ts"],"sourcesContent":["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 vaccinationTypeFactory(): 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.vaccinationType.name,\n title: RootConfig.entities.vaccinationType.title,\n icon: RootConfig.entities.vaccinationType.icon,\n formats: {\n individual: RootConfig.entities.vaccinationType.title,\n plural: RootConfig.entities.vaccinationType.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:vaccination-types.entities.vaccination-type.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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,sBAAsB,GAAA;IAC1C,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACvF,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAC3E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;KAClF;AACD,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI;AAC9C,QAAA,KAAK,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AAe,EAAE;AACjD,gBAAA,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC,EAAE;AAClH,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;AAC3H,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,2 @@
1
+ export { h as healthCoreLocalEntityCatalog } from './acorex-platform-module-health-core-client-contracts-entity-catalog-acorex-platform-module-health-core-client-contracts-entity-catalog-ChOQtTh6.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-health-core-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-health-core-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}