@acorex/modules 21.0.0-next.89 → 21.0.0-next.90
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-modules-common.mjs +9 -9
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs → acorex-modules-conversation-acorex-modules-conversation-Dc8te-PO.mjs} +364 -237
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-Dc8te-PO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs → acorex-modules-conversation-after-message-sent.command-DxDe6o9N.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs.map → acorex-modules-conversation-after-message-sent.command-DxDe6o9N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Dyx_n0bi.mjs} +3 -3
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Dyx_n0bi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs → acorex-modules-conversation-comments-page.component--g4ugC_L.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs.map → acorex-modules-conversation-comments-page.component--g4ugC_L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs → acorex-modules-conversation-emit-typing-indicator.command-BOldPLQ0.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs.map → acorex-modules-conversation-emit-typing-indicator.command-BOldPLQ0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs → acorex-modules-conversation-mark-conversation-unread.command-O_zPrBQ0.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs.map → acorex-modules-conversation-mark-conversation-unread.command-O_zPrBQ0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs → acorex-modules-conversation-retry-assist-response.command-DsB-CP3R.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs.map → acorex-modules-conversation-retry-assist-response.command-DsB-CP3R.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs → acorex-modules-conversation-send-assist-chat-message.command-g_NgPuxP.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-g_NgPuxP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs → acorex-modules-conversation-start-assist-chat.command-DeMmJdd6.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs.map → acorex-modules-conversation-start-assist-chat.command-DeMmJdd6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs → acorex-modules-conversation-sync-read-state.command-4YxdwLaE.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs.map → acorex-modules-conversation-sync-read-state.command-4YxdwLaE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-kph3UxDu.mjs} +94 -41
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-kph3UxDu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-gjCiELmH.mjs → acorex-modules-dashboard-management-index-rp9dgARq.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-index-gjCiELmH.mjs.map → acorex-modules-dashboard-management-index-rp9dgARq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs → acorex-modules-document-management-drive-choose.component-Dx1slMSA.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs.map → acorex-modules-document-management-drive-choose.component-Dx1slMSA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +268 -351
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZwLfZkb.mjs} +42 -21
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZwLfZkb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs → acorex-modules-human-capital-management-approve-leave-request.command-B_EBDijL.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-B_EBDijL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-ZzWBeTv1.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-ZzWBeTv1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-Bd3RvlNm.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-Bd3RvlNm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs → acorex-modules-human-capital-management-edit-personal-info.command-Drbi1WMd.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs.map → acorex-modules-human-capital-management-edit-personal-info.command-Drbi1WMd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs → acorex-modules-human-capital-management-edit-signature.command-CRPqnXIj.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs.map → acorex-modules-human-capital-management-edit-signature.command-CRPqnXIj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs → acorex-modules-human-capital-management-reject-leave-request.command-BC-1Kixd.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-BC-1Kixd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-Caylq9Rv.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-Caylq9Rv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs → acorex-modules-human-capital-management-start-leave-request-flow.command-BsEwA1VM.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs.map → acorex-modules-human-capital-management-start-leave-request-flow.command-BsEwA1VM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B8xK2iTn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs.map → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B8xK2iTn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +707 -424
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs +115 -0
- package/fesm2022/acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-DTWxd_vG.mjs → acorex-modules-task-management-task-board.page-BMTjJlry.mjs} +3 -3
- package/fesm2022/{acorex-modules-task-management-task-board.page-DTWxd_vG.mjs.map → acorex-modules-task-management-task-board.page-BMTjJlry.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +433 -460
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-timesheet-management-report-hours-by-project.query-z38wZLKJ.mjs → acorex-modules-timesheet-management-report-hours-by-project.query-CGc1Q6aB.mjs} +2 -2
- package/fesm2022/acorex-modules-timesheet-management-report-hours-by-project.query-CGc1Q6aB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-BDfvz6fH.mjs → acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-AIcAUd3s.mjs} +2 -2
- package/fesm2022/{acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-BDfvz6fH.mjs.map → acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-AIcAUd3s.mjs.map} +1 -1
- package/fesm2022/acorex-modules-timesheet-management.mjs +8 -8
- package/fesm2022/acorex-modules-timesheet-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs +70 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-view.component-DwC2aHVt.mjs +70 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-view.component-DwC2aHVt.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram.types-DmzV305e.mjs +195 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram.types-DmzV305e.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management.mjs +139 -16
- package/fesm2022/acorex-modules-workplacesafety-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-dashboard-management.d.ts +30 -11
- package/types/acorex-modules-document-management.d.ts +21 -5
- package/types/acorex-modules-human-capital-management.d.ts +4 -0
- package/types/acorex-modules-project-management.d.ts +46 -23
- package/types/acorex-modules-task-management.d.ts +80 -11
- package/types/acorex-modules-timesheet-management.d.ts +2 -2
- package/types/acorex-modules-workplacesafety-management.d.ts +7 -2
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs.map +0 -1
- package/fesm2022/acorex-modules-timesheet-management-report-hours-by-project.query-z38wZLKJ.mjs.map +0 -1
|
@@ -3,9 +3,11 @@ import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
|
3
3
|
import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex/platform/common';
|
|
4
4
|
import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex/platform/core';
|
|
5
5
|
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
6
|
+
import { createSelectProperty, AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY, AXPWidgetCoreModule, AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex/platform/layout/widget-core';
|
|
6
7
|
import * as i0 from '@angular/core';
|
|
7
8
|
import { Injectable, inject, NgModule } from '@angular/core';
|
|
8
9
|
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
10
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_READONLY_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP } from '@acorex/platform/layout/widgets';
|
|
9
11
|
import { AXPWidgetsList } from '@acorex/platform/contracts';
|
|
10
12
|
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex/platform/layout/entity-contracts';
|
|
11
13
|
|
|
@@ -436,6 +438,73 @@ class AXMWorkplaceSafetyManagementSearchCommandProvider extends AXPSearchCommand
|
|
|
436
438
|
}
|
|
437
439
|
}
|
|
438
440
|
|
|
441
|
+
//#region ---- Imports ----
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region ---- Widget Config ----
|
|
444
|
+
const AXMControlHierarchyDiagramWidget = {
|
|
445
|
+
name: 'control-hierarchy-diagram-editor',
|
|
446
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.widget-title',
|
|
447
|
+
description: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.widget-description',
|
|
448
|
+
icon: 'fa-light fa-layer-group',
|
|
449
|
+
categories: AXP_WIDGETS_EDITOR_CATEGORY,
|
|
450
|
+
groups: [AXPWidgetGroupEnum.UtilityWidget],
|
|
451
|
+
type: 'editor',
|
|
452
|
+
options: {
|
|
453
|
+
needLabel: false,
|
|
454
|
+
},
|
|
455
|
+
properties: [
|
|
456
|
+
AXP_NAME_PROPERTY,
|
|
457
|
+
AXP_DATA_PATH_PROPERTY,
|
|
458
|
+
createSelectProperty({
|
|
459
|
+
name: 'viewType',
|
|
460
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.fields.view-type.title',
|
|
461
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
462
|
+
path: 'options.viewType',
|
|
463
|
+
defaultValue: { id: 'horizontal', title: 'Horizontal cards' },
|
|
464
|
+
dataSource: [
|
|
465
|
+
{
|
|
466
|
+
id: 'horizontal',
|
|
467
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal',
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
id: 'vertical',
|
|
471
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.vertical',
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
id: 'horizontal-chevron',
|
|
475
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.view-types.horizontal-chevron',
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
}),
|
|
479
|
+
AXP_READONLY_PROPERTY,
|
|
480
|
+
],
|
|
481
|
+
components: {
|
|
482
|
+
view: {
|
|
483
|
+
component: () => import('./acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-view.component-DwC2aHVt.mjs').then((c) => c.AXMControlHierarchyDiagramWidgetViewComponent),
|
|
484
|
+
},
|
|
485
|
+
edit: {
|
|
486
|
+
component: () => import('./acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs').then((c) => c.AXMControlHierarchyDiagramWidgetEditComponent),
|
|
487
|
+
},
|
|
488
|
+
designer: {
|
|
489
|
+
component: () => import('./acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs').then((c) => c.AXMControlHierarchyDiagramWidgetEditComponent),
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
};
|
|
493
|
+
//#endregion
|
|
494
|
+
|
|
495
|
+
//#endregion
|
|
496
|
+
//#region ---- Widget Provider ----
|
|
497
|
+
class AXMWorkplaceSafetyManagementWidgetsProvider {
|
|
498
|
+
getWidgets() {
|
|
499
|
+
return [AXMControlHierarchyDiagramWidget];
|
|
500
|
+
}
|
|
501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementWidgetsProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
502
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementWidgetsProvider }); }
|
|
503
|
+
}
|
|
504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementWidgetsProvider, decorators: [{
|
|
505
|
+
type: Injectable
|
|
506
|
+
}] });
|
|
507
|
+
|
|
439
508
|
const AXM_HAZARD_CODE_IDENTIFIER_RULE = {
|
|
440
509
|
id: 'hazard-code',
|
|
441
510
|
title: 'Hazard Code',
|
|
@@ -494,7 +563,7 @@ const AXM_PPE_ITEM_CODE_IDENTIFIER_RULE = {
|
|
|
494
563
|
|
|
495
564
|
class AXMWorkplaceSafetyManagementModule {
|
|
496
565
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
497
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementModule }); }
|
|
566
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, imports: [AXPWidgetCoreModule] }); }
|
|
498
567
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, providers: [
|
|
499
568
|
{
|
|
500
569
|
provide: AXP_IDENTIFIER_RULES,
|
|
@@ -553,12 +622,17 @@ class AXMWorkplaceSafetyManagementModule {
|
|
|
553
622
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-hazard-risk-ppe-rule-status.provider-BsRNRZ6z.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardRiskPpeRuleStatusProvider)),
|
|
554
623
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-control-hierarchy-levels-status.provider-D6x3LSI7.mjs').then((m) => m.AXMWorkplaceSafetyManagementControlHierarchyLevelsStatusProvider)),
|
|
555
624
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-control-measure-status.provider-BINkFgat.mjs').then((m) => m.AXMWorkplaceSafetyManagementControlMeasureStatusProvider)),
|
|
556
|
-
|
|
625
|
+
{
|
|
626
|
+
provide: AXP_WIDGET_DEFINITION_PROVIDER,
|
|
627
|
+
useClass: AXMWorkplaceSafetyManagementWidgetsProvider,
|
|
628
|
+
multi: true,
|
|
629
|
+
},
|
|
630
|
+
], imports: [AXPWidgetCoreModule] }); }
|
|
557
631
|
}
|
|
558
632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkplaceSafetyManagementModule, decorators: [{
|
|
559
633
|
type: NgModule,
|
|
560
634
|
args: [{
|
|
561
|
-
imports: [],
|
|
635
|
+
imports: [AXPWidgetCoreModule],
|
|
562
636
|
providers: [
|
|
563
637
|
{
|
|
564
638
|
provide: AXP_IDENTIFIER_RULES,
|
|
@@ -617,6 +691,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
617
691
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-hazard-risk-ppe-rule-status.provider-BsRNRZ6z.mjs').then((m) => m.AXMWorkplaceSafetyManagementHazardRiskPpeRuleStatusProvider)),
|
|
618
692
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-control-hierarchy-levels-status.provider-D6x3LSI7.mjs').then((m) => m.AXMWorkplaceSafetyManagementControlHierarchyLevelsStatusProvider)),
|
|
619
693
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-workplacesafety-management-control-measure-status.provider-BINkFgat.mjs').then((m) => m.AXMWorkplaceSafetyManagementControlMeasureStatusProvider)),
|
|
694
|
+
{
|
|
695
|
+
provide: AXP_WIDGET_DEFINITION_PROVIDER,
|
|
696
|
+
useClass: AXMWorkplaceSafetyManagementWidgetsProvider,
|
|
697
|
+
multi: true,
|
|
698
|
+
},
|
|
620
699
|
],
|
|
621
700
|
}]
|
|
622
701
|
}] });
|
|
@@ -628,6 +707,10 @@ const listSortAndFilterOptions$8 = {
|
|
|
628
707
|
sort: { enabled: true },
|
|
629
708
|
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
630
709
|
};
|
|
710
|
+
const hierarchyDiagramPropertyLayout = {
|
|
711
|
+
name: 'hierarchyDiagram',
|
|
712
|
+
layout: { positions: { lg: { colSpan: 12, order: 0 } } },
|
|
713
|
+
};
|
|
631
714
|
//#endregion
|
|
632
715
|
//#region ---- Entity factory ----
|
|
633
716
|
async function controlHierarchyLevelsEntityFactory() {
|
|
@@ -660,14 +743,43 @@ async function controlHierarchyLevelsEntityFactory() {
|
|
|
660
743
|
mode: 'free',
|
|
661
744
|
},
|
|
662
745
|
},
|
|
746
|
+
{
|
|
747
|
+
name: 'category',
|
|
748
|
+
options: {
|
|
749
|
+
appearance: { icon: true, color: true },
|
|
750
|
+
},
|
|
751
|
+
},
|
|
663
752
|
],
|
|
664
753
|
groups: [
|
|
754
|
+
{
|
|
755
|
+
id: 'visualization',
|
|
756
|
+
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.visualization',
|
|
757
|
+
},
|
|
665
758
|
{
|
|
666
759
|
id: 'basic-info',
|
|
667
760
|
title: '@workplacesafety-management:control-measure-types.entities.control-measure-type.groups.basic-info',
|
|
668
761
|
},
|
|
669
762
|
],
|
|
670
763
|
properties: [
|
|
764
|
+
{
|
|
765
|
+
name: 'hierarchyDiagram',
|
|
766
|
+
title: '@workplacesafety-management:control-measure-types.components.control-hierarchy-diagram.title',
|
|
767
|
+
groupId: 'visualization',
|
|
768
|
+
schema: {
|
|
769
|
+
dataType: 'object',
|
|
770
|
+
nullable: true,
|
|
771
|
+
readonly: true,
|
|
772
|
+
interface: {
|
|
773
|
+
type: AXPWidgetsList.Editors.ControlHierarchyDiagram,
|
|
774
|
+
options: {
|
|
775
|
+
readonly: true,
|
|
776
|
+
showLabel: false,
|
|
777
|
+
showTitle: false,
|
|
778
|
+
showViewTypeSelector: true,
|
|
779
|
+
},
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
},
|
|
671
783
|
{
|
|
672
784
|
name: 'id',
|
|
673
785
|
title: '@general:terms.common.id',
|
|
@@ -754,8 +866,9 @@ async function controlHierarchyLevelsEntityFactory() {
|
|
|
754
866
|
interfaces: {
|
|
755
867
|
master: {
|
|
756
868
|
create: {
|
|
757
|
-
sections: [{ id: 'basic-info' }],
|
|
869
|
+
sections: [{ id: 'visualization' }, { id: 'basic-info' }],
|
|
758
870
|
properties: [
|
|
871
|
+
hierarchyDiagramPropertyLayout,
|
|
759
872
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
760
873
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
761
874
|
{ name: 'effectivenessLevel', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
@@ -763,8 +876,9 @@ async function controlHierarchyLevelsEntityFactory() {
|
|
|
763
876
|
],
|
|
764
877
|
},
|
|
765
878
|
update: {
|
|
766
|
-
sections: [{ id: 'basic-info' }],
|
|
879
|
+
sections: [{ id: 'visualization' }, { id: 'basic-info' }],
|
|
767
880
|
properties: [
|
|
881
|
+
hierarchyDiagramPropertyLayout,
|
|
768
882
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
769
883
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
770
884
|
{ name: 'effectivenessLevel', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
@@ -773,8 +887,9 @@ async function controlHierarchyLevelsEntityFactory() {
|
|
|
773
887
|
},
|
|
774
888
|
single: {
|
|
775
889
|
title: '{{ title }}',
|
|
776
|
-
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
890
|
+
sections: [{ id: 'visualization' }, { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
777
891
|
properties: [
|
|
892
|
+
hierarchyDiagramPropertyLayout,
|
|
778
893
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
779
894
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
780
895
|
{ name: 'effectivenessLevel', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
@@ -2607,7 +2722,7 @@ async function ppeItemEntityFactory() {
|
|
|
2607
2722
|
title: '@workplacesafety-management:ppe-items.entities.ppe-item.fields.icon.title',
|
|
2608
2723
|
groupId: 'appearance',
|
|
2609
2724
|
options: {
|
|
2610
|
-
sort: { enabled:
|
|
2725
|
+
sort: { enabled: true },
|
|
2611
2726
|
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
2612
2727
|
},
|
|
2613
2728
|
schema: {
|
|
@@ -2616,7 +2731,10 @@ async function ppeItemEntityFactory() {
|
|
|
2616
2731
|
interface: {
|
|
2617
2732
|
type: AXPWidgetsList.Advanced.Image,
|
|
2618
2733
|
options: {
|
|
2619
|
-
|
|
2734
|
+
width: '100%',
|
|
2735
|
+
aspectRatio: '1',
|
|
2736
|
+
objectFit: 'contain',
|
|
2737
|
+
borderRadius: '8px',
|
|
2620
2738
|
},
|
|
2621
2739
|
},
|
|
2622
2740
|
},
|
|
@@ -2626,42 +2744,47 @@ async function ppeItemEntityFactory() {
|
|
|
2626
2744
|
{ name: 'code', options: { width: '140px', order: 1 } },
|
|
2627
2745
|
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
2628
2746
|
{ name: 'serialNumber', options: { width: '140px', order: 3 } },
|
|
2629
|
-
{ name: 'icon', options: { width: '72px', order: 4 } },
|
|
2630
2747
|
],
|
|
2631
2748
|
interfaces: {
|
|
2632
2749
|
master: {
|
|
2633
2750
|
create: {
|
|
2634
|
-
sections: [
|
|
2751
|
+
sections: [
|
|
2752
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
2753
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
2754
|
+
],
|
|
2635
2755
|
properties: [
|
|
2636
2756
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2637
2757
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2638
2758
|
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
2639
2759
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
2640
|
-
{ name: 'icon', layout: { positions: { lg: { colSpan:
|
|
2760
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
2641
2761
|
],
|
|
2642
2762
|
},
|
|
2643
2763
|
update: {
|
|
2644
|
-
sections: [
|
|
2764
|
+
sections: [
|
|
2765
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
2766
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
2767
|
+
],
|
|
2645
2768
|
properties: [
|
|
2646
2769
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2647
2770
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2648
2771
|
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
2649
2772
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
2650
|
-
{ name: 'icon', layout: { positions: { lg: { colSpan:
|
|
2773
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
2651
2774
|
],
|
|
2652
2775
|
},
|
|
2653
2776
|
single: {
|
|
2654
2777
|
title: '{{ title }}',
|
|
2655
2778
|
sections: [
|
|
2656
|
-
{ id: 'basic-info', layout: { positions: { lg: { colSpan:
|
|
2657
|
-
{ id: 'appearance', layout: { positions: { lg: { colSpan:
|
|
2779
|
+
{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },
|
|
2780
|
+
{ id: 'appearance', order: 1, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },
|
|
2658
2781
|
],
|
|
2659
2782
|
properties: [
|
|
2660
2783
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2661
2784
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2662
2785
|
{ name: 'serialNumber', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
2663
2786
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
2664
|
-
{ name: 'icon', layout: { positions: { lg: { colSpan:
|
|
2787
|
+
{ name: 'icon', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
2665
2788
|
],
|
|
2666
2789
|
actions: [...entityMasterRecordActions()],
|
|
2667
2790
|
},
|