@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,405 @@
|
|
|
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
|
+
//#region ---- Imports ----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ---- Constants ----
|
|
8
|
+
const listSortAndFilterOptions = {
|
|
9
|
+
sort: { enabled: true },
|
|
10
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
11
|
+
};
|
|
12
|
+
const safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;
|
|
13
|
+
const safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;
|
|
14
|
+
const workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;
|
|
15
|
+
const CELLS_REPEATER_CHILDREN = [
|
|
16
|
+
{
|
|
17
|
+
type: AXPWidgetsList.Layouts.GridLayout,
|
|
18
|
+
mode: 'edit',
|
|
19
|
+
options: {
|
|
20
|
+
grid: {
|
|
21
|
+
default: {
|
|
22
|
+
columns: 12,
|
|
23
|
+
gap: '0.75rem',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
children: [
|
|
28
|
+
{
|
|
29
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
30
|
+
mode: 'edit',
|
|
31
|
+
options: { colSpan: 3 },
|
|
32
|
+
children: [
|
|
33
|
+
{
|
|
34
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
35
|
+
mode: 'edit',
|
|
36
|
+
options: {
|
|
37
|
+
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
|
|
38
|
+
showLabel: true,
|
|
39
|
+
},
|
|
40
|
+
children: [
|
|
41
|
+
{
|
|
42
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
43
|
+
mode: 'edit',
|
|
44
|
+
path: 'columnKey',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
52
|
+
mode: 'edit',
|
|
53
|
+
options: { colSpan: 9 },
|
|
54
|
+
children: [
|
|
55
|
+
{
|
|
56
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
57
|
+
mode: 'edit',
|
|
58
|
+
options: {
|
|
59
|
+
label: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',
|
|
60
|
+
showLabel: true,
|
|
61
|
+
},
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
65
|
+
mode: 'edit',
|
|
66
|
+
path: 'textValue',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region ---- Entity factory ----
|
|
77
|
+
async function safetyPlanWorkStepEntityFactory() {
|
|
78
|
+
const entityDef = {
|
|
79
|
+
module: RootConfig.module.name,
|
|
80
|
+
name: RootConfig.entities.safetyPlanWorkStep.name,
|
|
81
|
+
title: RootConfig.entities.safetyPlanWorkStep.title,
|
|
82
|
+
icon: RootConfig.entities.safetyPlanWorkStep.icon,
|
|
83
|
+
formats: {
|
|
84
|
+
individual: RootConfig.entities.safetyPlanWorkStep.title,
|
|
85
|
+
plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,
|
|
86
|
+
searchResult: {
|
|
87
|
+
title: '{{ title }}',
|
|
88
|
+
description: '{{ code }}',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
plugins: [
|
|
92
|
+
{ name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },
|
|
93
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
94
|
+
{ name: 'archive' },
|
|
95
|
+
],
|
|
96
|
+
groups: [
|
|
97
|
+
{
|
|
98
|
+
id: 'plan-folder',
|
|
99
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: 'basic-info',
|
|
103
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: 'table-content',
|
|
107
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
properties: [
|
|
111
|
+
{
|
|
112
|
+
name: 'id',
|
|
113
|
+
title: '@general:terms.common.id',
|
|
114
|
+
groupId: 'basic-info',
|
|
115
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'code',
|
|
119
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.title',
|
|
120
|
+
groupId: 'basic-info',
|
|
121
|
+
options: listSortAndFilterOptions,
|
|
122
|
+
schema: {
|
|
123
|
+
dataType: 'string',
|
|
124
|
+
unique: { enabled: true },
|
|
125
|
+
interface: {
|
|
126
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
127
|
+
options: {
|
|
128
|
+
disabled: true,
|
|
129
|
+
placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
validations: [{ rule: 'required' }],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'safetyPlanId',
|
|
137
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',
|
|
138
|
+
groupId: 'plan-folder',
|
|
139
|
+
options: listSortAndFilterOptions,
|
|
140
|
+
schema: {
|
|
141
|
+
dataType: 'string',
|
|
142
|
+
interface: {
|
|
143
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
144
|
+
options: {
|
|
145
|
+
look: 'select',
|
|
146
|
+
entity: safetyPlanEntity,
|
|
147
|
+
allowSearch: true,
|
|
148
|
+
textField: 'title',
|
|
149
|
+
valueField: 'id',
|
|
150
|
+
columns: ['code', 'title'],
|
|
151
|
+
expose: [
|
|
152
|
+
{ source: 'id', target: 'safetyPlan.id' },
|
|
153
|
+
{ source: 'title', target: 'safetyPlan.title' },
|
|
154
|
+
{ source: 'code', target: 'safetyPlan.code' },
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
validations: [{ rule: 'required' }],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'safetyPlanSectionId',
|
|
163
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',
|
|
164
|
+
groupId: 'plan-folder',
|
|
165
|
+
options: listSortAndFilterOptions,
|
|
166
|
+
schema: {
|
|
167
|
+
dataType: 'string',
|
|
168
|
+
interface: {
|
|
169
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
170
|
+
options: {
|
|
171
|
+
look: 'select',
|
|
172
|
+
entity: safetyPlanSectionEntity,
|
|
173
|
+
allowSearch: true,
|
|
174
|
+
textField: 'title',
|
|
175
|
+
valueField: 'id',
|
|
176
|
+
columns: ['code', 'title'],
|
|
177
|
+
expose: [
|
|
178
|
+
{ source: 'id', target: 'safetyPlanSection.id' },
|
|
179
|
+
{ source: 'title', target: 'safetyPlanSection.title' },
|
|
180
|
+
{ source: 'code', target: 'safetyPlanSection.code' },
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
validations: [{ rule: 'required' }],
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'workStepTypeId',
|
|
189
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',
|
|
190
|
+
groupId: 'basic-info',
|
|
191
|
+
options: listSortAndFilterOptions,
|
|
192
|
+
schema: {
|
|
193
|
+
dataType: 'string',
|
|
194
|
+
interface: {
|
|
195
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
196
|
+
options: {
|
|
197
|
+
look: 'select',
|
|
198
|
+
entity: workStepTypeEntity,
|
|
199
|
+
allowSearch: true,
|
|
200
|
+
textField: 'title',
|
|
201
|
+
valueField: 'id',
|
|
202
|
+
columns: ['code', 'title'],
|
|
203
|
+
expose: [
|
|
204
|
+
{ source: 'id', target: 'workStepType.id' },
|
|
205
|
+
{ source: 'title', target: 'workStepType.title' },
|
|
206
|
+
{ source: 'code', target: 'workStepType.code' },
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
validations: [{ rule: 'required' }],
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: 'title',
|
|
215
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.title',
|
|
216
|
+
groupId: 'basic-info',
|
|
217
|
+
options: listSortAndFilterOptions,
|
|
218
|
+
schema: {
|
|
219
|
+
dataType: 'string',
|
|
220
|
+
nullable: true,
|
|
221
|
+
interface: {
|
|
222
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
223
|
+
options: {
|
|
224
|
+
placeholder: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'sortOrder',
|
|
231
|
+
title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',
|
|
232
|
+
groupId: 'basic-info',
|
|
233
|
+
options: listSortAndFilterOptions,
|
|
234
|
+
schema: {
|
|
235
|
+
dataType: 'number',
|
|
236
|
+
nullable: true,
|
|
237
|
+
interface: {
|
|
238
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: 'columns',
|
|
244
|
+
title: '',
|
|
245
|
+
groupId: 'table-content',
|
|
246
|
+
schema: {
|
|
247
|
+
defaultValue: [],
|
|
248
|
+
dataType: 'array',
|
|
249
|
+
nullable: true,
|
|
250
|
+
interface: {
|
|
251
|
+
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
252
|
+
options: { hasControls: true, allowReorder: true },
|
|
253
|
+
children: [
|
|
254
|
+
{
|
|
255
|
+
type: AXPWidgetsList.Layouts.GridLayout,
|
|
256
|
+
mode: 'edit',
|
|
257
|
+
options: { grid: { default: { columns: 12, gap: '1rem' } } },
|
|
258
|
+
children: [
|
|
259
|
+
{
|
|
260
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
261
|
+
mode: 'edit',
|
|
262
|
+
options: { colSpan: 6 },
|
|
263
|
+
children: [
|
|
264
|
+
{
|
|
265
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
266
|
+
mode: 'edit',
|
|
267
|
+
options: {
|
|
268
|
+
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',
|
|
269
|
+
showLabel: true,
|
|
270
|
+
},
|
|
271
|
+
children: [
|
|
272
|
+
{
|
|
273
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
274
|
+
mode: 'edit',
|
|
275
|
+
path: 'sectionTypeId',
|
|
276
|
+
options: {
|
|
277
|
+
look: 'select',
|
|
278
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,
|
|
279
|
+
allowSearch: true,
|
|
280
|
+
textField: 'title',
|
|
281
|
+
valueField: 'id',
|
|
282
|
+
columns: ['code', 'title'],
|
|
283
|
+
expose: [
|
|
284
|
+
{ source: 'id', target: 'sectionType.id' },
|
|
285
|
+
{ source: 'title', target: 'sectionType.title' },
|
|
286
|
+
{ source: 'code', target: 'sectionType.code' },
|
|
287
|
+
{ source: 'title', target: 'title' },
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
type: AXPWidgetsList.Layouts.GridItemLayout,
|
|
297
|
+
mode: 'edit',
|
|
298
|
+
options: { colSpan: 6 },
|
|
299
|
+
children: [
|
|
300
|
+
{
|
|
301
|
+
type: AXPWidgetsList.Layouts.FormField,
|
|
302
|
+
mode: 'edit',
|
|
303
|
+
options: {
|
|
304
|
+
label: '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',
|
|
305
|
+
showLabel: true,
|
|
306
|
+
},
|
|
307
|
+
children: [
|
|
308
|
+
{
|
|
309
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
310
|
+
mode: 'edit',
|
|
311
|
+
path: 'title',
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: 'cells',
|
|
325
|
+
title: '',
|
|
326
|
+
groupId: 'table-content',
|
|
327
|
+
schema: {
|
|
328
|
+
defaultValue: [],
|
|
329
|
+
dataType: 'array',
|
|
330
|
+
nullable: true,
|
|
331
|
+
interface: {
|
|
332
|
+
type: AXPWidgetsList.Layouts.RepeaterLayout,
|
|
333
|
+
options: { hasControls: true, allowReorder: true },
|
|
334
|
+
children: [...CELLS_REPEATER_CHILDREN],
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
columns: [
|
|
340
|
+
{ name: 'code', options: { width: '120px', order: 1 } },
|
|
341
|
+
{ name: 'title', options: { order: 2 } },
|
|
342
|
+
{ name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },
|
|
343
|
+
{ name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },
|
|
344
|
+
{ name: 'sortOrder', options: { width: '100px', order: 5 } },
|
|
345
|
+
],
|
|
346
|
+
interfaces: {
|
|
347
|
+
master: {
|
|
348
|
+
create: {
|
|
349
|
+
sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
|
|
350
|
+
properties: [
|
|
351
|
+
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
352
|
+
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
353
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
354
|
+
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
355
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
356
|
+
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
357
|
+
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
358
|
+
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
359
|
+
],
|
|
360
|
+
},
|
|
361
|
+
update: {
|
|
362
|
+
sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],
|
|
363
|
+
properties: [
|
|
364
|
+
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
365
|
+
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
366
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
367
|
+
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
368
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
369
|
+
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
370
|
+
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
371
|
+
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
372
|
+
],
|
|
373
|
+
},
|
|
374
|
+
single: {
|
|
375
|
+
title: '{{ title }}',
|
|
376
|
+
sections: [
|
|
377
|
+
{ id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
378
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
379
|
+
{ id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
380
|
+
],
|
|
381
|
+
properties: [
|
|
382
|
+
{ name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
383
|
+
{ name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
384
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
385
|
+
{ name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
386
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
387
|
+
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
388
|
+
{ name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
389
|
+
{ name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },
|
|
390
|
+
],
|
|
391
|
+
actions: [...entityMasterRecordActions()],
|
|
392
|
+
},
|
|
393
|
+
list: {
|
|
394
|
+
actions: [...entityMasterCrudActions()],
|
|
395
|
+
views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }] })],
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
};
|
|
400
|
+
return entityDef;
|
|
401
|
+
}
|
|
402
|
+
//#endregion
|
|
403
|
+
|
|
404
|
+
export { safetyPlanWorkStepEntityFactory };
|
|
405
|
+
//# sourceMappingURL=acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog-safety-plan-work-step.entity-DmFYsBhI.mjs","sources":["../../../../libs/modules/workplacesafety-management/contracts/src/entities/safety-plan-work-step/safety-plan-work-step.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\nconst safetyPlanEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlan.name}`;\nconst safetyPlanSectionEntity = `${RootConfig.module.name}.${RootConfig.entities.safetyPlanSection.name}`;\nconst workStepTypeEntity = `${RootConfig.module.name}.${RootConfig.entities.workStepType.name}`;\n\nconst CELLS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: {\n grid: {\n default: {\n columns: 12,\n gap: '0.75rem',\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:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'columnKey',\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 9 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.text-value.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'textValue',\n },\n ],\n },\n ],\n },\n ],\n },\n];\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function safetyPlanWorkStepEntityFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.safetyPlanWorkStep.name,\n title: RootConfig.entities.safetyPlanWorkStep.title,\n icon: RootConfig.entities.safetyPlanWorkStep.icon,\n formats: {\n individual: RootConfig.entities.safetyPlanWorkStep.title,\n plural: RootConfig.entities.safetyPlanWorkStep.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'identifier', options: { field: 'code', rule: 'safety-plan-work-step-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n ],\n groups: [\n {\n id: 'plan-folder',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.plan-folder',\n },\n {\n id: 'basic-info',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.basic-info',\n },\n {\n id: 'table-content',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.groups.table-content',\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:safety-plan-work-steps.entities.safety-plan-work-step.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:safety-plan-work-steps.entities.safety-plan-work-step.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlan.id' },\n { source: 'title', target: 'safetyPlan.title' },\n { source: 'code', target: 'safetyPlan.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'safetyPlanSectionId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.safety-plan-section.title',\n groupId: 'plan-folder',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: safetyPlanSectionEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'safetyPlanSection.id' },\n { source: 'title', target: 'safetyPlanSection.title' },\n { source: 'code', target: 'safetyPlanSection.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'workStepTypeId',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.work-step-type.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: workStepTypeEntity,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'workStepType.id' },\n { source: 'title', target: 'workStepType.title' },\n { source: 'code', target: 'workStepType.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.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:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.title.placeholder',\n },\n },\n },\n },\n {\n name: 'sortOrder',\n title:\n '@workplacesafety-management:safety-plan-work-steps.entities.safety-plan-work-step.fields.sort-order.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n },\n },\n },\n {\n name: 'columns',\n title: '',\n groupId: 'table-content',\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: [\n {\n type: AXPWidgetsList.Layouts.GridLayout,\n mode: 'edit' as const,\n options: { grid: { default: { columns: 12, gap: '1rem' } } },\n children: [\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.section-type.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.LookupBox,\n mode: 'edit' as const,\n path: 'sectionTypeId',\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.sectionType.name}`,\n allowSearch: true,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'sectionType.id' },\n { source: 'title', target: 'sectionType.title' },\n { source: 'code', target: 'sectionType.code' },\n { source: 'title', target: 'title' },\n ],\n },\n },\n ],\n },\n ],\n },\n {\n type: AXPWidgetsList.Layouts.GridItemLayout,\n mode: 'edit' as const,\n options: { colSpan: 6 },\n children: [\n {\n type: AXPWidgetsList.Layouts.FormField,\n mode: 'edit' as const,\n options: {\n label:\n '@workplacesafety-management:work-step-types.entities.work-step-type.fields.column-title.title',\n showLabel: true,\n },\n children: [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'title',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n },\n },\n {\n name: 'cells',\n title: '',\n groupId: 'table-content',\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: [...CELLS_REPEATER_CHILDREN],\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { order: 2 } },\n { name: 'workStepTypeId', options: { dataPath: 'workStepType.title', order: 3 } },\n { name: 'safetyPlanId', options: { dataPath: 'safetyPlan.title', order: 4 } },\n { name: 'sortOrder', options: { width: '100px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n update: {\n sections: [{ id: 'plan-folder' }, { id: 'basic-info' }, { id: 'table-content' }],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'plan-folder', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'table-content', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'safetyPlanId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'safetyPlanSectionId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'workStepTypeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'columns', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 7 } } } },\n { name: 'cells', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'sortOrder', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAOA;AAEA;AAEA,MAAM,wBAAwB,GAAG;AAC/B,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;AACvB,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CAClE;AAED,MAAM,gBAAgB,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,EAAE;AAC3F,MAAM,uBAAuB,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,EAAE;AACzG,MAAM,kBAAkB,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE;AAE/F,MAAM,uBAAuB,GAAG;AAC9B,IAAA;AACE,QAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,UAAU;AACvC,Q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