@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,372 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPEntityCommandScope, 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
|
+
//#region ---- Imports ----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ---- Constants ----
|
|
8
|
+
const CONTROL_HIERARCHY_LEVELS_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}`;
|
|
9
|
+
const HIERARCHY_DIAGRAM_PREVIEW_COMMAND = `${CONTROL_HIERARCHY_LEVELS_ENTITY}:Preview`;
|
|
10
|
+
const HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS = {
|
|
11
|
+
title: '{{ context.eval("title") }}',
|
|
12
|
+
itemIds: '{{ context.eval("itemIds") }}',
|
|
13
|
+
hierarchyDiagramViewType: '{{ context.eval("hierarchyDiagramViewType") ?? "horizontal" }}',
|
|
14
|
+
id: '{{ context.eval("id") }}',
|
|
15
|
+
};
|
|
16
|
+
const HIERARCHY_DIAGRAM_PREVIEW_ACTION = {
|
|
17
|
+
title: '@general:actions.preview.title',
|
|
18
|
+
command: {
|
|
19
|
+
name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,
|
|
20
|
+
options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,
|
|
21
|
+
},
|
|
22
|
+
priority: 'primary',
|
|
23
|
+
type: 'action',
|
|
24
|
+
icon: 'fa-light fa-eye',
|
|
25
|
+
scope: AXPEntityCommandScope.Individual,
|
|
26
|
+
disabled: '{{ !context.eval("itemIds") || context.eval("itemIds").length === 0 }}',
|
|
27
|
+
};
|
|
28
|
+
const HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS = {
|
|
29
|
+
text: '',
|
|
30
|
+
color: 'primary',
|
|
31
|
+
look: 'solid',
|
|
32
|
+
icon: 'fa-light fa-eye',
|
|
33
|
+
disabled: '{{ !context.eval("itemIds") || context.eval("itemIds").length === 0 }}',
|
|
34
|
+
command: {
|
|
35
|
+
name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,
|
|
36
|
+
options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const hierarchyLevelsViewTypeLayout = {
|
|
40
|
+
name: 'hierarchyDiagramViewType',
|
|
41
|
+
layout: { order: 1, positions: { lg: { colSpan: 12 } } },
|
|
42
|
+
};
|
|
43
|
+
const hierarchyLevelsFormPreviewLayouts = [
|
|
44
|
+
{
|
|
45
|
+
name: 'hierarchyDiagramViewType',
|
|
46
|
+
layout: { order: 1, positions: { lg: { colSpan: 11, colStart: 1 } } },
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'hierarchyDiagramPreview',
|
|
50
|
+
layout: {
|
|
51
|
+
order: 1,
|
|
52
|
+
label: { visible: false },
|
|
53
|
+
positions: { lg: { colSpan: 1, colStart: 12 } },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
];
|
|
57
|
+
const hierarchyLevelsItemIdsLayout = {
|
|
58
|
+
name: 'itemIds',
|
|
59
|
+
layout: { label: { visible: false }, order: 2, positions: { lg: { colSpan: 12 } } },
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ---- Constants (repeater) ----
|
|
63
|
+
const ITEM_IDS_REPEATER_CHILDREN = [
|
|
64
|
+
{
|
|
65
|
+
type: AXPWidgetsList.Layouts.GridLayout,
|
|
66
|
+
mode: 'edit',
|
|
67
|
+
name: 'itemRow',
|
|
68
|
+
options: {
|
|
69
|
+
grid: {
|
|
70
|
+
default: {
|
|
71
|
+
columns: 12,
|
|
72
|
+
gap: '1rem',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
children: [
|
|
77
|
+
{
|
|
78
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
79
|
+
mode: 'edit',
|
|
80
|
+
options: { colSpan: 3 },
|
|
81
|
+
children: [
|
|
82
|
+
{
|
|
83
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
84
|
+
mode: 'edit',
|
|
85
|
+
options: {
|
|
86
|
+
label: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',
|
|
87
|
+
showLabel: true,
|
|
88
|
+
},
|
|
89
|
+
children: [
|
|
90
|
+
{
|
|
91
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
92
|
+
mode: 'edit',
|
|
93
|
+
path: 'title',
|
|
94
|
+
name: 'title',
|
|
95
|
+
options: {
|
|
96
|
+
multiLanguage: true,
|
|
97
|
+
placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
106
|
+
mode: 'edit',
|
|
107
|
+
options: { colSpan: 5 },
|
|
108
|
+
children: [
|
|
109
|
+
{
|
|
110
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
111
|
+
mode: 'edit',
|
|
112
|
+
options: {
|
|
113
|
+
label: '@general:terms.common.description',
|
|
114
|
+
showLabel: true,
|
|
115
|
+
},
|
|
116
|
+
children: [
|
|
117
|
+
{
|
|
118
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
119
|
+
mode: 'edit',
|
|
120
|
+
path: 'description',
|
|
121
|
+
name: 'description',
|
|
122
|
+
options: {
|
|
123
|
+
rows: 2,
|
|
124
|
+
multiLanguage: true,
|
|
125
|
+
placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
134
|
+
mode: 'edit',
|
|
135
|
+
options: { colSpan: 4 },
|
|
136
|
+
children: [
|
|
137
|
+
{
|
|
138
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
139
|
+
mode: 'edit',
|
|
140
|
+
options: {
|
|
141
|
+
label: '@general:terms.common.color',
|
|
142
|
+
showLabel: true,
|
|
143
|
+
},
|
|
144
|
+
children: [
|
|
145
|
+
{
|
|
146
|
+
type: AXPWidgetsList.Editors.ColorPalette,
|
|
147
|
+
mode: 'edit',
|
|
148
|
+
path: 'color',
|
|
149
|
+
name: 'color',
|
|
150
|
+
options: {},
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
];
|
|
159
|
+
const listSortAndFilterOptions = {
|
|
160
|
+
sort: { enabled: true },
|
|
161
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
162
|
+
};
|
|
163
|
+
const HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS = [
|
|
164
|
+
{
|
|
165
|
+
id: 'horizontal',
|
|
166
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: 'vertical',
|
|
170
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
id: 'horizontal-chevron',
|
|
174
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',
|
|
175
|
+
},
|
|
176
|
+
];
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region ---- Entity factory ----
|
|
179
|
+
async function controlHierarchyLevelsEntityFactory() {
|
|
180
|
+
const entityDef = {
|
|
181
|
+
module: RootConfig.module.name,
|
|
182
|
+
name: RootConfig.entities.controlHierarchyLevels.name,
|
|
183
|
+
title: RootConfig.entities.controlHierarchyLevels.title,
|
|
184
|
+
icon: RootConfig.entities.controlHierarchyLevels.icon,
|
|
185
|
+
formats: {
|
|
186
|
+
individual: RootConfig.entities.controlHierarchyLevels.title,
|
|
187
|
+
plural: RootConfig.entities.controlHierarchyLevels.titlePlural,
|
|
188
|
+
searchResult: {
|
|
189
|
+
title: '{{ title }}',
|
|
190
|
+
description: '{{ code }}',
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
plugins: [
|
|
194
|
+
{ name: 'identifier', options: { field: 'code', rule: 'control-hierarchy-levels-code' } },
|
|
195
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
196
|
+
{ name: 'archive' },
|
|
197
|
+
],
|
|
198
|
+
groups: [
|
|
199
|
+
{
|
|
200
|
+
id: 'basic-info',
|
|
201
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.basic-info',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
id: 'hierarchy-levels',
|
|
205
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.hierarchy-levels',
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
properties: [
|
|
209
|
+
{
|
|
210
|
+
name: 'hierarchyDiagramViewType',
|
|
211
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',
|
|
212
|
+
schema: {
|
|
213
|
+
dataType: 'string',
|
|
214
|
+
defaultValue: 'horizontal',
|
|
215
|
+
interface: {
|
|
216
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
217
|
+
options: {
|
|
218
|
+
valueField: 'id',
|
|
219
|
+
textField: 'title',
|
|
220
|
+
dataSource: [...HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS],
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'hierarchyDiagramPreview',
|
|
227
|
+
title: '\u00a0',
|
|
228
|
+
groupId: 'hierarchy-levels',
|
|
229
|
+
schema: {
|
|
230
|
+
dataType: 'string',
|
|
231
|
+
nullable: true,
|
|
232
|
+
interface: {
|
|
233
|
+
type: AXPWidgetsList.Actions.ActionButton,
|
|
234
|
+
mode: 'edit',
|
|
235
|
+
options: HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: 'id',
|
|
241
|
+
title: '@general:terms.common.id',
|
|
242
|
+
groupId: 'basic-info',
|
|
243
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'code',
|
|
247
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.title',
|
|
248
|
+
groupId: 'basic-info',
|
|
249
|
+
options: listSortAndFilterOptions,
|
|
250
|
+
schema: {
|
|
251
|
+
dataType: 'string',
|
|
252
|
+
unique: { enabled: true },
|
|
253
|
+
interface: {
|
|
254
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
255
|
+
options: {
|
|
256
|
+
disabled: true,
|
|
257
|
+
placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.placeholder',
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
validations: [{ rule: 'required' }],
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: 'title',
|
|
265
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',
|
|
266
|
+
groupId: 'basic-info',
|
|
267
|
+
options: listSortAndFilterOptions,
|
|
268
|
+
schema: {
|
|
269
|
+
dataType: 'string',
|
|
270
|
+
interface: {
|
|
271
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
272
|
+
options: {
|
|
273
|
+
placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
validations: [{ rule: 'required' }],
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
name: 'description',
|
|
281
|
+
title: '@general:terms.common.description',
|
|
282
|
+
groupId: 'basic-info',
|
|
283
|
+
options: {
|
|
284
|
+
sort: { enabled: false },
|
|
285
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
286
|
+
},
|
|
287
|
+
schema: {
|
|
288
|
+
dataType: 'string',
|
|
289
|
+
nullable: true,
|
|
290
|
+
interface: {
|
|
291
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
292
|
+
options: {
|
|
293
|
+
rows: 3,
|
|
294
|
+
placeholder: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: 'itemIds',
|
|
301
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.items.title',
|
|
302
|
+
groupId: 'hierarchy-levels',
|
|
303
|
+
schema: {
|
|
304
|
+
defaultValue: [],
|
|
305
|
+
dataType: 'array',
|
|
306
|
+
nullable: true,
|
|
307
|
+
interface: {
|
|
308
|
+
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
309
|
+
options: { hasControls: true, allowReorder: true },
|
|
310
|
+
children: [...ITEM_IDS_REPEATER_CHILDREN],
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
columns: [
|
|
316
|
+
{ name: 'code', options: { width: '160px', order: 1 } },
|
|
317
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
318
|
+
],
|
|
319
|
+
interfaces: {
|
|
320
|
+
master: {
|
|
321
|
+
create: {
|
|
322
|
+
sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],
|
|
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
|
+
...hierarchyLevelsFormPreviewLayouts,
|
|
328
|
+
hierarchyLevelsItemIdsLayout,
|
|
329
|
+
],
|
|
330
|
+
},
|
|
331
|
+
update: {
|
|
332
|
+
sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],
|
|
333
|
+
properties: [
|
|
334
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
335
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
336
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
337
|
+
...hierarchyLevelsFormPreviewLayouts,
|
|
338
|
+
hierarchyLevelsItemIdsLayout,
|
|
339
|
+
],
|
|
340
|
+
},
|
|
341
|
+
single: {
|
|
342
|
+
title: '{{ title }}',
|
|
343
|
+
sections: [
|
|
344
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
345
|
+
{ id: 'hierarchy-levels', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
346
|
+
],
|
|
347
|
+
properties: [
|
|
348
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
349
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
350
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
351
|
+
hierarchyLevelsViewTypeLayout,
|
|
352
|
+
hierarchyLevelsItemIdsLayout,
|
|
353
|
+
],
|
|
354
|
+
actions: [HIERARCHY_DIAGRAM_PREVIEW_ACTION, ...entityMasterRecordActions()],
|
|
355
|
+
},
|
|
356
|
+
list: {
|
|
357
|
+
actions: [...entityMasterCrudActions()],
|
|
358
|
+
views: [
|
|
359
|
+
createAllQueryView({
|
|
360
|
+
sorts: [{ name: 'code', dir: 'asc' }],
|
|
361
|
+
}),
|
|
362
|
+
],
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
};
|
|
367
|
+
return entityDef;
|
|
368
|
+
}
|
|
369
|
+
//#endregion
|
|
370
|
+
|
|
371
|
+
export { controlHierarchyLevelsEntityFactory };
|
|
372
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-hierarchy-levels.entity-Dae2kkZe.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/control-hierarchy-levels/control-hierarchy-levels.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityAction,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Constants ----\n\nconst CONTROL_HIERARCHY_LEVELS_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.controlHierarchyLevels.name}`;\nconst HIERARCHY_DIAGRAM_PREVIEW_COMMAND = `${CONTROL_HIERARCHY_LEVELS_ENTITY}:Preview`;\n\nconst HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS = {\n title: '{{ context.eval(\"title\") }}',\n itemIds: '{{ context.eval(\"itemIds\") }}',\n hierarchyDiagramViewType: '{{ context.eval(\"hierarchyDiagramViewType\") ?? \"horizontal\" }}',\n id: '{{ context.eval(\"id\") }}',\n};\n\nconst HIERARCHY_DIAGRAM_PREVIEW_ACTION: AXPEntityAction = {\n title: '@general:actions.preview.title',\n command: {\n name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,\n options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,\n },\n priority: 'primary',\n type: 'action',\n icon: 'fa-light fa-eye',\n scope: AXPEntityCommandScope.Individual,\n disabled: '{{ !context.eval(\"itemIds\") || context.eval(\"itemIds\").length === 0 }}',\n};\n\nconst HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS = {\n text: '',\n color: 'primary',\n look: 'solid',\n icon: 'fa-light fa-eye',\n disabled: '{{ !context.eval(\"itemIds\") || context.eval(\"itemIds\").length === 0 }}',\n command: {\n name: HIERARCHY_DIAGRAM_PREVIEW_COMMAND,\n options: HIERARCHY_DIAGRAM_PREVIEW_COMMAND_OPTIONS,\n },\n};\n\nconst hierarchyLevelsViewTypeLayout = {\n name: 'hierarchyDiagramViewType',\n layout: { order: 1, positions: { lg: { colSpan: 12 } } },\n};\n\nconst hierarchyLevelsFormPreviewLayouts = [\n {\n name: 'hierarchyDiagramViewType',\n layout: { order: 1, positions: { lg: { colSpan: 11, colStart: 1 } } },\n },\n {\n name: 'hierarchyDiagramPreview',\n layout: {\n order: 1,\n label: { visible: false },\n positions: { lg: { colSpan: 1, colStart: 12 } },\n },\n },\n] as const;\n\nconst hierarchyLevelsItemIdsLayout = {\n name: 'itemIds',\n layout: { label: { visible: false }, order: 2, positions: { lg: { colSpan: 12 } } },\n};\n\n//#endregion\n\n//#region ---- Constants (repeater) ----\n\nconst ITEM_IDS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n name: 'itemRow',\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '1rem',\n },\n },\n },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 3 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'title',\n name: 'title',\n options: {\n multiLanguage: true,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.title.placeholder',\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 5 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label: '@general:terms.common.description',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'description',\n name: 'description',\n options: {\n rows: 2,\n multiLanguage: true,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',\n },\n },\n ],\n },\n ],\n }, \n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 4 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label: '@general:terms.common.color',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.ColorPalette,\n mode: 'edit' as const,\n path: 'color',\n name: 'color',\n options: {},\n },\n ],\n },\n ],\n },\n ],\n },\n];\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\nconst HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS = [\n {\n id: 'horizontal',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',\n },\n {\n id: 'vertical',\n title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',\n },\n {\n id: 'horizontal-chevron',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',\n },\n] as const;\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function controlHierarchyLevelsEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.controlHierarchyLevels.name,\n title: RootConfig.entities.controlHierarchyLevels.title,\n icon: RootConfig.entities.controlHierarchyLevels.icon,\n formats: {\n individual: RootConfig.entities.controlHierarchyLevels.title,\n plural: RootConfig.entities.controlHierarchyLevels.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'control-hierarchy-levels-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.basic-info',\n },\n {\n id: 'hierarchy-levels',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.hierarchy-levels',\n },\n ],\n properties: [\n {\n name: 'hierarchyDiagramViewType',\n title:\n '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',\n schema: {\n dataType: 'string',\n defaultValue: 'horizontal',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: [...HIERARCHY_DIAGRAM_VIEW_TYPE_OPTIONS],\n },\n },\n },\n },\n {\n name: 'hierarchyDiagramPreview',\n title: '\\u00a0',\n groupId: 'hierarchy-levels',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Actions.ActionButton,\n mode: 'edit',\n options: HIERARCHY_DIAGRAM_PREVIEW_BUTTON_OPTIONS,\n },\n },\n },\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:control-measure-types.entities.control-measure-type.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:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.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:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.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 nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'itemIds',\n title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.fields.items.title',\n groupId: 'hierarchy-levels',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: [...ITEM_IDS_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '160px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],\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 ...hierarchyLevelsFormPreviewLayouts,\n hierarchyLevelsItemIdsLayout,\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'hierarchy-levels' }],\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 ...hierarchyLevelsFormPreviewLayouts,\n hierarchyLevelsItemIdsLayout,\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'hierarchy-levels', 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 hierarchyLevelsViewTypeLayout,\n hierarchyLevelsItemIdsLayout,\n ],\n actions: [HIERARCHY_DIAGRAM_PREVIEW_ACTION, ...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'code', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAcA;AAEA;AAEA,MAAM,+BAA+B,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UA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MasterRecordActions } 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 ---- Imports ----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ---- Constants ----
|
|
8
|
+
const listSortAndFilterOptions = {
|
|
9
|
+
sort: { enabled: true },
|
|
10
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region ---- Entity factory ----
|
|
14
|
+
async function controlMeasureEntityFactory() {
|
|
15
|
+
const entityDef = {
|
|
16
|
+
module: RootConfig.module.name,
|
|
17
|
+
name: RootConfig.entities.controlMeasure.name,
|
|
18
|
+
title: RootConfig.entities.controlMeasure.title,
|
|
19
|
+
icon: RootConfig.entities.controlMeasure.icon,
|
|
20
|
+
formats: {
|
|
21
|
+
individual: RootConfig.entities.controlMeasure.title,
|
|
22
|
+
plural: RootConfig.entities.controlMeasure.titlePlural,
|
|
23
|
+
searchResult: {
|
|
24
|
+
title: '{{ title }}',
|
|
25
|
+
description: '{{ code }}',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
plugins: [
|
|
29
|
+
{ name: 'identifier', options: { field: 'code', rule: 'control-measure-code' } },
|
|
30
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
31
|
+
{ name: 'archive' },
|
|
32
|
+
{
|
|
33
|
+
name: 'attachments',
|
|
34
|
+
options: {
|
|
35
|
+
accept: '.jpg,.jpeg,.png,.pdf,.doc,.docx',
|
|
36
|
+
fileEditable: true,
|
|
37
|
+
display: 'page'
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
groups: [
|
|
42
|
+
{
|
|
43
|
+
id: 'basic-info',
|
|
44
|
+
title: '@workplacesafety-management:control-measures.entities.control-measure.groups.basic-info',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'instruction',
|
|
48
|
+
title: '@workplacesafety-management:control-measures.entities.control-measure.groups.instruction',
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
properties: [
|
|
52
|
+
{
|
|
53
|
+
name: 'id',
|
|
54
|
+
title: '@general:terms.common.id',
|
|
55
|
+
groupId: 'basic-info',
|
|
56
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'code',
|
|
60
|
+
title: '@workplacesafety-management:control-measures.entities.control-measure.fields.code.title',
|
|
61
|
+
groupId: 'basic-info',
|
|
62
|
+
options: listSortAndFilterOptions,
|
|
63
|
+
schema: {
|
|
64
|
+
dataType: 'string',
|
|
65
|
+
unique: { enabled: true },
|
|
66
|
+
interface: {
|
|
67
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
68
|
+
options: {
|
|
69
|
+
disabled: true,
|
|
70
|
+
placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.code.placeholder',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
validations: [{ rule: 'required' }],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'title',
|
|
78
|
+
title: '@workplacesafety-management:control-measures.entities.control-measure.fields.title.title',
|
|
79
|
+
groupId: 'basic-info',
|
|
80
|
+
options: listSortAndFilterOptions,
|
|
81
|
+
schema: {
|
|
82
|
+
dataType: 'string',
|
|
83
|
+
interface: {
|
|
84
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
85
|
+
options: {
|
|
86
|
+
placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.title.placeholder',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
validations: [{ rule: 'required' }],
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'instruction',
|
|
94
|
+
title: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.title',
|
|
95
|
+
groupId: 'instruction',
|
|
96
|
+
options: {
|
|
97
|
+
sort: { enabled: false },
|
|
98
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
99
|
+
},
|
|
100
|
+
schema: {
|
|
101
|
+
dataType: 'string',
|
|
102
|
+
nullable: true,
|
|
103
|
+
interface: {
|
|
104
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
105
|
+
options: {
|
|
106
|
+
rows: 4,
|
|
107
|
+
placeholder: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.placeholder',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
columns: [
|
|
114
|
+
{ name: 'code', options: { width: '140px', order: 1 } },
|
|
115
|
+
{ name: 'title', options: { width: '240px', order: 2 } },
|
|
116
|
+
],
|
|
117
|
+
interfaces: {
|
|
118
|
+
master: {
|
|
119
|
+
create: {
|
|
120
|
+
sections: [{ id: 'basic-info' }, { id: 'instruction' }],
|
|
121
|
+
properties: [
|
|
122
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
123
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
124
|
+
{ name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
update: {
|
|
128
|
+
sections: [{ id: 'basic-info' }, { id: 'instruction' }],
|
|
129
|
+
properties: [
|
|
130
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
131
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
132
|
+
{ name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
single: {
|
|
136
|
+
title: '{{ title }}',
|
|
137
|
+
sections: [
|
|
138
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
139
|
+
{ id: 'instruction', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
140
|
+
],
|
|
141
|
+
properties: [
|
|
142
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
143
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
144
|
+
{ name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
145
|
+
],
|
|
146
|
+
actions: [...entityMasterRecordActions()],
|
|
147
|
+
},
|
|
148
|
+
list: {
|
|
149
|
+
actions: [...entityMasterCrudActions()],
|
|
150
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
};
|
|
155
|
+
return entityDef;
|
|
156
|
+
}
|
|
157
|
+
//#endregion
|
|
158
|
+
|
|
159
|
+
export { controlMeasureEntityFactory };
|
|
160
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-control-measure.entity-CpNcN6Pf.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/control-measure/control-measure.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 ---- 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 controlMeasureEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.controlMeasure.name,\n title: RootConfig.entities.controlMeasure.title,\n icon: RootConfig.entities.controlMeasure.icon,\n formats: {\n individual: RootConfig.entities.controlMeasure.title,\n plural: RootConfig.entities.controlMeasure.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'control-measure-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n {\n name: 'attachments',\n options: {\n accept: '.jpg,.jpeg,.png,.pdf,.doc,.docx',\n fileEditable: true,\n display: 'page'\n },\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@workplacesafety-management:control-measures.entities.control-measure.groups.basic-info',\n },\n {\n id: 'instruction',\n title: '@workplacesafety-management:control-measures.entities.control-measure.groups.instruction',\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:control-measures.entities.control-measure.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:control-measures.entities.control-measure.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:control-measures.entities.control-measure.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:control-measures.entities.control-measure.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'instruction',\n title: '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.title',\n groupId: 'instruction',\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: 4,\n placeholder:\n '@workplacesafety-management:control-measures.entities.control-measure.fields.instruction.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '240px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'instruction' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'instruction' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'instruction', 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: 'instruction', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\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;AAOA;AAEA;AAEA,MAAM,wBAAwB,GAAG;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