@acorex-platform/module-workplacesafety-management-client 0.0.30 → 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-mzaaZ6T3.mjs +549 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-acorex-platform-module-workplacesafety-management-client-mzaaZ6T3.mjs.map +1 -0
- 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-contracts.mjs +739 -806
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs +93 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-CnTEwf_l.mjs.map +1 -0
- 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-control-hierarchy-diagram.service-BBhH7KP1.mjs → acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs} +48 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-tMrUDnCb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-index-kF37zgd4.mjs → acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs} +391 -92
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-LxP1eZLY.mjs.map +1 -0
- 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-ppe-item-viewer-widget-column.component-D2Mmow12.mjs +42 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-column.component-D2Mmow12.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs +101 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer-widget-edit.component-CQtVhCgw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs +221 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.service-YS8FHiRu.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs +61 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-ppe-item-viewer.util-2Kl3_3sg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-C2X3VpEt.mjs → acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs} +3 -7
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-Dd9xdo_y.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs +557 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-safety-plan-preview-modal.component-6i0RkG3L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BJsg3pHZ.mjs → acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs} +13 -25
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BlPzzCc2.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs +1 -460
- package/fesm2022/acorex-platform-module-workplacesafety-management-client.mjs.map +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-contracts.d.ts +89 -140
- 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-widget-view.component-C-qrrqOV.mjs +0 -203
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram-widget-view.component-C-qrrqOV.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-control-hierarchy-diagram.service-BBhH7KP1.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-risk-ppe-rule-status.provider-DtqzcWh0.mjs +0 -42
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-hazard-risk-ppe-rule-status.provider-DtqzcWh0.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-index-kF37zgd4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-preview-control-hierarchy-diagram.command-C2X3VpEt.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-workplacesafety-management-client-save-safety-plan-sections.command-BJsg3pHZ.mjs.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AXPEntity } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Section rows for {@link AXMWorkplaceSafetyManagementSafetyPlanEntityModel}.
|
|
5
|
+
* Navigation is nested under the Safety Plan detail page (see {@link safetyPlanEntityFactory} pages tab).
|
|
6
|
+
*/
|
|
7
|
+
declare function safetyPlanSectionEntityFactory(): Promise<AXPEntity | null>;
|
|
8
|
+
|
|
9
|
+
export { safetyPlanSectionEntityFactory };
|
package/types/acorex-platform-module-workplacesafety-management-client-contracts-entity-catalog.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
5
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
6
|
+
* consume this catalog explicitly.
|
|
7
|
+
*/
|
|
8
|
+
declare const workplacesafetyManagementLocalEntityCatalog: AXPLocalEntityCatalog;
|
|
9
|
+
|
|
10
|
+
export { workplacesafetyManagementLocalEntityCatalog };
|
|
@@ -104,13 +104,6 @@ declare const AXMWorkplaceSafetyManagementPermissionKeys: {
|
|
|
104
104
|
readonly Update: "SafetyRisk:Permission:MaintainSafety";
|
|
105
105
|
readonly Delete: "SafetyRisk:Permission:MaintainSafety";
|
|
106
106
|
};
|
|
107
|
-
readonly HazardRiskPpeRule: {
|
|
108
|
-
readonly Management: "SafetyRisk:Permission:MaintainSafety";
|
|
109
|
-
readonly View: "SafetyRisk:Permission:MaintainSafety";
|
|
110
|
-
readonly Create: "SafetyRisk:Permission:MaintainSafety";
|
|
111
|
-
readonly Update: "SafetyRisk:Permission:MaintainSafety";
|
|
112
|
-
readonly Delete: "SafetyRisk:Permission:MaintainSafety";
|
|
113
|
-
};
|
|
114
107
|
readonly ControlHierarchyLevels: {
|
|
115
108
|
readonly Management: "SafetyRisk:Permission:Setup";
|
|
116
109
|
};
|
|
@@ -223,13 +216,6 @@ declare const RootConfig: {
|
|
|
223
216
|
titlePlural: string;
|
|
224
217
|
icon: string;
|
|
225
218
|
};
|
|
226
|
-
hazardRiskPpeRule: {
|
|
227
|
-
name: string;
|
|
228
|
-
source: string;
|
|
229
|
-
title: string;
|
|
230
|
-
titlePlural: string;
|
|
231
|
-
icon: string;
|
|
232
|
-
};
|
|
233
219
|
controlHierarchyLevels: {
|
|
234
220
|
name: string;
|
|
235
221
|
source: string;
|
|
@@ -511,6 +497,60 @@ interface AXMWorkplaceSafetyManagementSafetyPlanWorkStepEntityModel extends AXPE
|
|
|
511
497
|
isArchived?: boolean;
|
|
512
498
|
}
|
|
513
499
|
|
|
500
|
+
interface AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel {
|
|
501
|
+
sectionTypeId: string;
|
|
502
|
+
sectionType?: AXMSectionTypeSnapshot;
|
|
503
|
+
/**
|
|
504
|
+
* Step Table only — selected Work Step (WorkStepType) that defines table columns.
|
|
505
|
+
* Persisted on the section items slot alongside row entity ids.
|
|
506
|
+
*/
|
|
507
|
+
workStepTypeId?: string;
|
|
508
|
+
workStepType?: {
|
|
509
|
+
id: string;
|
|
510
|
+
title?: string;
|
|
511
|
+
code?: string;
|
|
512
|
+
};
|
|
513
|
+
itemIds?: string[];
|
|
514
|
+
items?: {
|
|
515
|
+
id: string;
|
|
516
|
+
title?: string;
|
|
517
|
+
code?: string;
|
|
518
|
+
}[];
|
|
519
|
+
}
|
|
520
|
+
/** Display options for section widgets (PPE layout, control-hierarchy viewType). Item ids stay on `items`. */
|
|
521
|
+
interface AXMSafetyPlanSectionWidgetOptions {
|
|
522
|
+
layout?: unknown;
|
|
523
|
+
viewType?: unknown;
|
|
524
|
+
showTitle?: boolean;
|
|
525
|
+
showViewTypeSelector?: boolean;
|
|
526
|
+
[key: string]: unknown;
|
|
527
|
+
}
|
|
528
|
+
interface AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel extends AXPEntityModel<string> {
|
|
529
|
+
/** Business code from identifier rule `safety-plan-section-code` (`SPS-{seq:4}`). */
|
|
530
|
+
code: string;
|
|
531
|
+
safetyPlanId: string;
|
|
532
|
+
safetyPlan?: {
|
|
533
|
+
id: string;
|
|
534
|
+
title?: string;
|
|
535
|
+
code?: string;
|
|
536
|
+
};
|
|
537
|
+
title: string;
|
|
538
|
+
description?: string;
|
|
539
|
+
/** Section line items managed via repeater (embedded value objects). */
|
|
540
|
+
items: AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel[];
|
|
541
|
+
/**
|
|
542
|
+
* SafetyPlanTypeSection this row was created from.
|
|
543
|
+
* Stored as a snapshot link only — later type-section edits do not affect this plan.
|
|
544
|
+
*/
|
|
545
|
+
sourceSafetyPlanTypeSectionId?: string;
|
|
546
|
+
/** List / display order within the plan. */
|
|
547
|
+
sortOrder?: number;
|
|
548
|
+
/** Widget display options (PPE layout, control-hierarchy view). Not used for Risk Matrix. */
|
|
549
|
+
widgetOptions?: AXMSafetyPlanSectionWidgetOptions;
|
|
550
|
+
/** Managed by the archive plugin (`isArchived`). */
|
|
551
|
+
isArchived?: boolean;
|
|
552
|
+
}
|
|
553
|
+
|
|
514
554
|
/** One Step Table body row in the section builder. */
|
|
515
555
|
interface AXMSafetyPlanStepTableRowBuilderPayload {
|
|
516
556
|
cells: AXMStepTableCellValue[];
|
|
@@ -553,6 +593,8 @@ interface AXMSafetyPlanSectionBuilderSectionValue {
|
|
|
553
593
|
workStepType?: AXMWorkStepTypeSnapshot;
|
|
554
594
|
/** Columns loaded from the selected Work Step configuration. */
|
|
555
595
|
columns?: AXMStepTableColumnDef[];
|
|
596
|
+
/** Widget display options (PPE layout, control-hierarchy view). */
|
|
597
|
+
widgetOptions?: AXMSafetyPlanSectionWidgetOptions;
|
|
556
598
|
items: AXMSafetyPlanSectionBuilderItemValue[];
|
|
557
599
|
}
|
|
558
600
|
interface AXMSafetyPlanSectionBuilderValue {
|
|
@@ -571,7 +613,7 @@ interface AXMSectionTypeDerivedFilterDependency {
|
|
|
571
613
|
kind: 'derivedFromParent';
|
|
572
614
|
parentSectionTypeKey: AXMSectionTypeCode;
|
|
573
615
|
/** Field path on the parent entity record used to resolve filter values. */
|
|
574
|
-
resolveField: 'riskMatrixId'
|
|
616
|
+
resolveField: 'riskMatrixId';
|
|
575
617
|
/** Field on the child lookup entity (typically `id`). */
|
|
576
618
|
filterField: string;
|
|
577
619
|
}
|
|
@@ -615,7 +657,6 @@ declare function resolveParentHazardRiskIds(sections: AXMSafetyPlanSectionBuilde
|
|
|
615
657
|
*/
|
|
616
658
|
declare function clearDependentItemsOnParentChange(previous: AXMSafetyPlanSectionBuilderValue, next: AXMSafetyPlanSectionBuilderValue): AXMSafetyPlanSectionBuilderValue;
|
|
617
659
|
declare function extractRiskMatrixIdsFromHazardRisks(records: Record<string, unknown>[]): string[];
|
|
618
|
-
declare function extractControlMeasureIdsFromHazardRisks(records: Record<string, unknown>[]): string[];
|
|
619
660
|
declare function resolveSafetyPlanSectionItemFilter(sectionTypeId: string, parentHazardIds: string[], parentHazardRiskIds?: string[]): Record<string, unknown> | null;
|
|
620
661
|
declare function resolveSafetyPlanSectionItemFilterAsync(sectionTypeId: string, sections: AXMSafetyPlanSectionBuilderSectionValue[], sectionIndex: number, loadHazardRisks: AXMHazardRiskRecordLoader): Promise<Record<string, unknown> | null>;
|
|
621
662
|
/** Clears item selection when section type changes in item dialog context. */
|
|
@@ -646,7 +687,12 @@ declare function buildSafetyPlanSectionItemLookupOptions(entityExpression: strin
|
|
|
646
687
|
}): Record<string, unknown>;
|
|
647
688
|
/** Lookup options with entity data-selector popup UI (`look: 'lookup'`). */
|
|
648
689
|
declare function buildSafetyPlanSectionItemSelectorOptions(entityExpression: string, options?: Parameters<typeof buildSafetyPlanSectionItemLookupOptions>[1]): Record<string, unknown>;
|
|
649
|
-
|
|
690
|
+
/** Selector column: string names are visible; `{ visible: false }` is queried for widget context only. */
|
|
691
|
+
type AXMSafetyPlanSectionItemColumn = string | {
|
|
692
|
+
name: string;
|
|
693
|
+
visible?: boolean;
|
|
694
|
+
};
|
|
695
|
+
declare function resolveSafetyPlanSectionItemColumns(sectionTypeId: string): AXMSafetyPlanSectionItemColumn[];
|
|
650
696
|
declare function resolveSafetyPlanSectionItemEntityKey(sectionTypeId: string, sectionType?: AXMSectionTypeSnapshot): string | undefined;
|
|
651
697
|
declare function mapSafetyPlanSectionSelectedItems(sectionTypeId: string, selectedItems: Array<Record<string, unknown>>): Array<{
|
|
652
698
|
id: string;
|
|
@@ -662,11 +708,7 @@ declare const SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY = "safety-plan-sections-pa
|
|
|
662
708
|
/** Section type row managed via repeater on Safety Plan Type Section. */
|
|
663
709
|
interface AXMWorkplaceSafetyManagementSafetyPlanTypeSectionTypeItemModel {
|
|
664
710
|
sectionTypeId: string;
|
|
665
|
-
sectionType?:
|
|
666
|
-
id: string;
|
|
667
|
-
title?: string;
|
|
668
|
-
code?: string;
|
|
669
|
-
};
|
|
711
|
+
sectionType?: AXMSectionTypeSnapshot;
|
|
670
712
|
}
|
|
671
713
|
interface AXMWorkplaceSafetyManagementSafetyPlanTypeSectionEntityModel extends AXPEntityModel<string> {
|
|
672
714
|
safetyPlanTypeId: string;
|
|
@@ -692,11 +734,7 @@ interface AXMWorkplaceSafetyManagementSafetyPlanTypeSectionEntityModel extends A
|
|
|
692
734
|
interface AXMSafetyPlanSectionStructureItem {
|
|
693
735
|
id: string;
|
|
694
736
|
sectionTypeId: string;
|
|
695
|
-
sectionType?:
|
|
696
|
-
id: string;
|
|
697
|
-
title?: string;
|
|
698
|
-
code?: string;
|
|
699
|
-
};
|
|
737
|
+
sectionType?: AXMSectionTypeSnapshot;
|
|
700
738
|
title: string;
|
|
701
739
|
description?: string;
|
|
702
740
|
/** Links the plan section back to the type template it was created from. */
|
|
@@ -728,12 +766,28 @@ interface AXMSafetyPlanSectionStructureValidationContext {
|
|
|
728
766
|
/** Section type ids that may appear more than once on a plan. */
|
|
729
767
|
repeatableSectionTypeIds?: readonly string[];
|
|
730
768
|
}
|
|
731
|
-
type AXMSafetyPlanSectionStructureValidationIssueCode = 'REQUIRED_SECTION_MISSING' | 'SECTION_TYPE_NOT_ALLOWED' | '
|
|
769
|
+
type AXMSafetyPlanSectionStructureValidationIssueCode = 'REQUIRED_SECTION_MISSING' | 'SECTION_TYPE_NOT_ALLOWED' | 'INVALID_TYPE_SECTION_TEMPLATE' | 'INVALID_SORT_ORDER';
|
|
732
770
|
interface AXMSafetyPlanSectionStructureValidationIssue {
|
|
733
771
|
code: AXMSafetyPlanSectionStructureValidationIssueCode;
|
|
734
772
|
messageKey: string;
|
|
735
773
|
details?: Record<string, unknown>;
|
|
736
774
|
}
|
|
775
|
+
/** Coerces a stored string or locale map into a single display string. */
|
|
776
|
+
declare function asSafetyPlanDisplayText(value: unknown): string;
|
|
777
|
+
declare function buildSectionTypeRelationSnapshot(sectionTypeId: string, snapshot?: {
|
|
778
|
+
title?: unknown;
|
|
779
|
+
code?: unknown;
|
|
780
|
+
description?: unknown;
|
|
781
|
+
isRepeatable?: unknown;
|
|
782
|
+
} | null): AXMSectionTypeSnapshot;
|
|
783
|
+
/**
|
|
784
|
+
* Title persisted on SafetyPlanSection. Never stores a bare UUID — the UI translate
|
|
785
|
+
* pipe treats unknown keys as empty, which made seeded section headers blank.
|
|
786
|
+
*/
|
|
787
|
+
declare function resolveSafetyPlanSectionPersistedTitle(sectionTitle: unknown, sectionTypeId: string, snapshot?: {
|
|
788
|
+
title?: unknown;
|
|
789
|
+
code?: unknown;
|
|
790
|
+
} | null): string;
|
|
737
791
|
/** True when a type-section row is marked as the plan-type default template. */
|
|
738
792
|
declare function isSafetyPlanTypeSectionDefault(row: {
|
|
739
793
|
isDefault?: unknown;
|
|
@@ -751,11 +805,11 @@ declare function buildSectionStructureFromTypeSections(typeSections: readonly AX
|
|
|
751
805
|
createId?: () => string;
|
|
752
806
|
}): AXMSafetyPlanSectionStructureValue;
|
|
753
807
|
/**
|
|
754
|
-
* Removes accidental
|
|
755
|
-
*
|
|
756
|
-
*
|
|
808
|
+
* Removes accidental ghost rows from double materialization of the same type-section
|
|
809
|
+
* source. Distinct sections of the same type are kept. Reassigns contiguous 1-based
|
|
810
|
+
* `sortOrder` to preserve display order.
|
|
757
811
|
*/
|
|
758
|
-
declare function dedupeSafetyPlanSectionStructure<T extends AXMSafetyPlanSectionStructureValue | AXMSafetyPlanSectionBuilderValue>(structure: T,
|
|
812
|
+
declare function dedupeSafetyPlanSectionStructure<T extends AXMSafetyPlanSectionStructureValue | AXMSafetyPlanSectionBuilderValue>(structure: T, _options?: {
|
|
759
813
|
repeatableSectionTypeIds?: readonly string[];
|
|
760
814
|
}): T;
|
|
761
815
|
declare function collectAllowedSectionTypeIds(typeSections: readonly AXMWorkplaceSafetyManagementSafetyPlanTypeSectionEntityModel[]): string[];
|
|
@@ -769,32 +823,9 @@ declare function validateSafetyPlanSectionStructure(structure: AXMSafetyPlanSect
|
|
|
769
823
|
declare function toBuilderValueFromStructure(structure: AXMSafetyPlanSectionStructureValue): AXMSafetyPlanSectionBuilderValue;
|
|
770
824
|
|
|
771
825
|
/**
|
|
772
|
-
* Shared helpers for Safety Plan Section
|
|
826
|
+
* Shared helpers for Safety Plan Section type identity (repeatable vs one-off).
|
|
773
827
|
* Leaf module — imports only other contract leaves (no client/server layers).
|
|
774
828
|
*/
|
|
775
|
-
declare const SAFETY_PLAN_SECTION_DUPLICATE_SECTION_TYPE_MESSAGE_KEY = "@workplacesafety-management:safety-plan-sections.messages.duplicate-section-type";
|
|
776
|
-
/** Stable API / middleware error code for duplicate section type in a plan. */
|
|
777
|
-
declare const SAFETY_PLAN_SECTION_DUPLICATE_SECTION_TYPE_CODE = "SAFETY_PLAN_SECTION_DUPLICATE_SECTION_TYPE";
|
|
778
|
-
interface AXMSafetyPlanSectionTypeIdentity {
|
|
779
|
-
id?: string;
|
|
780
|
-
sectionTypeId?: unknown;
|
|
781
|
-
sectionType?: {
|
|
782
|
-
id?: unknown;
|
|
783
|
-
isRepeatable?: boolean;
|
|
784
|
-
};
|
|
785
|
-
}
|
|
786
|
-
interface AXMSafetyPlanSectionTypeUniquenessOptions {
|
|
787
|
-
/** Section ids to ignore (e.g. the row being edited). */
|
|
788
|
-
excludeSectionId?: string;
|
|
789
|
-
/**
|
|
790
|
-
* Section type ids that may appear more than once in a plan.
|
|
791
|
-
* Types not listed are treated as non-repeatable unless the section type
|
|
792
|
-
* snapshot / built-in map marks them repeatable.
|
|
793
|
-
*/
|
|
794
|
-
repeatableSectionTypeIds?: readonly string[];
|
|
795
|
-
}
|
|
796
|
-
/** Resolves the section type id from a plan section identity or nested snapshot. */
|
|
797
|
-
declare function resolveSafetyPlanSectionTypeId(section: Pick<AXMSafetyPlanSectionTypeIdentity, 'sectionTypeId' | 'sectionType'>): string;
|
|
798
829
|
/**
|
|
799
830
|
* True when this section type may appear more than once in a Safety Plan.
|
|
800
831
|
* Checks (in order): snapshot flag, explicit allow-list, built-in section type meta.
|
|
@@ -807,21 +838,6 @@ declare function isSafetyPlanSectionTypeRepeatable(sectionTypeId: string, option
|
|
|
807
838
|
}): boolean;
|
|
808
839
|
/** Built-in section type ids that are always treated as repeatable. */
|
|
809
840
|
declare function collectBuiltInRepeatableSectionTypeIds(): string[];
|
|
810
|
-
/**
|
|
811
|
-
* Returns the first duplicate non-repeatable `sectionTypeId` in the list, or `null`
|
|
812
|
-
* when all non-repeatable types are unique. Empty / missing section type ids are ignored.
|
|
813
|
-
* Repeatable section types are allowed to appear more than once.
|
|
814
|
-
*/
|
|
815
|
-
declare function findDuplicateSafetyPlanSectionTypeId(sections: readonly AXMSafetyPlanSectionTypeIdentity[], options?: AXMSafetyPlanSectionTypeUniquenessOptions): string | null;
|
|
816
|
-
/**
|
|
817
|
-
* True when `sectionTypeId` already appears on another section in the collection
|
|
818
|
-
* and the type is not repeatable.
|
|
819
|
-
*/
|
|
820
|
-
declare function safetyPlanSectionTypeAlreadyExists(sections: readonly AXMSafetyPlanSectionTypeIdentity[], sectionTypeId: string, options?: AXMSafetyPlanSectionTypeUniquenessOptions & {
|
|
821
|
-
sectionType?: {
|
|
822
|
-
isRepeatable?: boolean;
|
|
823
|
-
};
|
|
824
|
-
}): boolean;
|
|
825
841
|
|
|
826
842
|
/** True when the section type is the Step Table host for SafetyPlanWorkStep rows. */
|
|
827
843
|
declare function isStepTableSectionType(sectionTypeId: string | undefined, snapshot?: AXMSectionTypeSnapshot): boolean;
|
|
@@ -973,25 +989,6 @@ interface AXMWorkplaceSafetyManagementHazardRiskEntityModel extends AXPEntityMod
|
|
|
973
989
|
status?: AXPSystemStatusType.Active | AXPSystemStatusType.Inactive;
|
|
974
990
|
}
|
|
975
991
|
|
|
976
|
-
interface AXMWorkplaceSafetyManagementHazardRiskPpeRuleEntityModel extends AXPEntityModel<string> {
|
|
977
|
-
hazardRiskId: string;
|
|
978
|
-
hazardRisk?: {
|
|
979
|
-
id: string;
|
|
980
|
-
title?: string;
|
|
981
|
-
code?: string;
|
|
982
|
-
};
|
|
983
|
-
ppeItemId: string;
|
|
984
|
-
ppeItem?: {
|
|
985
|
-
id: string;
|
|
986
|
-
title?: string;
|
|
987
|
-
code?: string;
|
|
988
|
-
};
|
|
989
|
-
requirementType: AXMHazardPpeRuleRequirementType;
|
|
990
|
-
conditionNote?: string;
|
|
991
|
-
usageInstruction?: string;
|
|
992
|
-
status?: AXPSystemStatusType.Active | AXPSystemStatusType.Inactive;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
992
|
interface AXMWorkplaceSafetyManagementPpeItemEntityModel extends AXPEntityModel<string> {
|
|
996
993
|
code: string;
|
|
997
994
|
title: AXPMultiLanguageString;
|
|
@@ -1033,54 +1030,6 @@ interface AXMWorkplaceSafetyManagementSafetyPlanEntityModel extends AXPEntityMod
|
|
|
1033
1030
|
sections?: AXMSafetyPlanSectionBuilderValue;
|
|
1034
1031
|
}
|
|
1035
1032
|
|
|
1036
|
-
interface AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel {
|
|
1037
|
-
sectionTypeId: string;
|
|
1038
|
-
sectionType?: {
|
|
1039
|
-
id: string;
|
|
1040
|
-
title?: string;
|
|
1041
|
-
code?: string;
|
|
1042
|
-
};
|
|
1043
|
-
/**
|
|
1044
|
-
* Step Table only — selected Work Step (WorkStepType) that defines table columns.
|
|
1045
|
-
* Persisted on the section items slot alongside row entity ids.
|
|
1046
|
-
*/
|
|
1047
|
-
workStepTypeId?: string;
|
|
1048
|
-
workStepType?: {
|
|
1049
|
-
id: string;
|
|
1050
|
-
title?: string;
|
|
1051
|
-
code?: string;
|
|
1052
|
-
};
|
|
1053
|
-
itemIds?: string[];
|
|
1054
|
-
items?: {
|
|
1055
|
-
id: string;
|
|
1056
|
-
title?: string;
|
|
1057
|
-
code?: string;
|
|
1058
|
-
}[];
|
|
1059
|
-
}
|
|
1060
|
-
interface AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel extends AXPEntityModel<string> {
|
|
1061
|
-
/** Business code from identifier rule `safety-plan-section-code` (`SPS-{seq:4}`). */
|
|
1062
|
-
code: string;
|
|
1063
|
-
safetyPlanId: string;
|
|
1064
|
-
safetyPlan?: {
|
|
1065
|
-
id: string;
|
|
1066
|
-
title?: string;
|
|
1067
|
-
code?: string;
|
|
1068
|
-
};
|
|
1069
|
-
title: string;
|
|
1070
|
-
description?: string;
|
|
1071
|
-
/** Section line items managed via repeater (embedded value objects). */
|
|
1072
|
-
items: AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel[];
|
|
1073
|
-
/**
|
|
1074
|
-
* SafetyPlanTypeSection this row was created from.
|
|
1075
|
-
* Stored as a snapshot link only — later type-section edits do not affect this plan.
|
|
1076
|
-
*/
|
|
1077
|
-
sourceSafetyPlanTypeSectionId?: string;
|
|
1078
|
-
/** List / display order within the plan. */
|
|
1079
|
-
sortOrder?: number;
|
|
1080
|
-
/** Managed by the archive plugin (`isArchived`). */
|
|
1081
|
-
isArchived?: boolean;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
1033
|
interface AXMWorkplaceSafetyManagementSafetyPlanTypeEntityModel extends AXPEntityModel<string> {
|
|
1085
1034
|
/** Business code from identifier rule `safety-plan-type-code` (`SPT-{seq:4}`). */
|
|
1086
1035
|
code: string;
|
|
@@ -1107,5 +1056,5 @@ interface AXMWorkplaceSafetyManagementSafetyTemplateEntityModel extends AXPEntit
|
|
|
1107
1056
|
}[];
|
|
1108
1057
|
}
|
|
1109
1058
|
|
|
1110
|
-
export { AXMHazardPpeRuleRequirementType, AXMHazardRegisterContextType, AXMWorkplaceSafetyManagementCommandKeys, AXMWorkplaceSafetyManagementMenuKeys, AXMWorkplaceSafetyManagementPermissionKeys, AXPSafetyRiskPermissionKeys, PARENT_HAZARD_IDS_CONTEXT_KEY, PARENT_HAZARD_RISK_IDS_CONTEXT_KEY, RISK_MANAGEMENT_HAZARD_CATALOG_SCOPE, RISK_MANAGEMENT_RISK_MATRIX_CELL_ENTITY, RISK_MANAGEMENT_RISK_RATING_ENTITY, RootConfig, SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY,
|
|
1111
|
-
export type { AXMBuiltInSectionTypeMeta, AXMControlHierarchyLevelItemModel, AXMHazardRiskRecordLoader, AXMHazardStatus, AXMSafetyPlanSectionBuilderItemValue, AXMSafetyPlanSectionBuilderSectionValue, AXMSafetyPlanSectionBuilderValue, AXMSafetyPlanSectionStructureItem, AXMSafetyPlanSectionStructureValidationContext, AXMSafetyPlanSectionStructureValidationIssue, AXMSafetyPlanSectionStructureValidationIssueCode, AXMSafetyPlanSectionStructureValue,
|
|
1059
|
+
export { AXMHazardPpeRuleRequirementType, AXMHazardRegisterContextType, AXMWorkplaceSafetyManagementCommandKeys, AXMWorkplaceSafetyManagementMenuKeys, AXMWorkplaceSafetyManagementPermissionKeys, AXPSafetyRiskPermissionKeys, PARENT_HAZARD_IDS_CONTEXT_KEY, PARENT_HAZARD_RISK_IDS_CONTEXT_KEY, RISK_MANAGEMENT_HAZARD_CATALOG_SCOPE, RISK_MANAGEMENT_RISK_MATRIX_CELL_ENTITY, RISK_MANAGEMENT_RISK_RATING_ENTITY, RootConfig, SAFETY_PLAN_SECTIONS_PAGE_COMPONENT_KEY, WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_BY_ID, WORKPLACE_SAFETY_BUILT_IN_SECTION_TYPE_IDS, WORKPLACE_SAFETY_BUILT_IN_WORK_STEP_TYPE_IDS, WORKPLACE_SAFETY_DOWNSTREAM_FROM_HAZARD, WORKPLACE_SAFETY_DOWNSTREAM_FROM_HAZARD_RISK, WORKPLACE_SAFETY_GHS_SYMBOL_OPTIONS, WORKPLACE_SAFETY_HAZARD_PPE_RULE_REQUIREMENT_TYPE_OPTIONS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_CLEAR_ON_SECTION_TYPE_TRIGGERS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_REFRESH_ON_SECTION_TYPE_EXPOSE_TRIGGERS, WORKPLACE_SAFETY_SECTION_ITEM_LOOKUP_SECTION_TYPE_TRIGGERS, WORKPLACE_SAFETY_SECTION_TYPE_DEPENDENCIES, WORKPLACE_SAFETY_SECTION_TYPE_DESCRIPTION_SYNC_TRIGGERS, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_BY_CODE, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_EXPRESSION_SIBLING, WORKPLACE_SAFETY_SECTION_TYPE_ENTITY_FALLBACK, WORKPLACE_SAFETY_SECTION_TYPE_LOOKUP_EXPOSE, WORKPLACE_SAFETY_SECTION_TYPE_LOOKUP_WIDGET_OPTIONS, WORKPLACE_SAFETY_SECTION_TYPE_TITLE_SYNC_TRIGGERS, WORKPLACE_SAFETY_TEMPLATE_TYPE_OPTIONS, asSafetyPlanDisplayText, buildSafetyPlanSectionItemLookupOptions, buildSafetyPlanSectionItemSelectorOptions, buildSectionStructureFromTypeSections, buildSectionTypeRelationSnapshot, buildWorkStepContentFromType, clearDependentItemsOnParentChange, collectAllowedSectionTypeIds, collectBuiltInRepeatableSectionTypeIds, collectRequiredSourceTypeSectionIds, createEmptyStepTableCell, createEmptyStepTableRow, dedupeSafetyPlanSectionItemSelection, dedupeSafetyPlanSectionStructure, enrichSectionTypeSnapshot, extractRiskMatrixIdsFromHazardRisks, getSectionTypeDependency, isPpeRuleSectionTypeId, isSafetyPlanSectionTypeRepeatable, isSafetyPlanTypeSectionDefault, isStepTableColumnMultiLookup, isStepTableSectionType, mapSafetyPlanSectionSelectedItems, normalizeStepTableColumns, normalizeStepTableRows, resolveEntityRefId, resolveParentHazardIds, resolveParentHazardRiskIds, resolveParentItemIds, resolveSafetyPlanSectionItemColumns, resolveSafetyPlanSectionItemEntityKey, resolveSafetyPlanSectionItemFilter, resolveSafetyPlanSectionItemFilterAsync, resolveSafetyPlanSectionPersistedTitle, resolveSectionItemEntityName, resolveSectionTypeKey, resolveStepTableColumnLookupEntity, sectionTypeKeyFromSection, sortStepTableColumns, stepTableColumnKey, stepTableColumnTitle, toBuilderValueFromStructure, toWorkStepBuilderPayload, validateSafetyPlanSectionStructure, validateSafetyPlanTypeSectionTemplate };
|
|
1060
|
+
export type { AXMBuiltInSectionTypeMeta, AXMControlHierarchyLevelItemModel, AXMHazardRiskRecordLoader, AXMHazardStatus, AXMSafetyPlanSectionBuilderItemValue, AXMSafetyPlanSectionBuilderSectionValue, AXMSafetyPlanSectionBuilderValue, AXMSafetyPlanSectionItemColumn, AXMSafetyPlanSectionStructureItem, AXMSafetyPlanSectionStructureValidationContext, AXMSafetyPlanSectionStructureValidationIssue, AXMSafetyPlanSectionStructureValidationIssueCode, AXMSafetyPlanSectionStructureValue, AXMSafetyPlanSectionWidgetOptions, AXMSafetyPlanStatus, AXMSafetyPlanStepTableRowBuilderPayload, AXMSafetyTemplateType, AXMSectionTypeCode, AXMSectionTypeDependency, AXMSectionTypeDerivedFilterDependency, AXMSectionTypeParentFilterDependency, AXMSectionTypeSnapshot, AXMStepTableCellRef, AXMStepTableCellValue, AXMStepTableColumnDef, AXMStepTableRow, AXMWorkStepTypeSnapshot, AXMWorkplaceSafetyManagementControlHierarchyLevelsEntityModel, AXMWorkplaceSafetyManagementControlMeasureEntityModel, AXMWorkplaceSafetyManagementHazardEntityModel, AXMWorkplaceSafetyManagementHazardPpeRuleEntityModel, AXMWorkplaceSafetyManagementHazardRegisterEntityModel, AXMWorkplaceSafetyManagementHazardRiskEntityModel, AXMWorkplaceSafetyManagementPpeItemEntityModel, AXMWorkplaceSafetyManagementSafetyPlanEntityModel, AXMWorkplaceSafetyManagementSafetyPlanSectionEntityModel, AXMWorkplaceSafetyManagementSafetyPlanSectionItemModel, AXMWorkplaceSafetyManagementSafetyPlanTypeEntityModel, AXMWorkplaceSafetyManagementSafetyPlanTypeSectionEntityModel, AXMWorkplaceSafetyManagementSafetyPlanTypeSectionTypeItemModel, AXMWorkplaceSafetyManagementSafetyPlanWorkStepEntityModel, AXMWorkplaceSafetyManagementSafetyTemplateEntityModel, AXMWorkplaceSafetyManagementSectionTypeEntityModel, AXMWorkplaceSafetyManagementWorkStepTypeEntityModel, WorkplaceSafetyGhsSymbolId };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
export { workplacesafetyManagementLocalEntityCatalog } from '@acorex-platform/module-workplacesafety-management-client/contracts/entity-catalog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Registers workplacesafety-management layouts on the client from packaged factories.
|
|
6
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
7
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
8
|
+
* `Domain:GetEntityLayout`.
|
|
9
|
+
*/
|
|
10
|
+
declare function provideWorkplacesafetyManagementLocalEntities(): _angular_core.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
export { provideWorkplacesafetyManagementLocalEntities };
|