@acorex-platform/module-workplacesafety-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.
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-isnVDChu.mjs → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-isnVDChu.mjs.map → acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs +509 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs +297 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs +431 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs +416 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs +476 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs +482 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs +345 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs +1458 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs +1313 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs +295 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs +542 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs +470 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs +369 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs +299 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs +1358 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs +170 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs +372 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs +160 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs +294 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-ppe-rule.entity-BcsAnO9h.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs +279 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-register.entity-C9wGZ3hB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs +339 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard-risk.entity-AUr2GVLU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs +345 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs +208 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs +971 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section-dependency-BRGcQo7H.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs +356 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-section.entity-BPx-3rYX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs +211 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type-section.entity-_nG09ZpE.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs +158 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-type.entity-CIH7W9R7.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs +405 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs +333 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan.entity-CUDh_ZfQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs +232 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-template.entity-BxNUXvae.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs +162 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-section-type.entity-73MUyaIk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs +256 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-work-step-type.entity-Ujxum2GY.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CZFCMX6R.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CZFCMX6R.mjs.map → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs +117 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-BI9VkzNw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-yxxC7i6A.mjs.map → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs +43 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-C7IojUT9.mjs.map → acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -1
- package/package.json +70 -2
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-hierarchy-levels.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-control-measure.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-ppe-rule.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-register.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard-risk.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-hazard.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-ppe-item.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-section.d.ts +9 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type-section.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan-work-step.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-plan.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-safety-template.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-section-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entities-work-step-type.d.ts +5 -0
- package/types/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-workplacesafety-management-client-local-entities.d.ts +12 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs +0 -118
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.component-D7hofHR0.mjs.map +0 -1
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ---- GHS symbol options ----
|
|
6
|
+
/** Asset base path for GHS pictograms (served from demo app assets). */
|
|
7
|
+
const GHS_IMAGE_BASE = '/assets/workplacesafety-management/ghs';
|
|
8
|
+
const WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS = [
|
|
9
|
+
{
|
|
10
|
+
id: 'GHS01',
|
|
11
|
+
title: 'GHS01 — Exploding bomb',
|
|
12
|
+
description: 'Explosion, blast or projection hazard.',
|
|
13
|
+
imageUrl: `${GHS_IMAGE_BASE}/explos.gif`,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: 'GHS02',
|
|
17
|
+
title: 'GHS02 — Flame',
|
|
18
|
+
description: 'Flammable liquids, solids and gases; including self-reactive substances.',
|
|
19
|
+
imageUrl: `${GHS_IMAGE_BASE}/flamme.gif`,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: 'GHS03',
|
|
23
|
+
title: 'GHS03 — Flame over circle',
|
|
24
|
+
description: 'Oxidising liquids, solids and gases; may cause or intensify fire.',
|
|
25
|
+
imageUrl: `${GHS_IMAGE_BASE}/rondflam.gif`,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'GHS04',
|
|
29
|
+
title: 'GHS04 — Gas cylinder',
|
|
30
|
+
description: 'Gases under pressure.',
|
|
31
|
+
imageUrl: `${GHS_IMAGE_BASE}/bottle.gif`,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'GHS05',
|
|
35
|
+
title: 'GHS05 — Skull and crossbones',
|
|
36
|
+
description: 'Fatal or toxic if swallowed, inhaled or in contact with skin.',
|
|
37
|
+
imageUrl: `${GHS_IMAGE_BASE}/skull.gif`,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: 'GHS06',
|
|
41
|
+
title: 'GHS06 — Exclamation mark',
|
|
42
|
+
description: 'Low level toxicity; irritant or harmful to health.',
|
|
43
|
+
imageUrl: `${GHS_IMAGE_BASE}/exclam.gif`,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'GHS07',
|
|
47
|
+
title: 'GHS07 — Corrosion',
|
|
48
|
+
description: 'Corrosive chemicals; may cause severe skin and eye damage.',
|
|
49
|
+
imageUrl: `${GHS_IMAGE_BASE}/acid_red.gif`,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 'GHS08',
|
|
53
|
+
title: 'GHS08 — Health hazard',
|
|
54
|
+
description: 'Chronic health hazards; carcinogenicity, mutagenicity, reproductive toxicity.',
|
|
55
|
+
imageUrl: `${GHS_IMAGE_BASE}/silhouete.gif`,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'GHS09',
|
|
59
|
+
title: 'GHS09 — Environment',
|
|
60
|
+
description: 'Hazardous to aquatic life and the environment.',
|
|
61
|
+
imageUrl: `${GHS_IMAGE_BASE}/Aquatic-pollut-red.gif`,
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
//#endregion
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region ---- Constants ----
|
|
68
|
+
const listSortAndFilterOptions = {
|
|
69
|
+
sort: { enabled: true },
|
|
70
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region ---- Entity Factory ----
|
|
74
|
+
async function hazardEntityFactory() {
|
|
75
|
+
const entityDef = {
|
|
76
|
+
module: RootConfig.module.name,
|
|
77
|
+
name: RootConfig.entities.hazard.name,
|
|
78
|
+
title: RootConfig.entities.hazard.title,
|
|
79
|
+
icon: RootConfig.entities.hazard.icon,
|
|
80
|
+
formats: {
|
|
81
|
+
individual: RootConfig.entities.hazard.title,
|
|
82
|
+
plural: RootConfig.entities.hazard.titlePlural,
|
|
83
|
+
searchResult: {
|
|
84
|
+
title: '{{ title }}',
|
|
85
|
+
description: '{{ code }}',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
plugins: [
|
|
89
|
+
{ name: 'identifier', options: { field: 'code', rule: 'hazard-code' } },
|
|
90
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
91
|
+
{ name: 'archive' },
|
|
92
|
+
{ name: 'meta-data-builder', options: { display: 'page', order: 2 } },
|
|
93
|
+
{
|
|
94
|
+
name: 'category',
|
|
95
|
+
options: {
|
|
96
|
+
appearance: { icon: true, color: true },
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'documents',
|
|
101
|
+
options: {
|
|
102
|
+
documentTypeNames: ['SDS'],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
relatedEntities: [
|
|
107
|
+
{
|
|
108
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.hazardRisk.name}`,
|
|
109
|
+
title: RootConfig.entities.hazardRisk.titlePlural,
|
|
110
|
+
icon: RootConfig.entities.hazardRisk.icon,
|
|
111
|
+
conditions: [entityDetailsSimpleCondition('hazardId')],
|
|
112
|
+
excludeProperties: ['hazardId'],
|
|
113
|
+
columns: [
|
|
114
|
+
{ name: 'code' },
|
|
115
|
+
{ name: 'title' },
|
|
116
|
+
{ name: 'description' },
|
|
117
|
+
{ name: 'riskMatrixId' },
|
|
118
|
+
{ name: 'defaultInitialRiskRatingId' },
|
|
119
|
+
{ name: 'defaultResidualRiskRatingId' },
|
|
120
|
+
],
|
|
121
|
+
actions: [...entityDetailsCrudActions('hazardId')],
|
|
122
|
+
layout: { type: 'page-list', position: 'after', order: 11 },
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.hazardPpeRule.name}`,
|
|
126
|
+
title: RootConfig.entities.hazardPpeRule.titlePlural,
|
|
127
|
+
icon: RootConfig.entities.hazardPpeRule.icon,
|
|
128
|
+
conditions: [entityDetailsSimpleCondition('hazardId')],
|
|
129
|
+
excludeProperties: ['hazardId'],
|
|
130
|
+
columns: [
|
|
131
|
+
{ name: 'code' },
|
|
132
|
+
{ name: 'ppeItemId' },
|
|
133
|
+
{ name: 'requirementType' },
|
|
134
|
+
{ name: 'usageInstruction' },
|
|
135
|
+
{ name: 'sortOrder' },
|
|
136
|
+
],
|
|
137
|
+
actions: [...entityDetailsCrudActions('hazardId')],
|
|
138
|
+
layout: { type: 'page-list', position: 'after', order: 12 },
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
groups: [
|
|
142
|
+
{
|
|
143
|
+
id: 'basic-info',
|
|
144
|
+
title: '@workplacesafety-management:hazards.entities.hazard.groups.basic-info',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: 'assessment-compliance',
|
|
148
|
+
title: '@workplacesafety-management:hazards.entities.hazard.groups.assessment-compliance',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: 'chemical-compliance',
|
|
152
|
+
title: '@workplacesafety-management:hazards.entities.hazard.groups.chemical-compliance',
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
properties: [
|
|
156
|
+
{
|
|
157
|
+
name: 'id',
|
|
158
|
+
title: '@general:terms.common.id',
|
|
159
|
+
groupId: 'basic-info',
|
|
160
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'code',
|
|
164
|
+
title: '@workplacesafety-management:hazards.entities.hazard.fields.code.title',
|
|
165
|
+
groupId: 'basic-info',
|
|
166
|
+
options: listSortAndFilterOptions,
|
|
167
|
+
schema: {
|
|
168
|
+
dataType: 'string',
|
|
169
|
+
unique: { enabled: true },
|
|
170
|
+
interface: {
|
|
171
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
172
|
+
options: {
|
|
173
|
+
disabled: true,
|
|
174
|
+
placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.code.placeholder',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
validations: [{ rule: 'required' }],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'title',
|
|
182
|
+
title: '@workplacesafety-management:hazards.entities.hazard.fields.title.title',
|
|
183
|
+
groupId: 'basic-info',
|
|
184
|
+
options: listSortAndFilterOptions,
|
|
185
|
+
schema: {
|
|
186
|
+
dataType: 'string',
|
|
187
|
+
interface: {
|
|
188
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
189
|
+
options: {
|
|
190
|
+
placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.title.placeholder',
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
validations: [{ rule: 'required' }],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'description',
|
|
198
|
+
title: '@general:terms.common.description',
|
|
199
|
+
groupId: 'basic-info',
|
|
200
|
+
options: {
|
|
201
|
+
sort: { enabled: false },
|
|
202
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
203
|
+
},
|
|
204
|
+
schema: {
|
|
205
|
+
dataType: 'string',
|
|
206
|
+
interface: {
|
|
207
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
208
|
+
options: {
|
|
209
|
+
rows: 3,
|
|
210
|
+
placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.description.placeholder',
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: 'templateId',
|
|
217
|
+
title: '@workplacesafety-management:hazards.entities.hazard.fields.template-id.title',
|
|
218
|
+
groupId: 'assessment-compliance',
|
|
219
|
+
options: listSortAndFilterOptions,
|
|
220
|
+
schema: {
|
|
221
|
+
dataType: 'string',
|
|
222
|
+
nullable: true,
|
|
223
|
+
interface: {
|
|
224
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
225
|
+
options: {
|
|
226
|
+
look: 'drop-down',
|
|
227
|
+
entity: 'AssessmentManagement.Questionnaire',
|
|
228
|
+
textField: 'title',
|
|
229
|
+
valueField: 'id',
|
|
230
|
+
multiple: true,
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'safetyDataSheetAvailable',
|
|
237
|
+
title: '@workplacesafety-management:hazards.entities.hazard.fields.safety-data-sheet-available.title',
|
|
238
|
+
groupId: 'chemical-compliance',
|
|
239
|
+
options: {
|
|
240
|
+
sort: { enabled: true },
|
|
241
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
242
|
+
},
|
|
243
|
+
schema: {
|
|
244
|
+
dataType: 'boolean',
|
|
245
|
+
nullable: true,
|
|
246
|
+
interface: {
|
|
247
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'ghsIds',
|
|
253
|
+
title: '@workplacesafety-management:hazards.entities.hazard.fields.ghs-ids.title',
|
|
254
|
+
groupId: 'chemical-compliance',
|
|
255
|
+
options: {
|
|
256
|
+
sort: { enabled: false },
|
|
257
|
+
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
258
|
+
},
|
|
259
|
+
schema: {
|
|
260
|
+
dataType: 'array',
|
|
261
|
+
nullable: true,
|
|
262
|
+
interface: {
|
|
263
|
+
type: AXPWidgetsList.Editors.SelectionList,
|
|
264
|
+
options: {
|
|
265
|
+
multiple: true,
|
|
266
|
+
direction: { id: 'horizontal' },
|
|
267
|
+
imageMode: true,
|
|
268
|
+
showControl: true,
|
|
269
|
+
valueField: 'id',
|
|
270
|
+
textField: 'title',
|
|
271
|
+
imageField: 'imageUrl',
|
|
272
|
+
dataSource: [...WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
columns: [
|
|
279
|
+
{ name: 'code', options: { width: '140px', order: 1 } },
|
|
280
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
281
|
+
{ name: 'safetyDataSheetAvailable', options: { width: '160px', order: 3 } },
|
|
282
|
+
{ name: 'templateId', options: { dataPath: 'template.title', order: 4 } },
|
|
283
|
+
],
|
|
284
|
+
interfaces: {
|
|
285
|
+
master: {
|
|
286
|
+
create: {
|
|
287
|
+
sections: [
|
|
288
|
+
{ id: 'basic-info' },
|
|
289
|
+
{ id: 'chemical-compliance' },
|
|
290
|
+
{ id: 'assessment-compliance' },
|
|
291
|
+
],
|
|
292
|
+
properties: [
|
|
293
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
294
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
295
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
296
|
+
{ name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
297
|
+
{ name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
298
|
+
{ name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
299
|
+
],
|
|
300
|
+
},
|
|
301
|
+
update: {
|
|
302
|
+
sections: [
|
|
303
|
+
{ id: 'basic-info' },
|
|
304
|
+
{ id: 'chemical-compliance' },
|
|
305
|
+
{ id: 'assessment-compliance' },
|
|
306
|
+
],
|
|
307
|
+
properties: [
|
|
308
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
309
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
310
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
311
|
+
{ name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
312
|
+
{ name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
313
|
+
{ name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
single: {
|
|
317
|
+
title: '{{ title }}',
|
|
318
|
+
sections: [
|
|
319
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
320
|
+
{ id: 'assessment-compliance', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
321
|
+
{ id: 'chemical-compliance', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
322
|
+
],
|
|
323
|
+
properties: [
|
|
324
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
325
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
326
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
327
|
+
{ name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
328
|
+
{ name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
329
|
+
{ name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
330
|
+
],
|
|
331
|
+
actions: [...entityMasterRecordActions()],
|
|
332
|
+
},
|
|
333
|
+
list: {
|
|
334
|
+
actions: [...entityMasterCrudActions()],
|
|
335
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
};
|
|
340
|
+
return entityDef;
|
|
341
|
+
}
|
|
342
|
+
//#endregion
|
|
343
|
+
|
|
344
|
+
export { hazardEntityFactory };
|
|
345
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-hazard.entity-J6fveZKA.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/ghs-symbol-options.ts","../../../../libs/modules/workplacesafety-management/contracts/src/entities/hazard/hazard.entity.ts"],"sourcesContent":["//#region ---- GHS symbol options ----\n\n/** Asset base path for GHS pictograms (served from demo app assets). */\nconst GHS_IMAGE_BASE = '/assets/workplacesafety-management/ghs';\n\nexport const WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS = [\n {\n id: 'GHS01',\n title: 'GHS01 — Exploding bomb',\n description: 'Explosion, blast or projection hazard.',\n imageUrl: `${GHS_IMAGE_BASE}/explos.gif`,\n },\n {\n id: 'GHS02',\n title: 'GHS02 — Flame',\n description: 'Flammable liquids, solids and gases; including self-reactive substances.',\n imageUrl: `${GHS_IMAGE_BASE}/flamme.gif`,\n },\n {\n id: 'GHS03',\n title: 'GHS03 — Flame over circle',\n description: 'Oxidising liquids, solids and gases; may cause or intensify fire.',\n imageUrl: `${GHS_IMAGE_BASE}/rondflam.gif`,\n },\n {\n id: 'GHS04',\n title: 'GHS04 — Gas cylinder',\n description: 'Gases under pressure.',\n imageUrl: `${GHS_IMAGE_BASE}/bottle.gif`,\n },\n {\n id: 'GHS05',\n title: 'GHS05 — Skull and crossbones',\n description: 'Fatal or toxic if swallowed, inhaled or in contact with skin.',\n imageUrl: `${GHS_IMAGE_BASE}/skull.gif`,\n },\n {\n id: 'GHS06',\n title: 'GHS06 — Exclamation mark',\n description: 'Low level toxicity; irritant or harmful to health.',\n imageUrl: `${GHS_IMAGE_BASE}/exclam.gif`,\n },\n {\n id: 'GHS07',\n title: 'GHS07 — Corrosion',\n description: 'Corrosive chemicals; may cause severe skin and eye damage.',\n imageUrl: `${GHS_IMAGE_BASE}/acid_red.gif`,\n },\n {\n id: 'GHS08',\n title: 'GHS08 — Health hazard',\n description: 'Chronic health hazards; carcinogenicity, mutagenicity, reproductive toxicity.',\n imageUrl: `${GHS_IMAGE_BASE}/silhouete.gif`,\n },\n {\n id: 'GHS09',\n title: 'GHS09 — Environment',\n description: 'Hazardous to aquatic life and the environment.',\n imageUrl: `${GHS_IMAGE_BASE}/Aquatic-pollut-red.gif`,\n },\n] as const;\n\nexport type WorkplaceSafetyGhsSymbolId = (typeof WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS)[number]['id'];\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\nimport { WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS } from '../../ghs-symbol-options';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function hazardEntityFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.hazard.name,\n title: RootConfig.entities.hazard.title,\n icon: RootConfig.entities.hazard.icon,\n formats: {\n individual: RootConfig.entities.hazard.title,\n plural: RootConfig.entities.hazard.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'hazard-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { name: 'meta-data-builder', options: { display: 'page', order: 2 } },\n {\n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n },\n },\n {\n name: 'documents',\n options: {\n documentTypeNames: ['SDS'],\n },\n },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.hazardRisk.name}`,\n title: RootConfig.entities.hazardRisk.titlePlural,\n icon: RootConfig.entities.hazardRisk.icon,\n conditions: [entityDetailsSimpleCondition('hazardId')],\n excludeProperties: ['hazardId'],\n columns: [\n { name: 'code' },\n { name: 'title' },\n { name: 'description' },\n { name: 'riskMatrixId' },\n { name: 'defaultInitialRiskRatingId' },\n { name: 'defaultResidualRiskRatingId' },\n ],\n actions: [...entityDetailsCrudActions('hazardId')],\n layout: { type: 'page-list', position: 'after', order: 11 },\n }, \n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.hazardPpeRule.name}`,\n title: RootConfig.entities.hazardPpeRule.titlePlural,\n icon: RootConfig.entities.hazardPpeRule.icon,\n conditions: [entityDetailsSimpleCondition('hazardId')],\n excludeProperties: ['hazardId'],\n columns: [\n { name: 'code' },\n { name: 'ppeItemId' },\n { name: 'requirementType' },\n { name: 'usageInstruction'},\n { name: 'sortOrder' },\n ],\n actions: [...entityDetailsCrudActions('hazardId')],\n layout: { type: 'page-list', position: 'after', order: 12 },\n },\n\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.basic-info',\n },\n {\n id: 'assessment-compliance',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.assessment-compliance',\n },\n {\n id: 'chemical-compliance',\n title: '@workplacesafety-management:hazards.entities.hazard.groups.chemical-compliance',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.code.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n disabled: true,\n placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@workplacesafety-management:hazards.entities.hazard.fields.title.placeholder',\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: '@workplacesafety-management:hazards.entities.hazard.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'templateId',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.template-id.title',\n groupId: 'assessment-compliance',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'drop-down',\n entity: 'AssessmentManagement.Questionnaire',\n textField: 'title',\n valueField: 'id',\n multiple: true,\n },\n },\n },\n },\n {\n name: 'safetyDataSheetAvailable',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.safety-data-sheet-available.title',\n groupId: 'chemical-compliance',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'boolean',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n },\n },\n {\n name: 'ghsIds',\n title: '@workplacesafety-management:hazards.entities.hazard.fields.ghs-ids.title',\n groupId: 'chemical-compliance',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectionList,\n options: {\n multiple: true,\n direction: { id: 'horizontal' },\n imageMode: true,\n showControl: true,\n valueField: 'id',\n textField: 'title',\n imageField: 'imageUrl',\n dataSource: [...WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'safetyDataSheetAvailable', options: { width: '160px', order: 3 } },\n { name: 'templateId', options: { dataPath: 'template.title', order: 4 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info' },\n { id: 'chemical-compliance' },\n { id: 'assessment-compliance' },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info' },\n { id: 'chemical-compliance' },\n { id: 'assessment-compliance' },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'assessment-compliance', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'chemical-compliance', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'templateId', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'safetyDataSheetAvailable', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'ghsIds', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAEA;AACA,MAAM,cAAc,GAAG,wCAAwC;AAExD,MAAM,mCAAmC,GAAG;AACjD,IAAA;AACE,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,KAAK,EAAE,wBAAwB;AAC/B,QAAA,WAAW,EAAE,wCAAwC;QACrD,QAAQ,EAAE,CAAA,EAAG,cAAc,CAAA,WAAA,CAAa;AACzC,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,KAAK,EAAE,eAAe;AACtB,QAAA,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE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A;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,208 @@
|
|
|
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-workplacesafety-management-client-contracts-entity-catalog-acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-CeTmhod5.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Constants ----
|
|
7
|
+
const listSortAndFilterOptions = {
|
|
8
|
+
sort: { enabled: true },
|
|
9
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region ---- Entity factory ----
|
|
13
|
+
async function ppeItemEntityFactory() {
|
|
14
|
+
const entityDef = {
|
|
15
|
+
module: RootConfig.module.name,
|
|
16
|
+
name: RootConfig.entities.ppeItem.name,
|
|
17
|
+
title: RootConfig.entities.ppeItem.title,
|
|
18
|
+
icon: RootConfig.entities.ppeItem.icon,
|
|
19
|
+
formats: {
|
|
20
|
+
individual: RootConfig.entities.ppeItem.title,
|
|
21
|
+
plural: RootConfig.entities.ppeItem.titlePlural,
|
|
22
|
+
searchResult: {
|
|
23
|
+
title: '{{ title }}',
|
|
24
|
+
description: '{{ code }}',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
plugins: [
|
|
28
|
+
{ name: 'identifier', options: { field: 'code', rule: 'ppe-item-code' } },
|
|
29
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
30
|
+
{ name: 'archive' },
|
|
31
|
+
{
|
|
32
|
+
name: 'category',
|
|
33
|
+
options: {
|
|
34
|
+
appearance: { icon: true, color: true },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
groups: [
|
|
39
|
+
{
|
|
40
|
+
id: 'basic-info',
|
|
41
|
+
title: '@workplacesafety-management:ppe-items.entities.ppe-item.groups.basic-info',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 'appearance',
|
|
45
|
+
title: '@general:terms.interface.appearance',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
properties: [
|
|
49
|
+
{
|
|
50
|
+
name: 'id',
|
|
51
|
+
title: '@general:terms.common.id',
|
|
52
|
+
groupId: 'basic-info',
|
|
53
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'code',
|
|
57
|
+
title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.title',
|
|
58
|
+
groupId: 'basic-info',
|
|
59
|
+
options: listSortAndFilterOptions,
|
|
60
|
+
schema: {
|
|
61
|
+
dataType: 'string',
|
|
62
|
+
unique: { enabled: true },
|
|
63
|
+
interface: {
|
|
64
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
65
|
+
options: {
|
|
66
|
+
disabled: true,
|
|
67
|
+
placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.placeholder',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
validations: [{ rule: 'required' }],
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'title',
|
|
75
|
+
title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.title',
|
|
76
|
+
groupId: 'basic-info',
|
|
77
|
+
options: listSortAndFilterOptions,
|
|
78
|
+
schema: {
|
|
79
|
+
dataType: 'string',
|
|
80
|
+
interface: {
|
|
81
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
82
|
+
options: {
|
|
83
|
+
placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.placeholder',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
validations: [{ rule: 'required' }],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'serialNumber',
|
|
91
|
+
title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.title',
|
|
92
|
+
groupId: 'basic-info',
|
|
93
|
+
options: listSortAndFilterOptions,
|
|
94
|
+
schema: {
|
|
95
|
+
dataType: 'string',
|
|
96
|
+
nullable: true,
|
|
97
|
+
interface: {
|
|
98
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
99
|
+
options: {
|
|
100
|
+
placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.placeholder',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'description',
|
|
107
|
+
title: '@general:terms.common.description',
|
|
108
|
+
groupId: 'basic-info',
|
|
109
|
+
options: {
|
|
110
|
+
sort: { enabled: false },
|
|
111
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
112
|
+
},
|
|
113
|
+
schema: {
|
|
114
|
+
dataType: 'string',
|
|
115
|
+
nullable: true,
|
|
116
|
+
interface: {
|
|
117
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
118
|
+
options: {
|
|
119
|
+
rows: 3,
|
|
120
|
+
placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.description.placeholder',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'icon',
|
|
127
|
+
title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.icon.title',
|
|
128
|
+
groupId: 'appearance',
|
|
129
|
+
options: {
|
|
130
|
+
sort: { enabled: true },
|
|
131
|
+
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
132
|
+
},
|
|
133
|
+
schema: {
|
|
134
|
+
dataType: 'string',
|
|
135
|
+
nullable: true,
|
|
136
|
+
interface: {
|
|
137
|
+
type: AXPWidgetsList.Advanced.Image,
|
|
138
|
+
options: {
|
|
139
|
+
width: '100%',
|
|
140
|
+
aspectRatio: '1',
|
|
141
|
+
objectFit: 'contain',
|
|
142
|
+
borderRadius: '8px',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
columns: [
|
|
149
|
+
{ name: 'code', options: { width: '140px', order: 1 } },
|
|
150
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
151
|
+
{ name: 'serialNumber', options: { width: '140px', order: 3 } },
|
|
152
|
+
],
|
|
153
|
+
interfaces: {
|
|
154
|
+
master: {
|
|
155
|
+
create: {
|
|
156
|
+
sections: [
|
|
157
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
158
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
159
|
+
],
|
|
160
|
+
properties: [
|
|
161
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
162
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
163
|
+
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
164
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
165
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
update: {
|
|
169
|
+
sections: [
|
|
170
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
171
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
172
|
+
],
|
|
173
|
+
properties: [
|
|
174
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
175
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
176
|
+
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
177
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
178
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
single: {
|
|
182
|
+
title: '{{ title }}',
|
|
183
|
+
sections: [
|
|
184
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
185
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
186
|
+
],
|
|
187
|
+
properties: [
|
|
188
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
189
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
190
|
+
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
191
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
192
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
193
|
+
],
|
|
194
|
+
actions: [...entityMasterRecordActions()],
|
|
195
|
+
},
|
|
196
|
+
list: {
|
|
197
|
+
actions: [...entityMasterCrudActions()],
|
|
198
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
};
|
|
203
|
+
return entityDef;
|
|
204
|
+
}
|
|
205
|
+
//#endregion
|
|
206
|
+
|
|
207
|
+
export { ppeItemEntityFactory };
|
|
208
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-ppe-item.entity-3fQPlBBf.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/ppe-item/ppe-item.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 ---- Constants ----\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function ppeItemEntityFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.ppeItem.name,\n title: RootConfig.entities.ppeItem.title,\n icon: RootConfig.entities.ppeItem.icon,\n formats: {\n individual: RootConfig.entities.ppeItem.title,\n plural: RootConfig.entities.ppeItem.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'ppe-item-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { \n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n },\n }, \n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.groups.basic-info',\n },\n {\n id: 'appearance',\n title: '@general:terms.interface.appearance',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n disabled: true,\n placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'serialNumber',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.serial-number.placeholder',\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: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'icon',\n title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.icon.title',\n groupId: 'appearance',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n width: '100%',\n aspectRatio: '1',\n objectFit: 'contain',\n borderRadius: '8px',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'serialNumber', options: { width: '140px', order: 3 } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrud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