@acorex/connectivity 21.0.0-next.59 → 21.0.0-next.64
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-connectivity-mock-acorex-connectivity-mock-SjZSega-.mjs → acorex-connectivity-mock-acorex-connectivity-mock-C6axmkB2.mjs} +1237 -1573
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-C6axmkB2.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-BF9U-Hd6.mjs → acorex-connectivity-mock-assign-to-manager.activity-Dau7E9wl.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-BF9U-Hd6.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-Dau7E9wl.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-DhNpfDnJ.mjs → acorex-connectivity-mock-chat-generate-image.command-CckAjEoF.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-DhNpfDnJ.mjs.map → acorex-connectivity-mock-chat-generate-image.command-CckAjEoF.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-Bz-zOFK0.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-CJqZSfNK.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-Bz-zOFK0.mjs.map → acorex-connectivity-mock-chat-synthesize-speech.command-CJqZSfNK.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-frk47mU7.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-BDHOQPlw.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-frk47mU7.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-BDHOQPlw.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-CAhDQnWv.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-BQ3gSYPz.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-CAhDQnWv.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-BQ3gSYPz.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-mock.d.ts +6 -26
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-SjZSega-.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs +0 -56
- package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs +0 -49
- package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs +0 -60
- package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs +0 -61
- package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs.map +0 -1
|
@@ -5605,6 +5605,43 @@ const COMMAND_REGISTRY_SEED = [
|
|
|
5605
5605
|
]
|
|
5606
5606
|
}
|
|
5607
5607
|
},
|
|
5608
|
+
{
|
|
5609
|
+
"id": "cmd_a7f3e2b91c04",
|
|
5610
|
+
"definition": {
|
|
5611
|
+
"name": "AssessmentManagement.AssessmentSession:ViewOutcomes",
|
|
5612
|
+
"active": true,
|
|
5613
|
+
"description": "ViewSessionOutcomesCommand opens a dialog with stored session.outcomes snapshots (no re-evaluation) for ViewSessionOutcomesCommandInput.sessionId.",
|
|
5614
|
+
"inputOptionDefinitions": [
|
|
5615
|
+
{
|
|
5616
|
+
"name": "sessionId",
|
|
5617
|
+
"title": "Session ID",
|
|
5618
|
+
"interface": {
|
|
5619
|
+
"name": "text-editor",
|
|
5620
|
+
"title": "Session ID",
|
|
5621
|
+
"options": {}
|
|
5622
|
+
},
|
|
5623
|
+
"description": "Assessment Session ID to view stored outcome results for.",
|
|
5624
|
+
"validations": [
|
|
5625
|
+
{
|
|
5626
|
+
"rule": "required"
|
|
5627
|
+
}
|
|
5628
|
+
]
|
|
5629
|
+
}
|
|
5630
|
+
],
|
|
5631
|
+
"outputOptionDefinitions": [],
|
|
5632
|
+
"catalogTitle": "View session outcome results",
|
|
5633
|
+
"executionMode": "frontend",
|
|
5634
|
+
"outcomesDefinitionJson": "{\n \"mode\": \"static\",\n \"values\": [\n \"completed\"\n ]\n}",
|
|
5635
|
+
"aiMetadataJson": "{\n \"tags\": [\n \"assessment\",\n \"session\",\n \"outcomes\"\n ]\n}",
|
|
5636
|
+
"categories": [
|
|
5637
|
+
{
|
|
5638
|
+
"name": "assessment",
|
|
5639
|
+
"order": 11,
|
|
5640
|
+
"title": "Assessment"
|
|
5641
|
+
}
|
|
5642
|
+
]
|
|
5643
|
+
}
|
|
5644
|
+
},
|
|
5608
5645
|
{
|
|
5609
5646
|
"id": "cmd_77791c191333",
|
|
5610
5647
|
"definition": {
|
|
@@ -8662,84 +8699,6 @@ const COMMAND_REGISTRY_SEED = [
|
|
|
8662
8699
|
]
|
|
8663
8700
|
}
|
|
8664
8701
|
},
|
|
8665
|
-
{
|
|
8666
|
-
"id": "cmd_fd87d27e72b9",
|
|
8667
|
-
"definition": {
|
|
8668
|
-
"name": "workflow-activity:complete-signature-process",
|
|
8669
|
-
"active": true,
|
|
8670
|
-
"description": "Mock finalize step for a signature request (validates inputs; execute logs only).",
|
|
8671
|
-
"inputOptionDefinitions": [
|
|
8672
|
-
{
|
|
8673
|
-
"name": "signatureRequestId",
|
|
8674
|
-
"title": "Signature request ID",
|
|
8675
|
-
"interface": {
|
|
8676
|
-
"name": "text-editor",
|
|
8677
|
-
"title": "Signature request ID",
|
|
8678
|
-
"options": {}
|
|
8679
|
-
},
|
|
8680
|
-
"description": "Signature request identifier.",
|
|
8681
|
-
"validations": [
|
|
8682
|
-
{
|
|
8683
|
-
"rule": "required"
|
|
8684
|
-
}
|
|
8685
|
-
]
|
|
8686
|
-
},
|
|
8687
|
-
{
|
|
8688
|
-
"name": "refId",
|
|
8689
|
-
"title": "Reference ID",
|
|
8690
|
-
"interface": {
|
|
8691
|
-
"name": "text-editor",
|
|
8692
|
-
"title": "Reference ID",
|
|
8693
|
-
"options": {}
|
|
8694
|
-
},
|
|
8695
|
-
"description": "Entity record id.",
|
|
8696
|
-
"validations": [
|
|
8697
|
-
{
|
|
8698
|
-
"rule": "required"
|
|
8699
|
-
}
|
|
8700
|
-
]
|
|
8701
|
-
},
|
|
8702
|
-
{
|
|
8703
|
-
"name": "refType",
|
|
8704
|
-
"title": "Reference type",
|
|
8705
|
-
"interface": {
|
|
8706
|
-
"name": "text-editor",
|
|
8707
|
-
"title": "Reference type",
|
|
8708
|
-
"options": {}
|
|
8709
|
-
},
|
|
8710
|
-
"description": "module.entity style type key.",
|
|
8711
|
-
"validations": [
|
|
8712
|
-
{
|
|
8713
|
-
"rule": "required"
|
|
8714
|
-
}
|
|
8715
|
-
]
|
|
8716
|
-
}
|
|
8717
|
-
],
|
|
8718
|
-
"outputOptionDefinitions": [
|
|
8719
|
-
{
|
|
8720
|
-
"name": "completed",
|
|
8721
|
-
"title": "Completed",
|
|
8722
|
-
"interface": {
|
|
8723
|
-
"name": "toggle-editor",
|
|
8724
|
-
"title": "Completed",
|
|
8725
|
-
"options": {}
|
|
8726
|
-
},
|
|
8727
|
-
"description": "Boolean completion flag in data."
|
|
8728
|
-
}
|
|
8729
|
-
],
|
|
8730
|
-
"catalogTitle": "Complete signature process",
|
|
8731
|
-
"executionMode": "backend",
|
|
8732
|
-
"outcomesDefinitionJson": "{\n \"mode\": \"static\",\n \"values\": [\n \"Done\",\n \"Failed\"\n ]\n}",
|
|
8733
|
-
"aiMetadataJson": "{\n \"shortDescription\": \"Mock completion stub (no entity write in execute).\",\n \"instruction\": \"CompleteSignatureProcessActivity validates signatureRequestId, refId, refType; injects AXPEntityStorageService but execute only logs and returns success true, data.completed true, metadata.outcome Done. On validation/error success false, data.completed false, metadata.outcome Failed.\",\n \"tags\": [\n \"workflow\",\n \"mock\",\n \"signature\"\n ]\n}",
|
|
8734
|
-
"categories": [
|
|
8735
|
-
{
|
|
8736
|
-
"name": "workflow",
|
|
8737
|
-
"order": 5,
|
|
8738
|
-
"title": "Workflow"
|
|
8739
|
-
}
|
|
8740
|
-
]
|
|
8741
|
-
}
|
|
8742
|
-
},
|
|
8743
8702
|
{
|
|
8744
8703
|
"id": "cmd_457d0300efe5",
|
|
8745
8704
|
"definition": {
|
|
@@ -9516,177 +9475,6 @@ const COMMAND_REGISTRY_SEED = [
|
|
|
9516
9475
|
]
|
|
9517
9476
|
}
|
|
9518
9477
|
},
|
|
9519
|
-
{
|
|
9520
|
-
"id": "cmd_94e7ad1099f4",
|
|
9521
|
-
"definition": {
|
|
9522
|
-
"name": "workflow-activity:notify-signers",
|
|
9523
|
-
"active": true,
|
|
9524
|
-
"description": "Mock notify signers: returns count equal to input signer list length.",
|
|
9525
|
-
"inputOptionDefinitions": [
|
|
9526
|
-
{
|
|
9527
|
-
"name": "signatureRequestId",
|
|
9528
|
-
"title": "Signature request ID",
|
|
9529
|
-
"interface": {
|
|
9530
|
-
"name": "text-editor",
|
|
9531
|
-
"title": "Signature request ID",
|
|
9532
|
-
"options": {}
|
|
9533
|
-
},
|
|
9534
|
-
"description": "Signature request to notify about.",
|
|
9535
|
-
"validations": [
|
|
9536
|
-
{
|
|
9537
|
-
"rule": "required"
|
|
9538
|
-
}
|
|
9539
|
-
]
|
|
9540
|
-
},
|
|
9541
|
-
{
|
|
9542
|
-
"name": "signers",
|
|
9543
|
-
"title": "Signers",
|
|
9544
|
-
"interface": {
|
|
9545
|
-
"name": "large-text-editor",
|
|
9546
|
-
"title": "Signers",
|
|
9547
|
-
"options": {}
|
|
9548
|
-
},
|
|
9549
|
-
"description": "List of signer user ids to notify.",
|
|
9550
|
-
"validations": [
|
|
9551
|
-
{
|
|
9552
|
-
"rule": "required"
|
|
9553
|
-
}
|
|
9554
|
-
]
|
|
9555
|
-
},
|
|
9556
|
-
{
|
|
9557
|
-
"name": "message",
|
|
9558
|
-
"title": "Message",
|
|
9559
|
-
"interface": {
|
|
9560
|
-
"name": "large-text-editor",
|
|
9561
|
-
"title": "Message",
|
|
9562
|
-
"options": {}
|
|
9563
|
-
},
|
|
9564
|
-
"description": "Optional; accepted on input but not used in execute body beyond validation."
|
|
9565
|
-
}
|
|
9566
|
-
],
|
|
9567
|
-
"outputOptionDefinitions": [
|
|
9568
|
-
{
|
|
9569
|
-
"name": "notifiedCount",
|
|
9570
|
-
"title": "Notified count",
|
|
9571
|
-
"interface": {
|
|
9572
|
-
"name": "number-editor",
|
|
9573
|
-
"title": "Notified count",
|
|
9574
|
-
"options": {}
|
|
9575
|
-
},
|
|
9576
|
-
"description": "Number of signers (mock always equals input signers length on success)."
|
|
9577
|
-
}
|
|
9578
|
-
],
|
|
9579
|
-
"catalogTitle": "Notify signers",
|
|
9580
|
-
"executionMode": "backend",
|
|
9581
|
-
"outcomesDefinitionJson": "{\n \"mode\": \"static\",\n \"values\": [\n \"Done\",\n \"Failed\"\n ]\n}",
|
|
9582
|
-
"aiMetadataJson": "{\n \"shortDescription\": \"Mock signer notification counter.\",\n \"instruction\": \"NotifySignersActivity requires signatureRequestId and non-empty signers; returns notifiedCount equal to signers.length, success true, metadata.outcome Done. On validation failure success false, notifiedCount 0, metadata.outcome Failed.\",\n \"tags\": [\n \"workflow\",\n \"mock\",\n \"signature\"\n ]\n}",
|
|
9583
|
-
"categories": [
|
|
9584
|
-
{
|
|
9585
|
-
"name": "workflow",
|
|
9586
|
-
"order": 5,
|
|
9587
|
-
"title": "Workflow"
|
|
9588
|
-
}
|
|
9589
|
-
]
|
|
9590
|
-
}
|
|
9591
|
-
},
|
|
9592
|
-
{
|
|
9593
|
-
"id": "cmd_b850121bb29e",
|
|
9594
|
-
"definition": {
|
|
9595
|
-
"name": "workflow-activity:request-signature",
|
|
9596
|
-
"active": true,
|
|
9597
|
-
"description": "Mock create signature request id from ref and signers (no persistence).",
|
|
9598
|
-
"inputOptionDefinitions": [
|
|
9599
|
-
{
|
|
9600
|
-
"name": "refId",
|
|
9601
|
-
"title": "Reference ID",
|
|
9602
|
-
"interface": {
|
|
9603
|
-
"name": "text-editor",
|
|
9604
|
-
"title": "Reference ID",
|
|
9605
|
-
"options": {}
|
|
9606
|
-
},
|
|
9607
|
-
"description": "Entity record id to sign.",
|
|
9608
|
-
"validations": [
|
|
9609
|
-
{
|
|
9610
|
-
"rule": "required"
|
|
9611
|
-
}
|
|
9612
|
-
]
|
|
9613
|
-
},
|
|
9614
|
-
{
|
|
9615
|
-
"name": "refType",
|
|
9616
|
-
"title": "Reference type",
|
|
9617
|
-
"interface": {
|
|
9618
|
-
"name": "text-editor",
|
|
9619
|
-
"title": "Reference type",
|
|
9620
|
-
"options": {}
|
|
9621
|
-
},
|
|
9622
|
-
"description": "Entity type key for the signed document.",
|
|
9623
|
-
"validations": [
|
|
9624
|
-
{
|
|
9625
|
-
"rule": "required"
|
|
9626
|
-
}
|
|
9627
|
-
]
|
|
9628
|
-
},
|
|
9629
|
-
{
|
|
9630
|
-
"name": "signers",
|
|
9631
|
-
"title": "Signers",
|
|
9632
|
-
"interface": {
|
|
9633
|
-
"name": "large-text-editor",
|
|
9634
|
-
"title": "Signers",
|
|
9635
|
-
"options": {}
|
|
9636
|
-
},
|
|
9637
|
-
"description": "Non-empty list of signer user ids.",
|
|
9638
|
-
"validations": [
|
|
9639
|
-
{
|
|
9640
|
-
"rule": "required"
|
|
9641
|
-
}
|
|
9642
|
-
]
|
|
9643
|
-
},
|
|
9644
|
-
{
|
|
9645
|
-
"name": "workflowName",
|
|
9646
|
-
"title": "Workflow name",
|
|
9647
|
-
"interface": {
|
|
9648
|
-
"name": "text-editor",
|
|
9649
|
-
"title": "Workflow name",
|
|
9650
|
-
"options": {}
|
|
9651
|
-
},
|
|
9652
|
-
"description": "Optional; when set, workflowInstanceId is `${workflowName}-${signatureRequestId}`."
|
|
9653
|
-
}
|
|
9654
|
-
],
|
|
9655
|
-
"outputOptionDefinitions": [
|
|
9656
|
-
{
|
|
9657
|
-
"name": "signatureRequestId",
|
|
9658
|
-
"title": "Signature request ID",
|
|
9659
|
-
"interface": {
|
|
9660
|
-
"name": "text-editor",
|
|
9661
|
-
"title": "Signature request ID",
|
|
9662
|
-
"options": {}
|
|
9663
|
-
},
|
|
9664
|
-
"description": "Generated UUID for the signature request."
|
|
9665
|
-
},
|
|
9666
|
-
{
|
|
9667
|
-
"name": "workflowInstanceId",
|
|
9668
|
-
"title": "Workflow instance ID",
|
|
9669
|
-
"interface": {
|
|
9670
|
-
"name": "text-editor",
|
|
9671
|
-
"title": "Workflow instance ID",
|
|
9672
|
-
"options": {}
|
|
9673
|
-
},
|
|
9674
|
-
"description": "Present only when workflowName provided."
|
|
9675
|
-
}
|
|
9676
|
-
],
|
|
9677
|
-
"catalogTitle": "Request signature",
|
|
9678
|
-
"executionMode": "backend",
|
|
9679
|
-
"outcomesDefinitionJson": "{\n \"mode\": \"static\",\n \"values\": [\n \"Done\",\n \"Failed\"\n ]\n}",
|
|
9680
|
-
"aiMetadataJson": "{\n \"shortDescription\": \"Mock: creates signature request id (no persistence).\",\n \"instruction\": \"RequestSignatureActivity validates refId, refType, and non-empty signers; generates signatureRequestId via AXPDataGenerator.uuid; optional workflowInstanceId when workflowName set. success true metadata.outcome Done. On validation/error success false, empty id, metadata.outcome Failed.\",\n \"tags\": [\n \"workflow\",\n \"mock\",\n \"signature\"\n ]\n}",
|
|
9681
|
-
"categories": [
|
|
9682
|
-
{
|
|
9683
|
-
"name": "workflow",
|
|
9684
|
-
"order": 5,
|
|
9685
|
-
"title": "Workflow"
|
|
9686
|
-
}
|
|
9687
|
-
]
|
|
9688
|
-
}
|
|
9689
|
-
},
|
|
9690
9478
|
{
|
|
9691
9479
|
"id": "cmd_a8a5f475004e",
|
|
9692
9480
|
"definition": {
|
|
@@ -9964,79 +9752,6 @@ const COMMAND_REGISTRY_SEED = [
|
|
|
9964
9752
|
]
|
|
9965
9753
|
}
|
|
9966
9754
|
},
|
|
9967
|
-
{
|
|
9968
|
-
"id": "cmd_1b453b0fe342",
|
|
9969
|
-
"definition": {
|
|
9970
|
-
"name": "workflow-activity:validate-all-signatures",
|
|
9971
|
-
"active": true,
|
|
9972
|
-
"description": "Mock signature progress check (random signed count for demo).",
|
|
9973
|
-
"inputOptionDefinitions": [
|
|
9974
|
-
{
|
|
9975
|
-
"name": "signatureRequestId",
|
|
9976
|
-
"title": "Signature request ID",
|
|
9977
|
-
"interface": {
|
|
9978
|
-
"name": "text-editor",
|
|
9979
|
-
"title": "Signature request ID",
|
|
9980
|
-
"options": {}
|
|
9981
|
-
},
|
|
9982
|
-
"description": "Request id (logged; mock does not load storage).",
|
|
9983
|
-
"validations": [
|
|
9984
|
-
{
|
|
9985
|
-
"rule": "required"
|
|
9986
|
-
}
|
|
9987
|
-
]
|
|
9988
|
-
},
|
|
9989
|
-
{
|
|
9990
|
-
"name": "requiredSigners",
|
|
9991
|
-
"title": "Required signers",
|
|
9992
|
-
"interface": {
|
|
9993
|
-
"name": "number-editor",
|
|
9994
|
-
"title": "Required signers",
|
|
9995
|
-
"options": {}
|
|
9996
|
-
},
|
|
9997
|
-
"description": "Minimum count must be >= 1.",
|
|
9998
|
-
"validations": [
|
|
9999
|
-
{
|
|
10000
|
-
"rule": "required"
|
|
10001
|
-
}
|
|
10002
|
-
]
|
|
10003
|
-
}
|
|
10004
|
-
],
|
|
10005
|
-
"outputOptionDefinitions": [
|
|
10006
|
-
{
|
|
10007
|
-
"name": "allSigned",
|
|
10008
|
-
"title": "All signed",
|
|
10009
|
-
"interface": {
|
|
10010
|
-
"name": "toggle-editor",
|
|
10011
|
-
"title": "All signed",
|
|
10012
|
-
"options": {}
|
|
10013
|
-
},
|
|
10014
|
-
"description": "True when mock signedCount >= requiredSigners."
|
|
10015
|
-
},
|
|
10016
|
-
{
|
|
10017
|
-
"name": "signedCount",
|
|
10018
|
-
"title": "Signed count",
|
|
10019
|
-
"interface": {
|
|
10020
|
-
"name": "number-editor",
|
|
10021
|
-
"title": "Signed count",
|
|
10022
|
-
"options": {}
|
|
10023
|
-
},
|
|
10024
|
-
"description": "Random mock count in inclusive range 0..requiredSigners."
|
|
10025
|
-
}
|
|
10026
|
-
],
|
|
10027
|
-
"catalogTitle": "Validate all signatures",
|
|
10028
|
-
"executionMode": "backend",
|
|
10029
|
-
"outcomesDefinitionJson": "{\n \"mode\": \"static\",\n \"values\": [\n \"AllSigned\",\n \"Pending\",\n \"Failed\"\n ]\n}",
|
|
10030
|
-
"aiMetadataJson": "{\n \"shortDescription\": \"Mock validation with random signed count (non-production).\",\n \"instruction\": \"ValidateAllSignaturesActivity requires signatureRequestId and requiredSigners >= 1; computes signedCount as random integer in [0, requiredSigners] via Math.floor(Math.random() * (requiredSigners + 1)); allSigned when signedCount >= requiredSigners. success true, metadata.outcome AllSigned or Pending. On validation/error success false, metadata.outcome Failed.\",\n \"tags\": [\n \"workflow\",\n \"mock\",\n \"signature\"\n ]\n}",
|
|
10031
|
-
"categories": [
|
|
10032
|
-
{
|
|
10033
|
-
"name": "workflow",
|
|
10034
|
-
"order": 5,
|
|
10035
|
-
"title": "Workflow"
|
|
10036
|
-
}
|
|
10037
|
-
]
|
|
10038
|
-
}
|
|
10039
|
-
},
|
|
10040
9755
|
{
|
|
10041
9756
|
"id": "cmd_76b6525231da",
|
|
10042
9757
|
"definition": {
|
|
@@ -21457,7 +21172,7 @@ class AXCAiManagementMockModule {
|
|
|
21457
21172
|
provideCommandSetups([
|
|
21458
21173
|
{
|
|
21459
21174
|
key: 'AiManagement:ChatGenerateImage',
|
|
21460
|
-
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-
|
|
21175
|
+
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-CckAjEoF.mjs').then((c) => c.AiManagementChatGenerateImageCommand),
|
|
21461
21176
|
},
|
|
21462
21177
|
{
|
|
21463
21178
|
key: 'AiManagement:ExtractDocumentText',
|
|
@@ -21469,11 +21184,11 @@ class AXCAiManagementMockModule {
|
|
|
21469
21184
|
},
|
|
21470
21185
|
{
|
|
21471
21186
|
key: 'AiManagement:ChatTranscribeSpeech',
|
|
21472
|
-
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-
|
|
21187
|
+
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-BDHOQPlw.mjs').then((c) => c.AiManagementChatTranscribeSpeechCommand),
|
|
21473
21188
|
},
|
|
21474
21189
|
{
|
|
21475
21190
|
key: 'AiManagement:ChatSynthesizeSpeech',
|
|
21476
|
-
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-
|
|
21191
|
+
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-CJqZSfNK.mjs').then((c) => c.AiManagementChatSynthesizeSpeechCommand),
|
|
21477
21192
|
},
|
|
21478
21193
|
]),
|
|
21479
21194
|
] }); }
|
|
@@ -21526,7 +21241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
21526
21241
|
provideCommandSetups([
|
|
21527
21242
|
{
|
|
21528
21243
|
key: 'AiManagement:ChatGenerateImage',
|
|
21529
|
-
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-
|
|
21244
|
+
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-CckAjEoF.mjs').then((c) => c.AiManagementChatGenerateImageCommand),
|
|
21530
21245
|
},
|
|
21531
21246
|
{
|
|
21532
21247
|
key: 'AiManagement:ExtractDocumentText',
|
|
@@ -21538,11 +21253,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
21538
21253
|
},
|
|
21539
21254
|
{
|
|
21540
21255
|
key: 'AiManagement:ChatTranscribeSpeech',
|
|
21541
|
-
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-
|
|
21256
|
+
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-BDHOQPlw.mjs').then((c) => c.AiManagementChatTranscribeSpeechCommand),
|
|
21542
21257
|
},
|
|
21543
21258
|
{
|
|
21544
21259
|
key: 'AiManagement:ChatSynthesizeSpeech',
|
|
21545
|
-
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-
|
|
21260
|
+
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-CJqZSfNK.mjs').then((c) => c.AiManagementChatSynthesizeSpeechCommand),
|
|
21546
21261
|
},
|
|
21547
21262
|
]),
|
|
21548
21263
|
],
|
|
@@ -23980,7 +23695,7 @@ function teamLeadScaleItem(name, titleEn, titleFa, questionEn, questionFa, categ
|
|
|
23980
23695
|
}
|
|
23981
23696
|
//#endregion
|
|
23982
23697
|
/**
|
|
23983
|
-
* Company-wide team-lead competency bank items (software context). Variable names use the `tls_` prefix for
|
|
23698
|
+
* Company-wide team-lead competency bank items (software context). Variable names use the `tls_` prefix for outcomes.
|
|
23984
23699
|
*/
|
|
23985
23700
|
const teamLeadCompetenciesQuestionBankItems = [
|
|
23986
23701
|
//#region ---- Technical & professional ----
|
|
@@ -24435,6 +24150,61 @@ const QPM = () => pickQuestionnaireCategory('Plant Maintenance');
|
|
|
24435
24150
|
const QCP = () => pickQuestionnaireCategory('Compliance & Permits');
|
|
24436
24151
|
/** Questionnaires folder for team lead / supervisor evaluations. */
|
|
24437
24152
|
const QTLE = () => pickQuestionnaireCategory('Team Lead Evaluation');
|
|
24153
|
+
/** Wraps outcome items in the default single-section shape used by questionnaire mocks. */
|
|
24154
|
+
function createQuestionnaireOutcomesSection(items, title = createMultiLanguageString('Outcomes', 'نتایج')) {
|
|
24155
|
+
return {
|
|
24156
|
+
sections: items.length
|
|
24157
|
+
? [
|
|
24158
|
+
{
|
|
24159
|
+
name: 'outcomes',
|
|
24160
|
+
title,
|
|
24161
|
+
order: 0,
|
|
24162
|
+
items,
|
|
24163
|
+
},
|
|
24164
|
+
]
|
|
24165
|
+
: [],
|
|
24166
|
+
};
|
|
24167
|
+
}
|
|
24168
|
+
//#endregion
|
|
24169
|
+
|
|
24170
|
+
//#region ---- Imports ----
|
|
24171
|
+
//#endregion
|
|
24172
|
+
//#region ---- Compliance — Governance ----
|
|
24173
|
+
const CP_GOVERNANCE_OUTCOMES = [
|
|
24174
|
+
{
|
|
24175
|
+
id: AXPDataGenerator.uuid(),
|
|
24176
|
+
name: 'comp_resilience_index',
|
|
24177
|
+
title: createMultiLanguageString('Resilience index', 'شاخص تابآوری'),
|
|
24178
|
+
description: createMultiLanguageString('Governance strength minus drill decay', 'قدرت حاکمیتی منهای کهنگی مانور'),
|
|
24179
|
+
resultKind: 'number',
|
|
24180
|
+
expression: "fn.ROUND(fn.MIN(100, fn.MAX(0, Number(answer.eval('comp_governance')) * 18 - Number(answer.eval('comp_months_drill')) * 3 + 10)), 0)",
|
|
24181
|
+
},
|
|
24182
|
+
{
|
|
24183
|
+
id: AXPDataGenerator.uuid(),
|
|
24184
|
+
name: 'comp_resilience_status',
|
|
24185
|
+
title: createMultiLanguageString('Resilience status', 'وضعیت تابآوری'),
|
|
24186
|
+
resultKind: 'string',
|
|
24187
|
+
expression: "Number(outcome.eval('comp_resilience_index')) >= 70 ? 'Strong' : Number(outcome.eval('comp_resilience_index')) >= 45 ? 'Moderate' : 'Improve'",
|
|
24188
|
+
},
|
|
24189
|
+
];
|
|
24190
|
+
//#endregion
|
|
24191
|
+
//#region ---- Compliance — Permits ----
|
|
24192
|
+
const CP_PERMITS_OUTCOMES = [
|
|
24193
|
+
{
|
|
24194
|
+
id: AXPDataGenerator.uuid(),
|
|
24195
|
+
name: 'comp_readiness_score',
|
|
24196
|
+
title: createMultiLanguageString('Readiness score', 'امتیاز آمادگی'),
|
|
24197
|
+
resultKind: 'number',
|
|
24198
|
+
expression: "fn.ROUND(fn.MIN(100, (answer.eval('comp_audit_ready') === 'yes' ? 42 : 8) + (answer.eval('comp_permit_valid') === 'yes' ? 42 : 12) + Number(answer.eval('comp_training_current')) * 3.2), 0)",
|
|
24199
|
+
},
|
|
24200
|
+
{
|
|
24201
|
+
id: AXPDataGenerator.uuid(),
|
|
24202
|
+
name: 'comp_readiness_next_step',
|
|
24203
|
+
title: createMultiLanguageString('Next step', 'گام بعدی'),
|
|
24204
|
+
resultKind: 'string',
|
|
24205
|
+
expression: "Number(outcome.eval('comp_readiness_score')) >= 75 ? 'Keep cadence' : 'Schedule remediation workshop'",
|
|
24206
|
+
},
|
|
24207
|
+
];
|
|
24438
24208
|
//#endregion
|
|
24439
24209
|
|
|
24440
24210
|
//#region ---- Imports ----
|
|
@@ -24461,7 +24231,7 @@ const compliancePermitsQuestionnaires = [
|
|
|
24461
24231
|
post: {
|
|
24462
24232
|
reviewEnabled: false,
|
|
24463
24233
|
summaryEnabled: true,
|
|
24464
|
-
|
|
24234
|
+
showOutcomeResults: true,
|
|
24465
24235
|
summaryContent: {
|
|
24466
24236
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
24467
24237
|
'<p>Resilience index: <strong>{{comp_resilience_index}}</strong> / 100</p>' +
|
|
@@ -24516,6 +24286,7 @@ const compliancePermitsQuestionnaires = [
|
|
|
24516
24286
|
},
|
|
24517
24287
|
],
|
|
24518
24288
|
},
|
|
24289
|
+
outcomes: createQuestionnaireOutcomesSection(CP_GOVERNANCE_OUTCOMES),
|
|
24519
24290
|
scoringType: 'none',
|
|
24520
24291
|
timeLimit: 720,
|
|
24521
24292
|
allowPause: true,
|
|
@@ -24535,7 +24306,7 @@ const compliancePermitsQuestionnaires = [
|
|
|
24535
24306
|
post: {
|
|
24536
24307
|
reviewEnabled: false,
|
|
24537
24308
|
summaryEnabled: true,
|
|
24538
|
-
|
|
24309
|
+
showOutcomeResults: true,
|
|
24539
24310
|
summaryContent: {
|
|
24540
24311
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
24541
24312
|
'<p>Readiness score: <strong>{{comp_readiness_score}}</strong> / 100</p>' +
|
|
@@ -24604,6 +24375,7 @@ const compliancePermitsQuestionnaires = [
|
|
|
24604
24375
|
},
|
|
24605
24376
|
],
|
|
24606
24377
|
},
|
|
24378
|
+
outcomes: createQuestionnaireOutcomesSection(CP_PERMITS_OUTCOMES),
|
|
24607
24379
|
scoringType: 'none',
|
|
24608
24380
|
timeLimit: 900,
|
|
24609
24381
|
allowPause: true,
|
|
@@ -24616,10 +24388,51 @@ const compliancePermitsQuestionnaires = [
|
|
|
24616
24388
|
];
|
|
24617
24389
|
//#endregion
|
|
24618
24390
|
|
|
24391
|
+
//#region ---- Imports ----
|
|
24392
|
+
//#endregion
|
|
24393
|
+
//#region ---- General — Team alignment ----
|
|
24394
|
+
const GENERAL_TEAM_PULSE_OUTCOMES = [
|
|
24395
|
+
{
|
|
24396
|
+
id: AXPDataGenerator.uuid(),
|
|
24397
|
+
name: 'gen_alignment_index',
|
|
24398
|
+
title: createMultiLanguageString('Alignment index', 'شاخص همترازی'),
|
|
24399
|
+
description: createMultiLanguageString('0–100 from two 1–5 ratings', '۰–۱۰۰ از دو امتیاز ۱–۵'),
|
|
24400
|
+
resultKind: 'number',
|
|
24401
|
+
expression: "fn.ROUND(((Number(answer.eval('gen_priority_clarity')) + Number(answer.eval('gen_manager_support'))) / 2 - 1) / 4 * 100, 0)",
|
|
24402
|
+
},
|
|
24403
|
+
{
|
|
24404
|
+
id: AXPDataGenerator.uuid(),
|
|
24405
|
+
name: 'gen_alignment_band',
|
|
24406
|
+
title: createMultiLanguageString('Alignment band', 'باند همترازی'),
|
|
24407
|
+
resultKind: 'string',
|
|
24408
|
+
expression: "Number(outcome.eval('gen_alignment_index')) >= 70 ? 'Aligned' : Number(outcome.eval('gen_alignment_index')) >= 40 ? 'Mixed' : 'At risk'",
|
|
24409
|
+
},
|
|
24410
|
+
];
|
|
24411
|
+
//#endregion
|
|
24412
|
+
//#region ---- General — Office workplace quality ----
|
|
24413
|
+
const GENERAL_OFFICE_QUALITY_OUTCOMES = [
|
|
24414
|
+
{
|
|
24415
|
+
id: AXPDataGenerator.uuid(),
|
|
24416
|
+
name: 'office_quality_index',
|
|
24417
|
+
title: createMultiLanguageString('Office quality index', 'شاخص کیفیت محیط اداری'),
|
|
24418
|
+
description: createMultiLanguageString('0–100 from seven 1–5 ratings (ergonomics through amenities)', '۰–۱۰۰ از هفت امتیاز ۱–۵ (ارگونومی تا امکانات)'),
|
|
24419
|
+
resultKind: 'number',
|
|
24420
|
+
expression: "fn.ROUND(((Number(answer.eval('off_ergo')) + Number(answer.eval('off_light')) + Number(answer.eval('off_noise')) + Number(answer.eval('off_climate')) + Number(answer.eval('off_space')) + Number(answer.eval('off_focus')) + Number(answer.eval('off_amenities'))) / 7 - 1) / 4 * 100, 0)",
|
|
24421
|
+
},
|
|
24422
|
+
{
|
|
24423
|
+
id: AXPDataGenerator.uuid(),
|
|
24424
|
+
name: 'office_quality_band',
|
|
24425
|
+
title: createMultiLanguageString('Office quality band', 'باند کیفیت محیط اداری'),
|
|
24426
|
+
resultKind: 'string',
|
|
24427
|
+
expression: "Number(outcome.eval('office_quality_index')) >= 75 ? 'Good' : Number(outcome.eval('office_quality_index')) >= 50 ? 'Fair' : 'Poor'",
|
|
24428
|
+
},
|
|
24429
|
+
];
|
|
24430
|
+
//#endregion
|
|
24431
|
+
|
|
24619
24432
|
//#region ---- Imports ----
|
|
24620
24433
|
//#endregion
|
|
24621
24434
|
const q$6 = mockQuestionBankItemByName;
|
|
24622
|
-
/** Stable id for mock
|
|
24435
|
+
/** Stable id for mock outcomes and automations that reference this questionnaire. */
|
|
24623
24436
|
const QUESTIONNAIRE_ID_GENERAL_SITE_BRIEF = AXPDataGenerator.uuid();
|
|
24624
24437
|
const QUESTIONNAIRE_ID_GENERAL_TEAM_PULSE = AXPDataGenerator.uuid();
|
|
24625
24438
|
const QUESTIONNAIRE_ID_GENERAL_OFFICE_QUALITY = AXPDataGenerator.uuid();
|
|
@@ -24642,7 +24455,7 @@ const generalQuestionnaires = [
|
|
|
24642
24455
|
post: {
|
|
24643
24456
|
reviewEnabled: true,
|
|
24644
24457
|
summaryEnabled: true,
|
|
24645
|
-
|
|
24458
|
+
showOutcomeResults: false,
|
|
24646
24459
|
},
|
|
24647
24460
|
display: {
|
|
24648
24461
|
viewMode: 'page-per-group',
|
|
@@ -24713,7 +24526,7 @@ const generalQuestionnaires = [
|
|
|
24713
24526
|
post: {
|
|
24714
24527
|
reviewEnabled: true,
|
|
24715
24528
|
summaryEnabled: true,
|
|
24716
|
-
|
|
24529
|
+
showOutcomeResults: true,
|
|
24717
24530
|
summaryContent: {
|
|
24718
24531
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
24719
24532
|
'<p>Alignment index: <strong>{{gen_alignment_index}}</strong> / 100</p>' +
|
|
@@ -24768,6 +24581,7 @@ const generalQuestionnaires = [
|
|
|
24768
24581
|
},
|
|
24769
24582
|
],
|
|
24770
24583
|
},
|
|
24584
|
+
outcomes: createQuestionnaireOutcomesSection(GENERAL_TEAM_PULSE_OUTCOMES),
|
|
24771
24585
|
scoringType: 'none',
|
|
24772
24586
|
timeLimit: 600,
|
|
24773
24587
|
allowPause: true,
|
|
@@ -24794,7 +24608,7 @@ const generalQuestionnaires = [
|
|
|
24794
24608
|
post: {
|
|
24795
24609
|
reviewEnabled: true,
|
|
24796
24610
|
summaryEnabled: true,
|
|
24797
|
-
|
|
24611
|
+
showOutcomeResults: true,
|
|
24798
24612
|
summaryContent: {
|
|
24799
24613
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
24800
24614
|
'<p>Workplace quality index: <strong>{{office_quality_index}}</strong> / 100</p>' +
|
|
@@ -24852,6 +24666,7 @@ const generalQuestionnaires = [
|
|
|
24852
24666
|
},
|
|
24853
24667
|
],
|
|
24854
24668
|
},
|
|
24669
|
+
outcomes: createQuestionnaireOutcomesSection(GENERAL_OFFICE_QUALITY_OUTCOMES),
|
|
24855
24670
|
scoringType: 'none',
|
|
24856
24671
|
timeLimit: 900,
|
|
24857
24672
|
allowPause: true,
|
|
@@ -24864,10 +24679,81 @@ const generalQuestionnaires = [
|
|
|
24864
24679
|
];
|
|
24865
24680
|
//#endregion
|
|
24866
24681
|
|
|
24682
|
+
//#region ---- Imports ----
|
|
24683
|
+
//#endregion
|
|
24684
|
+
//#region ---- Team lead — competency pillars ----
|
|
24685
|
+
const TEAM_LEAD_COMPANY_WIDE_OUTCOMES = [
|
|
24686
|
+
{
|
|
24687
|
+
id: AXPDataGenerator.uuid(),
|
|
24688
|
+
name: 'tls_pillar_technical_index',
|
|
24689
|
+
title: createMultiLanguageString('Technical pillar index', 'شاخص ستون فنی'),
|
|
24690
|
+
description: createMultiLanguageString('0–100 from nine 1–5 ratings (technical & professional)', '۰–۱۰۰ از نه امتیاز ۱–۵ (فنی و حرفهای)'),
|
|
24691
|
+
resultKind: 'number',
|
|
24692
|
+
expression: "fn.ROUND(((Number(answer.eval('tls_tp_stack_tools')) + Number(answer.eval('tls_tp_code_quality')) + Number(answer.eval('tls_tp_complex_problems')) + Number(answer.eval('tls_tp_architecture_decisions')) + Number(answer.eval('tls_tp_best_practices')) + Number(answer.eval('tls_tp_code_review_feedback')) + Number(answer.eval('tls_tp_debugging')) + Number(answer.eval('tls_tp_knowledge_currency')) + Number(answer.eval('tls_tp_mentoring_transfer'))) / 9 - 1) / 4 * 100, 0)",
|
|
24693
|
+
},
|
|
24694
|
+
{
|
|
24695
|
+
id: AXPDataGenerator.uuid(),
|
|
24696
|
+
name: 'tls_pillar_behavioral_index',
|
|
24697
|
+
title: createMultiLanguageString('Behavioral pillar index', 'شاخص ستون رفتاری'),
|
|
24698
|
+
description: createMultiLanguageString('0–100 from seven 1–5 ratings', '۰–۱۰۰ از هفت امتیاز ۱–۵'),
|
|
24699
|
+
resultKind: 'number',
|
|
24700
|
+
expression: "fn.ROUND(((Number(answer.eval('tls_bc_team_communication')) + Number(answer.eval('tls_bc_meetings_participation')) + Number(answer.eval('tls_bc_listening_inclusion')) + Number(answer.eval('tls_bc_feedback_tone')) + Number(answer.eval('tls_bc_disagreement_handling')) + Number(answer.eval('tls_bc_pressure_composure')) + Number(answer.eval('tls_bc_trust_collaboration'))) / 7 - 1) / 4 * 100, 0)",
|
|
24701
|
+
},
|
|
24702
|
+
{
|
|
24703
|
+
id: AXPDataGenerator.uuid(),
|
|
24704
|
+
name: 'tls_pillar_management_index',
|
|
24705
|
+
title: createMultiLanguageString('Management pillar index', 'شاخص ستون مدیریتی'),
|
|
24706
|
+
description: createMultiLanguageString('0–100 from ten 1–5 ratings', '۰–۱۰۰ از ده امتیاز ۱–۵'),
|
|
24707
|
+
resultKind: 'number',
|
|
24708
|
+
expression: "fn.ROUND(((Number(answer.eval('tls_ml_work_distribution')) + Number(answer.eval('tls_ml_backlog_priorities')) + Number(answer.eval('tls_ml_agile_meetings')) + Number(answer.eval('tls_ml_task_breakdown')) + Number(answer.eval('tls_ml_progress_tracking')) + Number(answer.eval('tls_ml_blockers')) + Number(answer.eval('tls_ml_timely_decisions')) + Number(answer.eval('tls_ml_growth_coaching')) + Number(answer.eval('tls_ml_delivery_timing')) + Number(answer.eval('tls_ml_crisis_leadership'))) / 10 - 1) / 4 * 100, 0)",
|
|
24709
|
+
},
|
|
24710
|
+
{
|
|
24711
|
+
id: AXPDataGenerator.uuid(),
|
|
24712
|
+
name: 'tls_pillar_business_index',
|
|
24713
|
+
title: createMultiLanguageString('Business pillar index', 'شاخص ستون کسبوکار'),
|
|
24714
|
+
description: createMultiLanguageString('0–100 from eight 1–5 ratings', '۰–۱۰۰ از هشت امتیاز ۱–۵'),
|
|
24715
|
+
resultKind: 'number',
|
|
24716
|
+
expression: "fn.ROUND(((Number(answer.eval('tls_bo_product_user_understanding')) + Number(answer.eval('tls_bo_business_impact')) + Number(answer.eval('tls_bo_quality_time_cost')) + Number(answer.eval('tls_bo_value_prioritization')) + Number(answer.eval('tls_bo_product_owner_sync')) + Number(answer.eval('tls_bo_requirements_handoff')) + Number(answer.eval('tls_bo_roadmap_awareness')) + Number(answer.eval('tls_bo_customer_value'))) / 8 - 1) / 4 * 100, 0)",
|
|
24717
|
+
},
|
|
24718
|
+
{
|
|
24719
|
+
id: AXPDataGenerator.uuid(),
|
|
24720
|
+
name: 'tls_overall_competency_index',
|
|
24721
|
+
title: createMultiLanguageString('Overall competency index', 'شاخص شایستگی کلی'),
|
|
24722
|
+
description: createMultiLanguageString('0–100 across all 34 items (same weight per question)', '۰–۱۰۰ روی هر ۳۴ سوال (وزن یکسان)'),
|
|
24723
|
+
resultKind: 'number',
|
|
24724
|
+
expression: "fn.ROUND(((Number(answer.eval('tls_tp_stack_tools')) + Number(answer.eval('tls_tp_code_quality')) + Number(answer.eval('tls_tp_complex_problems')) + Number(answer.eval('tls_tp_architecture_decisions')) + Number(answer.eval('tls_tp_best_practices')) + Number(answer.eval('tls_tp_code_review_feedback')) + Number(answer.eval('tls_tp_debugging')) + Number(answer.eval('tls_tp_knowledge_currency')) + Number(answer.eval('tls_tp_mentoring_transfer')) + Number(answer.eval('tls_bc_team_communication')) + Number(answer.eval('tls_bc_meetings_participation')) + Number(answer.eval('tls_bc_listening_inclusion')) + Number(answer.eval('tls_bc_feedback_tone')) + Number(answer.eval('tls_bc_disagreement_handling')) + Number(answer.eval('tls_bc_pressure_composure')) + Number(answer.eval('tls_bc_trust_collaboration')) + Number(answer.eval('tls_ml_work_distribution')) + Number(answer.eval('tls_ml_backlog_priorities')) + Number(answer.eval('tls_ml_agile_meetings')) + Number(answer.eval('tls_ml_task_breakdown')) + Number(answer.eval('tls_ml_progress_tracking')) + Number(answer.eval('tls_ml_blockers')) + Number(answer.eval('tls_ml_timely_decisions')) + Number(answer.eval('tls_ml_growth_coaching')) + Number(answer.eval('tls_ml_delivery_timing')) + Number(answer.eval('tls_ml_crisis_leadership')) + Number(answer.eval('tls_bo_product_user_understanding')) + Number(answer.eval('tls_bo_business_impact')) + Number(answer.eval('tls_bo_quality_time_cost')) + Number(answer.eval('tls_bo_value_prioritization')) + Number(answer.eval('tls_bo_product_owner_sync')) + Number(answer.eval('tls_bo_requirements_handoff')) + Number(answer.eval('tls_bo_roadmap_awareness')) + Number(answer.eval('tls_bo_customer_value'))) / 34 - 1) / 4 * 100, 0)",
|
|
24725
|
+
},
|
|
24726
|
+
{
|
|
24727
|
+
id: AXPDataGenerator.uuid(),
|
|
24728
|
+
name: 'tls_competency_band',
|
|
24729
|
+
title: createMultiLanguageString('Overall competency band', 'باند شایستگی کلی'),
|
|
24730
|
+
description: createMultiLanguageString('Interpretation of tls_overall_competency_index', 'تفسیر شاخص شایستگی کلی'),
|
|
24731
|
+
resultKind: 'string',
|
|
24732
|
+
expression: "Number(outcome.eval('tls_overall_competency_index')) >= 80 ? 'Leading' : Number(outcome.eval('tls_overall_competency_index')) >= 65 ? 'Strong' : Number(outcome.eval('tls_overall_competency_index')) >= 50 ? 'Solid' : Number(outcome.eval('tls_overall_competency_index')) >= 35 ? 'Developing' : 'Priority focus'",
|
|
24733
|
+
},
|
|
24734
|
+
{
|
|
24735
|
+
id: AXPDataGenerator.uuid(),
|
|
24736
|
+
name: 'tls_pillar_balance_spread',
|
|
24737
|
+
title: createMultiLanguageString('Pillar balance spread', 'پراکندگی تعادل ستونها'),
|
|
24738
|
+
description: createMultiLanguageString('Difference between strongest and weakest pillar index (0–100)', 'تفاوت بین بالاترین و پایینترین شاخص ستون (۰–۱۰۰)'),
|
|
24739
|
+
resultKind: 'number',
|
|
24740
|
+
expression: "fn.ROUND(fn.MAX(fn.MAX(Number(outcome.eval('tls_pillar_technical_index')), Number(outcome.eval('tls_pillar_behavioral_index'))), fn.MAX(Number(outcome.eval('tls_pillar_management_index')), Number(outcome.eval('tls_pillar_business_index')))) - fn.MIN(fn.MIN(Number(outcome.eval('tls_pillar_technical_index')), Number(outcome.eval('tls_pillar_behavioral_index'))), fn.MIN(Number(outcome.eval('tls_pillar_management_index')), Number(outcome.eval('tls_pillar_business_index')))), 0)",
|
|
24741
|
+
},
|
|
24742
|
+
{
|
|
24743
|
+
id: AXPDataGenerator.uuid(),
|
|
24744
|
+
name: 'tls_priority_focus_pillar',
|
|
24745
|
+
title: createMultiLanguageString('Priority focus pillar', 'ستون تمرکز اولویت'),
|
|
24746
|
+
description: createMultiLanguageString('Pillar with the lowest index (coaching hint)', 'ستونی با کمترین شاخص (راهنمای کوچینگ)'),
|
|
24747
|
+
resultKind: 'string',
|
|
24748
|
+
expression: "Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_behavioral_index')) && Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_management_index')) && Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Technical & professional' : Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_technical_index')) && Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_management_index')) && Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Behavioral & communication' : Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_technical_index')) && Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_behavioral_index')) && Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Management & leadership' : 'Business & organizational'",
|
|
24749
|
+
},
|
|
24750
|
+
];
|
|
24751
|
+
//#endregion
|
|
24752
|
+
|
|
24867
24753
|
//#region ---- Imports ----
|
|
24868
24754
|
//#endregion
|
|
24869
24755
|
const q$5 = mockQuestionBankItemByName;
|
|
24870
|
-
/** Stable id for mock
|
|
24756
|
+
/** Stable id for mock outcomes or automations that reference this questionnaire. */
|
|
24871
24757
|
const QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE = AXPDataGenerator.uuid();
|
|
24872
24758
|
//#region ---- Mock Data ----
|
|
24873
24759
|
const teamLeadCompetenciesQuestionnaires = [
|
|
@@ -24890,7 +24776,7 @@ const teamLeadCompetenciesQuestionnaires = [
|
|
|
24890
24776
|
post: {
|
|
24891
24777
|
reviewEnabled: true,
|
|
24892
24778
|
summaryEnabled: true,
|
|
24893
|
-
|
|
24779
|
+
showOutcomeResults: true,
|
|
24894
24780
|
summaryContent: {
|
|
24895
24781
|
'en-US': '<p><strong>Competency summary</strong></p>' +
|
|
24896
24782
|
'<p>Overall index (0–100): <strong>{{tls_overall_competency_index}}</strong> — <strong>{{tls_competency_band}}</strong></p>' +
|
|
@@ -25135,6 +25021,7 @@ const teamLeadCompetenciesQuestionnaires = [
|
|
|
25135
25021
|
},
|
|
25136
25022
|
],
|
|
25137
25023
|
},
|
|
25024
|
+
outcomes: createQuestionnaireOutcomesSection(TEAM_LEAD_COMPANY_WIDE_OUTCOMES),
|
|
25138
25025
|
scoringType: 'weighted',
|
|
25139
25026
|
passingScore: 3,
|
|
25140
25027
|
timeLimit: 2400,
|
|
@@ -25148,6 +25035,245 @@ const teamLeadCompetenciesQuestionnaires = [
|
|
|
25148
25035
|
];
|
|
25149
25036
|
//#endregion
|
|
25150
25037
|
|
|
25038
|
+
//#region ---- Theme display color helper ----
|
|
25039
|
+
/**
|
|
25040
|
+
* Theme color chooser value: `"foreground background border"` utility classes
|
|
25041
|
+
* (same shape as `AXPColorChooserWidgetEditComponent` stores on `color`).
|
|
25042
|
+
*/
|
|
25043
|
+
function outcomeThemeDisplayColor(semantic, variant = 'lightest') {
|
|
25044
|
+
return `ax-text-${semantic}-on-${variant} ax-bg-${semantic}-${variant} ax-border-${semantic}-${variant}`;
|
|
25045
|
+
}
|
|
25046
|
+
//#endregion
|
|
25047
|
+
|
|
25048
|
+
//#region ---- Imports ----
|
|
25049
|
+
//#endregion
|
|
25050
|
+
//#region ---- Health — BMI & eGFR ----
|
|
25051
|
+
const HEALTH_BMI_OUTCOMES = [
|
|
25052
|
+
{
|
|
25053
|
+
id: AXPDataGenerator.uuid(),
|
|
25054
|
+
name: 'bmi',
|
|
25055
|
+
title: createMultiLanguageString('BMI', 'شاخص تودهٔ بدنی'),
|
|
25056
|
+
description: createMultiLanguageString('Body mass index (kg/m²) from height (cm) and weight (kg)', 'شاخص تودهٔ بدنی (kg/m²) از قد (سانتیمتر) و وزن (کیلوگرم)'),
|
|
25057
|
+
resultKind: 'number',
|
|
25058
|
+
expression: "fn.ROUND(Number(answer.eval('weight_kg')) / ((Number(answer.eval('height_cm')) / 100) ** 2), 1)",
|
|
25059
|
+
displayRules: [
|
|
25060
|
+
{
|
|
25061
|
+
id: 'bmi-underweight',
|
|
25062
|
+
order: 0,
|
|
25063
|
+
operator: 'lt',
|
|
25064
|
+
compareValue: 18.5,
|
|
25065
|
+
color: outcomeThemeDisplayColor('primary', 'lightest'),
|
|
25066
|
+
emphasis: 'medium',
|
|
25067
|
+
icon: 'fa-light fa-weight-scale',
|
|
25068
|
+
},
|
|
25069
|
+
{
|
|
25070
|
+
id: 'bmi-normal',
|
|
25071
|
+
order: 1,
|
|
25072
|
+
operator: 'lt',
|
|
25073
|
+
compareValue: 25,
|
|
25074
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25075
|
+
emphasis: 'normal',
|
|
25076
|
+
icon: 'fa-light fa-circle-check',
|
|
25077
|
+
},
|
|
25078
|
+
{
|
|
25079
|
+
id: 'bmi-overweight',
|
|
25080
|
+
order: 2,
|
|
25081
|
+
operator: 'lt',
|
|
25082
|
+
compareValue: 30,
|
|
25083
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25084
|
+
emphasis: 'medium',
|
|
25085
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25086
|
+
},
|
|
25087
|
+
{
|
|
25088
|
+
id: 'bmi-obese',
|
|
25089
|
+
order: 3,
|
|
25090
|
+
operator: 'gte',
|
|
25091
|
+
compareValue: 30,
|
|
25092
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25093
|
+
emphasis: 'bold',
|
|
25094
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25095
|
+
},
|
|
25096
|
+
],
|
|
25097
|
+
},
|
|
25098
|
+
{
|
|
25099
|
+
id: AXPDataGenerator.uuid(),
|
|
25100
|
+
name: 'egfr_mdrd',
|
|
25101
|
+
title: createMultiLanguageString('eGFR (MDRD)', 'eGFR (MDRD)'),
|
|
25102
|
+
description: createMultiLanguageString('MDRD study equation (Scr mg/dL, age years); female multiplier 0.742.', 'معادلهٔ مطالعهٔ MDRD (کراتینین سرم mg/dL، سن به سال); ضریب ۰٫۷۴۲ برای زنان'),
|
|
25103
|
+
resultKind: 'number',
|
|
25104
|
+
expression: "fn.ROUND(175 * (Number(answer.eval('scr_mg_dl')) ** -1.154) * (Number(answer.eval('age_years')) ** -0.203) * (answer.eval('sex') === 'female' ? 0.742 : 1), 1)",
|
|
25105
|
+
displayRules: [
|
|
25106
|
+
{
|
|
25107
|
+
id: 'egfr-kidney-failure',
|
|
25108
|
+
order: 0,
|
|
25109
|
+
operator: 'lt',
|
|
25110
|
+
compareValue: 15,
|
|
25111
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25112
|
+
emphasis: 'bold',
|
|
25113
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25114
|
+
},
|
|
25115
|
+
{
|
|
25116
|
+
id: 'egfr-severe',
|
|
25117
|
+
order: 1,
|
|
25118
|
+
operator: 'lt',
|
|
25119
|
+
compareValue: 30,
|
|
25120
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25121
|
+
emphasis: 'medium',
|
|
25122
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25123
|
+
},
|
|
25124
|
+
{
|
|
25125
|
+
id: 'egfr-moderate',
|
|
25126
|
+
order: 2,
|
|
25127
|
+
operator: 'lt',
|
|
25128
|
+
compareValue: 60,
|
|
25129
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25130
|
+
emphasis: 'medium',
|
|
25131
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25132
|
+
},
|
|
25133
|
+
{
|
|
25134
|
+
id: 'egfr-mild',
|
|
25135
|
+
order: 3,
|
|
25136
|
+
operator: 'lt',
|
|
25137
|
+
compareValue: 90,
|
|
25138
|
+
color: outcomeThemeDisplayColor('primary', 'lightest'),
|
|
25139
|
+
emphasis: 'normal',
|
|
25140
|
+
icon: 'fa-light fa-droplet',
|
|
25141
|
+
},
|
|
25142
|
+
{
|
|
25143
|
+
id: 'egfr-normal',
|
|
25144
|
+
order: 4,
|
|
25145
|
+
operator: 'gte',
|
|
25146
|
+
compareValue: 90,
|
|
25147
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25148
|
+
emphasis: 'normal',
|
|
25149
|
+
icon: 'fa-light fa-circle-check',
|
|
25150
|
+
},
|
|
25151
|
+
],
|
|
25152
|
+
},
|
|
25153
|
+
{
|
|
25154
|
+
id: AXPDataGenerator.uuid(),
|
|
25155
|
+
name: 'bmi_category',
|
|
25156
|
+
title: createMultiLanguageString('BMI category', 'دستهٔ BMI'),
|
|
25157
|
+
description: createMultiLanguageString('WHO-style categories from computed BMI', 'دستهبندی سبک سازمان جهانی بهداشت بر اساس BMI محاسبهشده'),
|
|
25158
|
+
resultKind: 'string',
|
|
25159
|
+
expression: "fn.IF(!Number.isFinite(Number(outcome.eval('bmi'))), '', Number(outcome.eval('bmi')) < 18.5 ? 'Underweight' : Number(outcome.eval('bmi')) < 25 ? 'Normal' : Number(outcome.eval('bmi')) < 30 ? 'Overweight' : 'Obese')",
|
|
25160
|
+
displayRules: [
|
|
25161
|
+
{
|
|
25162
|
+
id: 'bmi-cat-underweight',
|
|
25163
|
+
order: 0,
|
|
25164
|
+
operator: 'eq',
|
|
25165
|
+
compareValue: 'Underweight',
|
|
25166
|
+
color: outcomeThemeDisplayColor('primary', 'lightest'),
|
|
25167
|
+
emphasis: 'medium',
|
|
25168
|
+
icon: 'fa-light fa-weight-scale',
|
|
25169
|
+
},
|
|
25170
|
+
{
|
|
25171
|
+
id: 'bmi-cat-normal',
|
|
25172
|
+
order: 1,
|
|
25173
|
+
operator: 'eq',
|
|
25174
|
+
compareValue: 'Normal',
|
|
25175
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25176
|
+
emphasis: 'normal',
|
|
25177
|
+
icon: 'fa-light fa-circle-check',
|
|
25178
|
+
},
|
|
25179
|
+
{
|
|
25180
|
+
id: 'bmi-cat-overweight',
|
|
25181
|
+
order: 2,
|
|
25182
|
+
operator: 'eq',
|
|
25183
|
+
compareValue: 'Overweight',
|
|
25184
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25185
|
+
emphasis: 'medium',
|
|
25186
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25187
|
+
},
|
|
25188
|
+
{
|
|
25189
|
+
id: 'bmi-cat-obese',
|
|
25190
|
+
order: 3,
|
|
25191
|
+
operator: 'eq',
|
|
25192
|
+
compareValue: 'Obese',
|
|
25193
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25194
|
+
emphasis: 'bold',
|
|
25195
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25196
|
+
},
|
|
25197
|
+
],
|
|
25198
|
+
},
|
|
25199
|
+
{
|
|
25200
|
+
id: AXPDataGenerator.uuid(),
|
|
25201
|
+
name: 'egfr_category',
|
|
25202
|
+
title: createMultiLanguageString('eGFR category', 'دستهٔ eGFR'),
|
|
25203
|
+
description: createMultiLanguageString('KDIGO-style kidney function stage from computed eGFR (MDRD)', 'مرحلهٔ عملکرد کلیه بر اساس eGFR محاسبهشده (MDRD) به سبک KDIGO'),
|
|
25204
|
+
resultKind: 'string',
|
|
25205
|
+
expression: "fn.IF(!Number.isFinite(Number(outcome.eval('egfr_mdrd'))), '', Number(outcome.eval('egfr_mdrd')) >= 90 ? 'Normal' : Number(outcome.eval('egfr_mdrd')) >= 60 ? 'Mildly decreased' : Number(outcome.eval('egfr_mdrd')) >= 30 ? 'Moderately decreased' : Number(outcome.eval('egfr_mdrd')) >= 15 ? 'Severely decreased' : 'Kidney failure')",
|
|
25206
|
+
displayRules: [
|
|
25207
|
+
{
|
|
25208
|
+
id: 'egfr-cat-normal',
|
|
25209
|
+
order: 0,
|
|
25210
|
+
operator: 'eq',
|
|
25211
|
+
compareValue: 'Normal',
|
|
25212
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25213
|
+
emphasis: 'normal',
|
|
25214
|
+
icon: 'fa-light fa-circle-check',
|
|
25215
|
+
},
|
|
25216
|
+
{
|
|
25217
|
+
id: 'egfr-cat-mild',
|
|
25218
|
+
order: 1,
|
|
25219
|
+
operator: 'eq',
|
|
25220
|
+
compareValue: 'Mildly decreased',
|
|
25221
|
+
color: outcomeThemeDisplayColor('primary', 'lightest'),
|
|
25222
|
+
emphasis: 'normal',
|
|
25223
|
+
icon: 'fa-light fa-droplet',
|
|
25224
|
+
},
|
|
25225
|
+
{
|
|
25226
|
+
id: 'egfr-cat-moderate',
|
|
25227
|
+
order: 2,
|
|
25228
|
+
operator: 'eq',
|
|
25229
|
+
compareValue: 'Moderately decreased',
|
|
25230
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25231
|
+
emphasis: 'medium',
|
|
25232
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25233
|
+
},
|
|
25234
|
+
{
|
|
25235
|
+
id: 'egfr-cat-severe',
|
|
25236
|
+
order: 3,
|
|
25237
|
+
operator: 'eq',
|
|
25238
|
+
compareValue: 'Severely decreased',
|
|
25239
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25240
|
+
emphasis: 'medium',
|
|
25241
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25242
|
+
},
|
|
25243
|
+
{
|
|
25244
|
+
id: 'egfr-cat-failure',
|
|
25245
|
+
order: 4,
|
|
25246
|
+
operator: 'eq',
|
|
25247
|
+
compareValue: 'Kidney failure',
|
|
25248
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25249
|
+
emphasis: 'bold',
|
|
25250
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25251
|
+
},
|
|
25252
|
+
],
|
|
25253
|
+
},
|
|
25254
|
+
];
|
|
25255
|
+
//#endregion
|
|
25256
|
+
//#region ---- Health — Lifestyle index ----
|
|
25257
|
+
const HEALTH_WELLBEING_OUTCOMES = [
|
|
25258
|
+
{
|
|
25259
|
+
id: AXPDataGenerator.uuid(),
|
|
25260
|
+
name: 'wellness_index',
|
|
25261
|
+
title: createMultiLanguageString('Lifestyle index', 'شاخص سبک زندگی'),
|
|
25262
|
+
description: createMultiLanguageString('Weighted 0–100 from sleep, inverse stress, exercise, hydration, energy', 'میانگین وزنی ۰–۱۰۰ از خواب، کاهش استرس، ورزش، آبرسانی و انرژی'),
|
|
25263
|
+
resultKind: 'number',
|
|
25264
|
+
expression: "fn.ROUND((fn.IF(Number(answer.eval('sleep_h')) > 10, 10, Number(answer.eval('sleep_h')))) / 10 * 20 + (6 - Number(answer.eval('stress_lv'))) / 5 * 20 + (fn.IF(Number(answer.eval('exercise_m')) > 300, 300, Number(answer.eval('exercise_m')))) / 300 * 20 + (fn.IF(Number(answer.eval('water_g')) > 12, 12, Number(answer.eval('water_g')))) / 12 * 20 + Number(answer.eval('energy_lv')) / 5 * 20, 0)",
|
|
25265
|
+
},
|
|
25266
|
+
{
|
|
25267
|
+
id: AXPDataGenerator.uuid(),
|
|
25268
|
+
name: 'wellness_band',
|
|
25269
|
+
title: createMultiLanguageString('Lifestyle band', 'باند سبک زندگی'),
|
|
25270
|
+
description: createMultiLanguageString('Interpretation of composite index', 'تفسیر شاخص ترکیبی'),
|
|
25271
|
+
resultKind: 'string',
|
|
25272
|
+
expression: "Number(outcome.eval('wellness_index')) >= 75 ? 'Thriving' : Number(outcome.eval('wellness_index')) >= 50 ? 'Balanced' : 'Plan support'",
|
|
25273
|
+
},
|
|
25274
|
+
];
|
|
25275
|
+
//#endregion
|
|
25276
|
+
|
|
25151
25277
|
//#region ---- Imports ----
|
|
25152
25278
|
//#endregion
|
|
25153
25279
|
const q$4 = mockQuestionBankItemByName;
|
|
@@ -25158,7 +25284,7 @@ const healthWellnessQuestionnaires = [
|
|
|
25158
25284
|
{
|
|
25159
25285
|
id: QUESTIONNAIRE_ID_HEALTH_BMI,
|
|
25160
25286
|
title: createMultiLanguageString('Occupational health — BMI & eGFR', 'سلامت شغلی — BMI و eGFR'),
|
|
25161
|
-
description: createMultiLanguageString('Height, weight, age, sex, and serum creatinine;
|
|
25287
|
+
description: createMultiLanguageString('Height, weight, age, sex, and serum creatinine; outcomes derive BMI, WHO-style category, and eGFR (MDRD).', 'قد، وزن، سن، جنس و کراتینین سرم؛ محاسبهٔ BMI، دستهٔ سازمان جهانی بهداشت و eGFR (MDRD).'),
|
|
25162
25288
|
type: 'questionnaire',
|
|
25163
25289
|
categoryIds: [QHW().id],
|
|
25164
25290
|
categories: [QHW()],
|
|
@@ -25172,15 +25298,15 @@ const healthWellnessQuestionnaires = [
|
|
|
25172
25298
|
post: {
|
|
25173
25299
|
reviewEnabled: true,
|
|
25174
25300
|
summaryEnabled: true,
|
|
25175
|
-
|
|
25301
|
+
showOutcomeResults: true,
|
|
25176
25302
|
summaryContent: {
|
|
25177
25303
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
25178
25304
|
'<p>BMI: <strong>{{bmi}}</strong> kg/m² — <strong>{{bmi_category}}</strong></p>' +
|
|
25179
|
-
'<p>eGFR (MDRD): <strong>{{egfr_mdrd}}</strong> mL/min/1.73m
|
|
25305
|
+
'<p>eGFR (MDRD): <strong>{{egfr_mdrd}}</strong> mL/min/1.73m² — <strong>{{egfr_category}}</strong></p>' +
|
|
25180
25306
|
'<p>Questions answered: <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
25181
25307
|
'fa-IR': '<p><strong>خلاصه</strong></p>' +
|
|
25182
25308
|
'<p>BMI: <strong>{{bmi}}</strong> — <strong>{{bmi_category}}</strong></p>' +
|
|
25183
|
-
'<p>eGFR (MDRD): <strong>{{egfr_mdrd}}</strong></p>',
|
|
25309
|
+
'<p>eGFR (MDRD): <strong>{{egfr_mdrd}}</strong> — <strong>{{egfr_category}}</strong></p>',
|
|
25184
25310
|
},
|
|
25185
25311
|
},
|
|
25186
25312
|
display: {
|
|
@@ -25215,6 +25341,7 @@ const healthWellnessQuestionnaires = [
|
|
|
25215
25341
|
},
|
|
25216
25342
|
],
|
|
25217
25343
|
},
|
|
25344
|
+
outcomes: createQuestionnaireOutcomesSection(HEALTH_BMI_OUTCOMES),
|
|
25218
25345
|
scoringType: 'none',
|
|
25219
25346
|
timeLimit: 1200,
|
|
25220
25347
|
allowPause: true,
|
|
@@ -25241,7 +25368,7 @@ const healthWellnessQuestionnaires = [
|
|
|
25241
25368
|
post: {
|
|
25242
25369
|
reviewEnabled: true,
|
|
25243
25370
|
summaryEnabled: true,
|
|
25244
|
-
|
|
25371
|
+
showOutcomeResults: true,
|
|
25245
25372
|
summaryContent: {
|
|
25246
25373
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
25247
25374
|
'<p>Lifestyle index: <strong>{{wellness_index}}</strong> / 100</p>' +
|
|
@@ -25297,6 +25424,7 @@ const healthWellnessQuestionnaires = [
|
|
|
25297
25424
|
},
|
|
25298
25425
|
],
|
|
25299
25426
|
},
|
|
25427
|
+
outcomes: createQuestionnaireOutcomesSection(HEALTH_WELLBEING_OUTCOMES),
|
|
25300
25428
|
scoringType: 'none',
|
|
25301
25429
|
timeLimit: 900,
|
|
25302
25430
|
allowPause: true,
|
|
@@ -25309,10 +25437,256 @@ const healthWellnessQuestionnaires = [
|
|
|
25309
25437
|
];
|
|
25310
25438
|
//#endregion
|
|
25311
25439
|
|
|
25440
|
+
//#region ---- Imports ----
|
|
25441
|
+
//#endregion
|
|
25442
|
+
//#region ---- Checklist expression helpers ----
|
|
25443
|
+
const hrInductionIntroKeys = ['hr_induction_welcome_workers', 'hr_induction_nature_structure_company'];
|
|
25444
|
+
const hrInductionEmploymentKeys = [
|
|
25445
|
+
'hr_induction_job_description_responsibilities',
|
|
25446
|
+
'hr_induction_award_workplace_agreement',
|
|
25447
|
+
'hr_induction_work_times_meal_breaks',
|
|
25448
|
+
'hr_induction_time_recording_procedures',
|
|
25449
|
+
'hr_induction_leave_entitlements',
|
|
25450
|
+
'hr_induction_sick_leave_notification',
|
|
25451
|
+
];
|
|
25452
|
+
const hrInductionPayrollKeys = [
|
|
25453
|
+
'hr_induction_pay_rates_allowances',
|
|
25454
|
+
'hr_induction_pay_arrangement',
|
|
25455
|
+
'hr_induction_date_next_pay',
|
|
25456
|
+
'hr_induction_taxation_forms',
|
|
25457
|
+
'hr_induction_superannuation_deductions',
|
|
25458
|
+
];
|
|
25459
|
+
const hrInductionWorkplaceKeys = [
|
|
25460
|
+
'hr_induction_wash_toilet_facilities',
|
|
25461
|
+
'hr_induction_kitchen_lunch_room',
|
|
25462
|
+
'hr_induction_first_aid_facilities',
|
|
25463
|
+
'hr_induction_emergency_exits',
|
|
25464
|
+
'hr_induction_fire_warden_contact',
|
|
25465
|
+
'hr_induction_first_aider_contact',
|
|
25466
|
+
'hr_induction_car_parking',
|
|
25467
|
+
];
|
|
25468
|
+
const hrInductionWhsKeys = [
|
|
25469
|
+
'hr_induction_safetyminder_app',
|
|
25470
|
+
'hr_induction_whs_policy',
|
|
25471
|
+
'hr_induction_whs_roles',
|
|
25472
|
+
'hr_induction_whs_consultation',
|
|
25473
|
+
'hr_induction_issue_resolution',
|
|
25474
|
+
'hr_induction_emergency_plan',
|
|
25475
|
+
'hr_induction_first_aid_arrangements',
|
|
25476
|
+
'hr_induction_incident_injury_reporting',
|
|
25477
|
+
'hr_induction_discrimination_bullying_harassment',
|
|
25478
|
+
'hr_induction_drugs_alcohol',
|
|
25479
|
+
];
|
|
25480
|
+
const hrInductionSecurityKeys = [
|
|
25481
|
+
'hr_induction_building_work_site',
|
|
25482
|
+
'hr_induction_personal_belongings',
|
|
25483
|
+
'hr_induction_petty_cash',
|
|
25484
|
+
'hr_induction_computer_password',
|
|
25485
|
+
];
|
|
25486
|
+
const hrInductionTrainingKeys = [
|
|
25487
|
+
'hr_induction_training_certificates_safetyminder',
|
|
25488
|
+
'hr_induction_on_job_training',
|
|
25489
|
+
'hr_induction_work_specific_hazards_training',
|
|
25490
|
+
];
|
|
25491
|
+
const hrInductionAllKeys = [
|
|
25492
|
+
...hrInductionIntroKeys,
|
|
25493
|
+
...hrInductionEmploymentKeys,
|
|
25494
|
+
...hrInductionPayrollKeys,
|
|
25495
|
+
...hrInductionWorkplaceKeys,
|
|
25496
|
+
...hrInductionWhsKeys,
|
|
25497
|
+
...hrInductionSecurityKeys,
|
|
25498
|
+
...hrInductionTrainingKeys,
|
|
25499
|
+
];
|
|
25500
|
+
const hrSeparationKeys = [
|
|
25501
|
+
'hr_separation_service_reports_invoices',
|
|
25502
|
+
'hr_separation_last_timesheet_petty_cash',
|
|
25503
|
+
'hr_separation_service_report_books',
|
|
25504
|
+
'hr_separation_company_phone',
|
|
25505
|
+
'hr_separation_workshop_client_keys',
|
|
25506
|
+
'hr_separation_company_vehicle',
|
|
25507
|
+
'hr_separation_fuel_card',
|
|
25508
|
+
'hr_separation_first_aid_fire_extinguisher',
|
|
25509
|
+
'hr_separation_company_store_cards',
|
|
25510
|
+
'hr_separation_no_outstanding_repayments',
|
|
25511
|
+
'hr_separation_rdos_in_credit',
|
|
25512
|
+
'hr_separation_company_tools',
|
|
25513
|
+
'hr_separation_security_passes',
|
|
25514
|
+
'hr_separation_petty_cash_returned',
|
|
25515
|
+
];
|
|
25516
|
+
const completedCountExpr = (keys) => `fn.SUM(${keys.map((k) => `(answer.eval('${k}') === true ? 1 : 0)`).join(', ')})`;
|
|
25517
|
+
const openCountExpr = (keys) => `fn.SUM(${keys.map((k) => `(answer.eval('${k}') !== true ? 1 : 0)`).join(', ')})`;
|
|
25518
|
+
const HR_INDUCTION_COMPLETED_COUNT_EXPR = completedCountExpr(hrInductionAllKeys);
|
|
25519
|
+
const HR_INDUCTION_OPEN_COUNT_EXPR = openCountExpr(hrInductionAllKeys);
|
|
25520
|
+
const HR_SEPARATION_COMPLETED_COUNT_EXPR = completedCountExpr(hrSeparationKeys);
|
|
25521
|
+
const HR_SEPARATION_OPEN_COUNT_EXPR = openCountExpr(hrSeparationKeys);
|
|
25522
|
+
//#endregion
|
|
25523
|
+
//#region ---- Organization HR — Employee induction ----
|
|
25524
|
+
const HR_INDUCTION_OUTCOMES = [
|
|
25525
|
+
{
|
|
25526
|
+
id: AXPDataGenerator.uuid(),
|
|
25527
|
+
name: 'hr_induction_completed_count',
|
|
25528
|
+
title: createMultiLanguageString('Topics completed', 'موضوعات تکمیلشده'),
|
|
25529
|
+
description: createMultiLanguageString('Checklist rows marked completed', 'سطرهای چکلیست علامتخورده بهعنوان تکمیلشده'),
|
|
25530
|
+
resultKind: 'number',
|
|
25531
|
+
expression: HR_INDUCTION_COMPLETED_COUNT_EXPR,
|
|
25532
|
+
},
|
|
25533
|
+
{
|
|
25534
|
+
id: AXPDataGenerator.uuid(),
|
|
25535
|
+
name: 'hr_induction_open_count',
|
|
25536
|
+
title: createMultiLanguageString('Topics still open', 'موضوعات بازمانده'),
|
|
25537
|
+
description: createMultiLanguageString('Rows not yet marked completed', 'سطرهایی که هنوز تکمیل نشدهاند'),
|
|
25538
|
+
resultKind: 'number',
|
|
25539
|
+
expression: HR_INDUCTION_OPEN_COUNT_EXPR,
|
|
25540
|
+
},
|
|
25541
|
+
{
|
|
25542
|
+
id: AXPDataGenerator.uuid(),
|
|
25543
|
+
name: 'hr_induction_completion_percent',
|
|
25544
|
+
title: createMultiLanguageString('Completion (%)', 'درصد تکمیل'),
|
|
25545
|
+
description: createMultiLanguageString('0–100 from 37 induction topics', '۰–۱۰۰ از ۳۷ موضوع آشنایی'),
|
|
25546
|
+
resultKind: 'number',
|
|
25547
|
+
expression: "fn.ROUND(Number(outcome.eval('hr_induction_completed_count')) / 37 * 100, 0)",
|
|
25548
|
+
displayRules: [
|
|
25549
|
+
{
|
|
25550
|
+
id: 'hr-induction-pct-low',
|
|
25551
|
+
order: 0,
|
|
25552
|
+
operator: 'lt',
|
|
25553
|
+
compareValue: 50,
|
|
25554
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25555
|
+
emphasis: 'bold',
|
|
25556
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25557
|
+
},
|
|
25558
|
+
{
|
|
25559
|
+
id: 'hr-induction-pct-mid',
|
|
25560
|
+
order: 1,
|
|
25561
|
+
operator: 'lt',
|
|
25562
|
+
compareValue: 100,
|
|
25563
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25564
|
+
emphasis: 'medium',
|
|
25565
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25566
|
+
},
|
|
25567
|
+
{
|
|
25568
|
+
id: 'hr-induction-pct-done',
|
|
25569
|
+
order: 2,
|
|
25570
|
+
operator: 'gte',
|
|
25571
|
+
compareValue: 100,
|
|
25572
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25573
|
+
emphasis: 'normal',
|
|
25574
|
+
icon: 'fa-light fa-circle-check',
|
|
25575
|
+
},
|
|
25576
|
+
],
|
|
25577
|
+
},
|
|
25578
|
+
{
|
|
25579
|
+
id: AXPDataGenerator.uuid(),
|
|
25580
|
+
name: 'hr_induction_completion_band',
|
|
25581
|
+
title: createMultiLanguageString('Completion band', 'باند تکمیل'),
|
|
25582
|
+
description: createMultiLanguageString('Traffic-light summary for induction progress', 'خلاصه چراغ راهنمایی برای پیشرفت آشنایی'),
|
|
25583
|
+
resultKind: 'string',
|
|
25584
|
+
expression: "Number(outcome.eval('hr_induction_completion_percent')) >= 100 ? 'Complete — induction covered' : Number(outcome.eval('hr_induction_completion_percent')) >= 75 ? 'Nearly complete — finish remaining topics' : Number(outcome.eval('hr_induction_completion_percent')) >= 40 ? 'In progress — continue section by section' : 'Just started — schedule induction sessions'",
|
|
25585
|
+
},
|
|
25586
|
+
{
|
|
25587
|
+
id: AXPDataGenerator.uuid(),
|
|
25588
|
+
name: 'hr_induction_focus_message',
|
|
25589
|
+
title: createMultiLanguageString('Focus message', 'پیام تمرکز'),
|
|
25590
|
+
description: createMultiLanguageString('Which section to address next', 'کدام بخش را بعداً رسیدگی کنید'),
|
|
25591
|
+
resultKind: 'string',
|
|
25592
|
+
expression: `Number(outcome.eval('hr_induction_completion_percent')) >= 100 ? 'Induction checklist complete — file with HR' : ${openCountExpr(hrInductionIntroKeys)} > 0 ? 'Finish Introduction topics first' : ${openCountExpr(hrInductionEmploymentKeys)} > 0 ? 'Complete Employment Conditions' : ${openCountExpr(hrInductionPayrollKeys)} > 0 ? 'Complete Payroll topics' : ${openCountExpr(hrInductionWorkplaceKeys)} > 0 ? 'Complete General Workplace information' : ${openCountExpr(hrInductionWhsKeys)} > 0 ? 'Complete Health and Safety topics' : ${openCountExpr(hrInductionSecurityKeys)} > 0 ? 'Complete Security topics' : ${openCountExpr(hrInductionTrainingKeys)} > 0 ? 'Complete Training topics' : 'Review any optional comments before sign-off'`,
|
|
25593
|
+
},
|
|
25594
|
+
{
|
|
25595
|
+
id: AXPDataGenerator.uuid(),
|
|
25596
|
+
name: 'hr_induction_all_complete',
|
|
25597
|
+
title: createMultiLanguageString('All topics complete', 'همهٔ موضوعات تکمیل'),
|
|
25598
|
+
description: createMultiLanguageString('True when every induction row is checked', 'وقتی همهٔ سطرهای آشنایی تیک خورده باشد برابر true است'),
|
|
25599
|
+
resultKind: 'boolean',
|
|
25600
|
+
expression: "Number(outcome.eval('hr_induction_completed_count')) === 37",
|
|
25601
|
+
},
|
|
25602
|
+
];
|
|
25603
|
+
//#endregion
|
|
25604
|
+
//#region ---- Organization HR — Employee separation ----
|
|
25605
|
+
const HR_SEPARATION_OUTCOMES = [
|
|
25606
|
+
{
|
|
25607
|
+
id: AXPDataGenerator.uuid(),
|
|
25608
|
+
name: 'hr_separation_completed_count',
|
|
25609
|
+
title: createMultiLanguageString('Items completed', 'موارد تکمیلشده'),
|
|
25610
|
+
description: createMultiLanguageString('Offboarding rows marked completed', 'سطرهای خروج علامتخورده بهعنوان تکمیلشده'),
|
|
25611
|
+
resultKind: 'number',
|
|
25612
|
+
expression: HR_SEPARATION_COMPLETED_COUNT_EXPR,
|
|
25613
|
+
},
|
|
25614
|
+
{
|
|
25615
|
+
id: AXPDataGenerator.uuid(),
|
|
25616
|
+
name: 'hr_separation_open_count',
|
|
25617
|
+
title: createMultiLanguageString('Items still open', 'موارد بازمانده'),
|
|
25618
|
+
description: createMultiLanguageString('Rows not yet marked completed', 'سطرهایی که هنوز تکمیل نشدهاند'),
|
|
25619
|
+
resultKind: 'number',
|
|
25620
|
+
expression: HR_SEPARATION_OPEN_COUNT_EXPR,
|
|
25621
|
+
},
|
|
25622
|
+
{
|
|
25623
|
+
id: AXPDataGenerator.uuid(),
|
|
25624
|
+
name: 'hr_separation_completion_percent',
|
|
25625
|
+
title: createMultiLanguageString('Completion (%)', 'درصد تکمیل'),
|
|
25626
|
+
description: createMultiLanguageString('0–100 from 14 separation checklist items', '۰–۱۰۰ از ۱۴ مورد چکلیست جدایی'),
|
|
25627
|
+
resultKind: 'number',
|
|
25628
|
+
expression: "fn.ROUND(Number(outcome.eval('hr_separation_completed_count')) / 14 * 100, 0)",
|
|
25629
|
+
displayRules: [
|
|
25630
|
+
{
|
|
25631
|
+
id: 'hr-separation-pct-low',
|
|
25632
|
+
order: 0,
|
|
25633
|
+
operator: 'lt',
|
|
25634
|
+
compareValue: 50,
|
|
25635
|
+
color: outcomeThemeDisplayColor('danger', 'lightest'),
|
|
25636
|
+
emphasis: 'bold',
|
|
25637
|
+
icon: 'fa-light fa-circle-exclamation',
|
|
25638
|
+
},
|
|
25639
|
+
{
|
|
25640
|
+
id: 'hr-separation-pct-mid',
|
|
25641
|
+
order: 1,
|
|
25642
|
+
operator: 'lt',
|
|
25643
|
+
compareValue: 100,
|
|
25644
|
+
color: outcomeThemeDisplayColor('warning', 'lightest'),
|
|
25645
|
+
emphasis: 'medium',
|
|
25646
|
+
icon: 'fa-light fa-triangle-exclamation',
|
|
25647
|
+
},
|
|
25648
|
+
{
|
|
25649
|
+
id: 'hr-separation-pct-done',
|
|
25650
|
+
order: 2,
|
|
25651
|
+
operator: 'gte',
|
|
25652
|
+
compareValue: 100,
|
|
25653
|
+
color: outcomeThemeDisplayColor('success', 'lightest'),
|
|
25654
|
+
emphasis: 'normal',
|
|
25655
|
+
icon: 'fa-light fa-circle-check',
|
|
25656
|
+
},
|
|
25657
|
+
],
|
|
25658
|
+
},
|
|
25659
|
+
{
|
|
25660
|
+
id: AXPDataGenerator.uuid(),
|
|
25661
|
+
name: 'hr_separation_completion_band',
|
|
25662
|
+
title: createMultiLanguageString('Completion band', 'باند تکمیل'),
|
|
25663
|
+
description: createMultiLanguageString('Traffic-light summary for offboarding progress', 'خلاصه چراغ راهنمایی برای پیشرفت خروج'),
|
|
25664
|
+
resultKind: 'string',
|
|
25665
|
+
expression: "Number(outcome.eval('hr_separation_completion_percent')) >= 100 ? 'Complete — ready for final payroll' : Number(outcome.eval('hr_separation_completion_percent')) >= 75 ? 'Nearly complete — confirm remaining returns' : Number(outcome.eval('hr_separation_completion_percent')) >= 40 ? 'In progress — chase outstanding assets' : 'Just started — assign owner per line'",
|
|
25666
|
+
},
|
|
25667
|
+
{
|
|
25668
|
+
id: AXPDataGenerator.uuid(),
|
|
25669
|
+
name: 'hr_separation_focus_message',
|
|
25670
|
+
title: createMultiLanguageString('Focus message', 'پیام تمرکز'),
|
|
25671
|
+
description: createMultiLanguageString('Short guidance for remaining offboarding work', 'راهنمای کوتاه برای کارهای باقیماندهٔ خروج'),
|
|
25672
|
+
resultKind: 'string',
|
|
25673
|
+
expression: "Number(outcome.eval('hr_separation_completion_percent')) >= 100 ? 'Separation checklist complete — proceed to exit interview' : Number(outcome.eval('hr_separation_open_count')) > 5 ? 'Prioritize asset returns and finance clearances' : Number(outcome.eval('hr_separation_open_count')) > 0 ? 'Complete remaining checklist rows and note N/A in comments' : 'Review comments and manager sign-off'",
|
|
25674
|
+
},
|
|
25675
|
+
{
|
|
25676
|
+
id: AXPDataGenerator.uuid(),
|
|
25677
|
+
name: 'hr_separation_all_complete',
|
|
25678
|
+
title: createMultiLanguageString('All items complete', 'همهٔ موارد تکمیل'),
|
|
25679
|
+
description: createMultiLanguageString('True when every separation row is checked', 'وقتی همهٔ سطرهای جدایی تیک خورده باشد برابر true است'),
|
|
25680
|
+
resultKind: 'boolean',
|
|
25681
|
+
expression: "Number(outcome.eval('hr_separation_completed_count')) === 14",
|
|
25682
|
+
},
|
|
25683
|
+
];
|
|
25684
|
+
//#endregion
|
|
25685
|
+
|
|
25312
25686
|
//#region ---- Imports ----
|
|
25313
25687
|
//#endregion
|
|
25314
25688
|
const q$3 = mockQuestionBankItemByName;
|
|
25315
|
-
/** Stable id for mock
|
|
25689
|
+
/** Stable id for mock outcomes and automations that reference this questionnaire. */
|
|
25316
25690
|
const QUESTIONNAIRE_ID_EMPLOYEE_SEPARATION_CHECKLIST = AXPDataGenerator.uuid();
|
|
25317
25691
|
//#region ---- Mock Data ----
|
|
25318
25692
|
const employeeSeparationQuestionnaires = [
|
|
@@ -25328,8 +25702,20 @@ const employeeSeparationQuestionnaires = [
|
|
|
25328
25702
|
},
|
|
25329
25703
|
post: {
|
|
25330
25704
|
reviewEnabled: false,
|
|
25331
|
-
summaryEnabled:
|
|
25332
|
-
|
|
25705
|
+
summaryEnabled: true,
|
|
25706
|
+
showOutcomeResults: true,
|
|
25707
|
+
summaryContent: {
|
|
25708
|
+
'en-US': '<p><strong>Separation summary</strong></p>' +
|
|
25709
|
+
'<p>Completion: <strong>{{hr_separation_completion_percent}}</strong>% — <strong>{{hr_separation_completion_band}}</strong></p>' +
|
|
25710
|
+
'<p>Items completed: <strong>{{hr_separation_completed_count}}</strong> / 14 · Still open: <strong>{{hr_separation_open_count}}</strong></p>' +
|
|
25711
|
+
'<p><strong>Focus:</strong> {{hr_separation_focus_message}}</p>' +
|
|
25712
|
+
'<p>Answered <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
25713
|
+
'fa-IR': '<p><strong>خلاصه جدایی</strong></p>' +
|
|
25714
|
+
'<p>تکمیل: <strong>{{hr_separation_completion_percent}}</strong>٪ — <strong>{{hr_separation_completion_band}}</strong></p>' +
|
|
25715
|
+
'<p>موارد تکمیلشده: <strong>{{hr_separation_completed_count}}</strong> / ۱۴ · بازمانده: <strong>{{hr_separation_open_count}}</strong></p>' +
|
|
25716
|
+
'<p><strong>تمرکز:</strong> {{hr_separation_focus_message}}</p>' +
|
|
25717
|
+
'<p>پاسخدادهشده <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
25718
|
+
},
|
|
25333
25719
|
},
|
|
25334
25720
|
display: {
|
|
25335
25721
|
viewMode: 'single-page',
|
|
@@ -25421,6 +25807,7 @@ const employeeSeparationQuestionnaires = [
|
|
|
25421
25807
|
},
|
|
25422
25808
|
],
|
|
25423
25809
|
},
|
|
25810
|
+
outcomes: createQuestionnaireOutcomesSection(HR_SEPARATION_OUTCOMES),
|
|
25424
25811
|
scoringType: 'none',
|
|
25425
25812
|
timeLimit: 3600,
|
|
25426
25813
|
allowPause: true,
|
|
@@ -25436,7 +25823,7 @@ const employeeSeparationQuestionnaires = [
|
|
|
25436
25823
|
//#region ---- Imports ----
|
|
25437
25824
|
//#endregion
|
|
25438
25825
|
const q$2 = mockQuestionBankItemByName;
|
|
25439
|
-
/** Stable id for mock
|
|
25826
|
+
/** Stable id for mock outcomes and automations that reference this questionnaire. */
|
|
25440
25827
|
const QUESTIONNAIRE_ID_HR_EMPLOYEE_INDUCTION = AXPDataGenerator.uuid();
|
|
25441
25828
|
//#region ---- Mock Data ----
|
|
25442
25829
|
const organizationHrQuestionnaires = [
|
|
@@ -25452,8 +25839,20 @@ const organizationHrQuestionnaires = [
|
|
|
25452
25839
|
},
|
|
25453
25840
|
post: {
|
|
25454
25841
|
reviewEnabled: false,
|
|
25455
|
-
summaryEnabled:
|
|
25456
|
-
|
|
25842
|
+
summaryEnabled: true,
|
|
25843
|
+
showOutcomeResults: true,
|
|
25844
|
+
summaryContent: {
|
|
25845
|
+
'en-US': '<p><strong>Induction summary</strong></p>' +
|
|
25846
|
+
'<p>Completion: <strong>{{hr_induction_completion_percent}}</strong>% — <strong>{{hr_induction_completion_band}}</strong></p>' +
|
|
25847
|
+
'<p>Topics completed: <strong>{{hr_induction_completed_count}}</strong> / 37 · Still open: <strong>{{hr_induction_open_count}}</strong></p>' +
|
|
25848
|
+
'<p><strong>Focus:</strong> {{hr_induction_focus_message}}</p>' +
|
|
25849
|
+
'<p>Answered <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
25850
|
+
'fa-IR': '<p><strong>خلاصه آشنایی</strong></p>' +
|
|
25851
|
+
'<p>تکمیل: <strong>{{hr_induction_completion_percent}}</strong>٪ — <strong>{{hr_induction_completion_band}}</strong></p>' +
|
|
25852
|
+
'<p>موضوعات تکمیلشده: <strong>{{hr_induction_completed_count}}</strong> / ۳۷ · بازمانده: <strong>{{hr_induction_open_count}}</strong></p>' +
|
|
25853
|
+
'<p><strong>تمرکز:</strong> {{hr_induction_focus_message}}</p>' +
|
|
25854
|
+
'<p>پاسخدادهشده <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
25855
|
+
},
|
|
25457
25856
|
},
|
|
25458
25857
|
display: {
|
|
25459
25858
|
viewMode: 'side-menu',
|
|
@@ -25708,6 +26107,7 @@ const organizationHrQuestionnaires = [
|
|
|
25708
26107
|
},
|
|
25709
26108
|
],
|
|
25710
26109
|
},
|
|
26110
|
+
outcomes: createQuestionnaireOutcomesSection(HR_INDUCTION_OUTCOMES),
|
|
25711
26111
|
scoringType: 'none',
|
|
25712
26112
|
timeLimit: 3600,
|
|
25713
26113
|
allowPause: true,
|
|
@@ -25720,6 +26120,47 @@ const organizationHrQuestionnaires = [
|
|
|
25720
26120
|
];
|
|
25721
26121
|
//#endregion
|
|
25722
26122
|
|
|
26123
|
+
//#region ---- Imports ----
|
|
26124
|
+
//#endregion
|
|
26125
|
+
//#region ---- Plant — Work order ----
|
|
26126
|
+
const PM_WORK_ORDER_OUTCOMES = [
|
|
26127
|
+
{
|
|
26128
|
+
id: AXPDataGenerator.uuid(),
|
|
26129
|
+
name: 'maint_backlog_priority',
|
|
26130
|
+
title: createMultiLanguageString('Backlog priority score', 'امتیاز اولویت انباشت کار'),
|
|
26131
|
+
description: createMultiLanguageString('Downtime × quality gap × LOTO factor', 'زمان توقف × شکاف کیفیت × ضریب LOTO'),
|
|
26132
|
+
resultKind: 'number',
|
|
26133
|
+
expression: "fn.ROUND(Number(answer.eval('maint_downtime_h')) * (6 - Number(answer.eval('maint_pm_quality'))) * (answer.eval('maint_loto') === 'yes' ? 1 : 1.5), 0)",
|
|
26134
|
+
},
|
|
26135
|
+
{
|
|
26136
|
+
id: AXPDataGenerator.uuid(),
|
|
26137
|
+
name: 'maint_backlog_tier',
|
|
26138
|
+
title: createMultiLanguageString('Backlog tier', 'سطح انباشت کار'),
|
|
26139
|
+
resultKind: 'string',
|
|
26140
|
+
expression: "Number(outcome.eval('maint_backlog_priority')) > 80 ? 'Escalate' : Number(outcome.eval('maint_backlog_priority')) > 25 ? 'Plan work' : 'Monitor'",
|
|
26141
|
+
},
|
|
26142
|
+
];
|
|
26143
|
+
//#endregion
|
|
26144
|
+
//#region ---- Plant — Spares ----
|
|
26145
|
+
const PM_SPARES_OUTCOMES = [
|
|
26146
|
+
{
|
|
26147
|
+
id: AXPDataGenerator.uuid(),
|
|
26148
|
+
name: 'maint_logistics_risk',
|
|
26149
|
+
title: createMultiLanguageString('Logistics risk score', 'امتیاز ریسک تدارکات'),
|
|
26150
|
+
description: createMultiLanguageString('MTTR weighted when spares are not assured', 'MTTR وزندار وقتی یدکی تضمین نشده است'),
|
|
26151
|
+
resultKind: 'number',
|
|
26152
|
+
expression: "fn.ROUND(Number(answer.eval('maint_mttr_h')) * (answer.eval('maint_spare_ok') === 'yes' ? 1 : 2.2), 0)",
|
|
26153
|
+
},
|
|
26154
|
+
{
|
|
26155
|
+
id: AXPDataGenerator.uuid(),
|
|
26156
|
+
name: 'maint_logistics_followup',
|
|
26157
|
+
title: createMultiLanguageString('Logistics follow-up', 'پیگیری تدارکات'),
|
|
26158
|
+
resultKind: 'string',
|
|
26159
|
+
expression: "Number(outcome.eval('maint_logistics_risk')) > 50 ? 'Source spares or expedite' : 'Monitor'",
|
|
26160
|
+
},
|
|
26161
|
+
];
|
|
26162
|
+
//#endregion
|
|
26163
|
+
|
|
25723
26164
|
//#region ---- Imports ----
|
|
25724
26165
|
//#endregion
|
|
25725
26166
|
const q$1 = mockQuestionBankItemByName;
|
|
@@ -25750,7 +26191,7 @@ const plantMaintenanceQuestionnaires = [
|
|
|
25750
26191
|
post: {
|
|
25751
26192
|
reviewEnabled: false,
|
|
25752
26193
|
summaryEnabled: true,
|
|
25753
|
-
|
|
26194
|
+
showOutcomeResults: true,
|
|
25754
26195
|
summaryContent: {
|
|
25755
26196
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
25756
26197
|
'<p>Backlog priority score: <strong>{{maint_backlog_priority}}</strong></p>' +
|
|
@@ -25811,6 +26252,7 @@ const plantMaintenanceQuestionnaires = [
|
|
|
25811
26252
|
},
|
|
25812
26253
|
],
|
|
25813
26254
|
},
|
|
26255
|
+
outcomes: createQuestionnaireOutcomesSection(PM_WORK_ORDER_OUTCOMES),
|
|
25814
26256
|
scoringType: 'none',
|
|
25815
26257
|
timeLimit: 900,
|
|
25816
26258
|
allowPause: true,
|
|
@@ -25830,7 +26272,7 @@ const plantMaintenanceQuestionnaires = [
|
|
|
25830
26272
|
post: {
|
|
25831
26273
|
reviewEnabled: false,
|
|
25832
26274
|
summaryEnabled: true,
|
|
25833
|
-
|
|
26275
|
+
showOutcomeResults: true,
|
|
25834
26276
|
summaryContent: {
|
|
25835
26277
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
25836
26278
|
'<p>Logistics risk score: <strong>{{maint_logistics_risk}}</strong></p>' +
|
|
@@ -25879,6 +26321,7 @@ const plantMaintenanceQuestionnaires = [
|
|
|
25879
26321
|
},
|
|
25880
26322
|
],
|
|
25881
26323
|
},
|
|
26324
|
+
outcomes: createQuestionnaireOutcomesSection(PM_SPARES_OUTCOMES),
|
|
25882
26325
|
scoringType: 'none',
|
|
25883
26326
|
timeLimit: 600,
|
|
25884
26327
|
allowPause: true,
|
|
@@ -25902,7 +26345,7 @@ const plantMaintenanceQuestionnaires = [
|
|
|
25902
26345
|
post: {
|
|
25903
26346
|
reviewEnabled: true,
|
|
25904
26347
|
summaryEnabled: true,
|
|
25905
|
-
|
|
26348
|
+
showOutcomeResults: false,
|
|
25906
26349
|
summaryContent: {
|
|
25907
26350
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
25908
26351
|
'<p>Answered <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>',
|
|
@@ -26037,6 +26480,135 @@ const plantMaintenanceQuestionnaires = [
|
|
|
26037
26480
|
];
|
|
26038
26481
|
//#endregion
|
|
26039
26482
|
|
|
26483
|
+
//#region ---- Imports ----
|
|
26484
|
+
//#endregion
|
|
26485
|
+
//#region ---- Take 5 checklist expressions ----
|
|
26486
|
+
const take5S1Keys = Array.from({ length: 9 }, (_, i) => `take5_1_${String(i + 1).padStart(2, '0')}`);
|
|
26487
|
+
const take5S2Keys = Array.from({ length: 9 }, (_, i) => `take5_2_${String(i + 1).padStart(2, '0')}`);
|
|
26488
|
+
const take5S3Keys = Array.from({ length: 8 }, (_, i) => `take5_3_${String(i + 1).padStart(2, '0')}`);
|
|
26489
|
+
/** Section 1: “no” = gap in pre-task readiness. */
|
|
26490
|
+
const TAKE5_PREP_GAP_COUNT_EXPR = `fn.SUM(${take5S1Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`).join(', ')})`;
|
|
26491
|
+
/** Section 2: “yes” = hazard / exposure flagged. */
|
|
26492
|
+
const TAKE5_HAZARD_YES_COUNT_EXPR = `fn.SUM(${take5S2Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`).join(', ')})`;
|
|
26493
|
+
/** Section 3: “yes” = that permit type is required for this job. */
|
|
26494
|
+
const TAKE5_PERMIT_YES_COUNT_EXPR = `fn.SUM(${take5S3Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`).join(', ')})`;
|
|
26495
|
+
/** Favourable answers: S1 & S4 yes; S2 & S3 no (matches paper Take 5 polarity). */
|
|
26496
|
+
const TAKE5_FAVOURABLE_COUNT_EXPR = `fn.SUM(${[
|
|
26497
|
+
...take5S1Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`),
|
|
26498
|
+
...take5S2Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`),
|
|
26499
|
+
...take5S3Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`),
|
|
26500
|
+
`(answer.eval('take5_4_01') === 'yes' ? 1 : 0)`,
|
|
26501
|
+
].join(', ')})`;
|
|
26502
|
+
//#endregion
|
|
26503
|
+
//#region ---- Workplace Safety — Hazard ----
|
|
26504
|
+
const WS_HAZARD_OUTCOMES = [
|
|
26505
|
+
{
|
|
26506
|
+
id: AXPDataGenerator.uuid(),
|
|
26507
|
+
name: 'risk_points',
|
|
26508
|
+
title: createMultiLanguageString('Risk points', 'امتیاز ریسک'),
|
|
26509
|
+
description: createMultiLanguageString('People × days open × severity (1–5)', 'نفر × روزهای باز × شدت (۱–۵)'),
|
|
26510
|
+
resultKind: 'number',
|
|
26511
|
+
expression: "fn.ROUND(Number(answer.eval('exp_people')) * Number(answer.eval('exp_days')) * Number(answer.eval('sev')), 0)",
|
|
26512
|
+
},
|
|
26513
|
+
{
|
|
26514
|
+
id: AXPDataGenerator.uuid(),
|
|
26515
|
+
name: 'risk_priority',
|
|
26516
|
+
title: createMultiLanguageString('Action priority', 'اولویت اقدام'),
|
|
26517
|
+
description: createMultiLanguageString('Tiered follow-up from risk points', 'پیگیری چندلایه بر اساس امتیاز ریسک'),
|
|
26518
|
+
resultKind: 'string',
|
|
26519
|
+
expression: "Number(outcome.eval('risk_points')) > 100 ? 'Escalate immediately' : Number(outcome.eval('risk_points')) > 30 ? 'Schedule control' : 'Monitor'",
|
|
26520
|
+
},
|
|
26521
|
+
];
|
|
26522
|
+
//#endregion
|
|
26523
|
+
//#region ---- Workplace Safety — PPE ----
|
|
26524
|
+
const WS_PPE_OUTCOMES = [
|
|
26525
|
+
{
|
|
26526
|
+
id: AXPDataGenerator.uuid(),
|
|
26527
|
+
name: 'ppe_compliance_score',
|
|
26528
|
+
title: createMultiLanguageString('PPE compliance score', 'امتیاز رعایت تجهیزات حفاظت فردی'),
|
|
26529
|
+
description: createMultiLanguageString('100 when PPE adequate; reduced when not', '۱۰۰ وقتی تجهیزات کافی است؛ در غیر این صورت کاهش مییابد'),
|
|
26530
|
+
resultKind: 'number',
|
|
26531
|
+
expression: "fn.ROUND(answer.eval('whs_ppe_ok') === 'yes' ? 100 : 35, 0)",
|
|
26532
|
+
},
|
|
26533
|
+
{
|
|
26534
|
+
id: AXPDataGenerator.uuid(),
|
|
26535
|
+
name: 'ppe_compliance_band',
|
|
26536
|
+
title: createMultiLanguageString('PPE band', 'باند تجهیزات حفاظت فردی'),
|
|
26537
|
+
description: createMultiLanguageString('Traffic-light style', 'سبک چراغ راهنمایی (قرمز/زرد/سبز)'),
|
|
26538
|
+
resultKind: 'string',
|
|
26539
|
+
expression: "Number(outcome.eval('ppe_compliance_score')) >= 80 ? 'Green' : Number(outcome.eval('ppe_compliance_score')) >= 50 ? 'Amber' : 'Red'",
|
|
26540
|
+
},
|
|
26541
|
+
];
|
|
26542
|
+
//#endregion
|
|
26543
|
+
//#region ---- Workplace Safety — Take 5 Checklist ----
|
|
26544
|
+
const WS_TAKE5_OUTCOMES = [
|
|
26545
|
+
{
|
|
26546
|
+
id: AXPDataGenerator.uuid(),
|
|
26547
|
+
name: 'take5_prep_gap_count',
|
|
26548
|
+
title: createMultiLanguageString('Pre-task gaps (section 1)', 'شکافهای پیش از کار (بخش ۱)'),
|
|
26549
|
+
description: createMultiLanguageString('Count of section 1 answers that are “No” (readiness gap).', 'تعداد پاسخهای «خیر» در بخش ۱ (شکاف آمادگی).'),
|
|
26550
|
+
resultKind: 'number',
|
|
26551
|
+
expression: TAKE5_PREP_GAP_COUNT_EXPR,
|
|
26552
|
+
},
|
|
26553
|
+
{
|
|
26554
|
+
id: AXPDataGenerator.uuid(),
|
|
26555
|
+
name: 'take5_hazard_yes_count',
|
|
26556
|
+
title: createMultiLanguageString('Hazards flagged (section 2)', 'خطرهای علامتخورده (بخش ۲)'),
|
|
26557
|
+
description: createMultiLanguageString('Count of section 2 answers that are “Yes” (hazard or exposure applies).', 'تعداد پاسخهای «بله» در بخش ۲ (وجود خطر یا قرارگیری).'),
|
|
26558
|
+
resultKind: 'number',
|
|
26559
|
+
expression: TAKE5_HAZARD_YES_COUNT_EXPR,
|
|
26560
|
+
},
|
|
26561
|
+
{
|
|
26562
|
+
id: AXPDataGenerator.uuid(),
|
|
26563
|
+
name: 'take5_permit_yes_count',
|
|
26564
|
+
title: createMultiLanguageString('Permit types required (section 3)', 'انواع مجوز لازم (بخش ۳)'),
|
|
26565
|
+
description: createMultiLanguageString('Count of section 3 answers that are “Yes” (that permit pathway applies).', 'تعداد پاسخهای «بله» در بخش ۳ (مسیر مجوز مربوطه اعمال میشود).'),
|
|
26566
|
+
resultKind: 'number',
|
|
26567
|
+
expression: TAKE5_PERMIT_YES_COUNT_EXPR,
|
|
26568
|
+
},
|
|
26569
|
+
{
|
|
26570
|
+
id: AXPDataGenerator.uuid(),
|
|
26571
|
+
name: 'take5_favourable_count',
|
|
26572
|
+
title: createMultiLanguageString('Favourable answers (0–27)', 'پاسخهای مطلوب (۰–۲۷)'),
|
|
26573
|
+
description: createMultiLanguageString('Answers that match Take 5 “safe” polarity for each section.', 'پاسخهایی که با قطبش «ایمن» فرم Take 5 برای هر بخش همخوان است.'),
|
|
26574
|
+
resultKind: 'number',
|
|
26575
|
+
expression: TAKE5_FAVOURABLE_COUNT_EXPR,
|
|
26576
|
+
},
|
|
26577
|
+
{
|
|
26578
|
+
id: AXPDataGenerator.uuid(),
|
|
26579
|
+
name: 'take5_readiness_score',
|
|
26580
|
+
title: createMultiLanguageString('Readiness score', 'امتیاز آمادگی'),
|
|
26581
|
+
description: createMultiLanguageString('0–100 from favourable answers (27 questions, equal weight).', '۰–۱۰۰ از پاسخهای مطلوب (۲۷ سؤال، وزن یکسان).'),
|
|
26582
|
+
resultKind: 'number',
|
|
26583
|
+
expression: "fn.ROUND(Number(outcome.eval('take5_favourable_count')) / 27 * 100, 0)",
|
|
26584
|
+
},
|
|
26585
|
+
{
|
|
26586
|
+
id: AXPDataGenerator.uuid(),
|
|
26587
|
+
name: 'take5_readiness_band',
|
|
26588
|
+
title: createMultiLanguageString('Readiness band', 'باند آمادگی'),
|
|
26589
|
+
description: createMultiLanguageString('Traffic-light summary from readiness score.', 'خلاصه چراغ راهنمایی از امتیاز آمادگی.'),
|
|
26590
|
+
resultKind: 'string',
|
|
26591
|
+
expression: "Number(outcome.eval('take5_readiness_score')) >= 100 ? 'Green — all checks favourable' : Number(outcome.eval('take5_readiness_score')) >= 85 ? 'Amber — review gaps' : 'Red — stop and reassess'",
|
|
26592
|
+
},
|
|
26593
|
+
{
|
|
26594
|
+
id: AXPDataGenerator.uuid(),
|
|
26595
|
+
name: 'take5_focus_message',
|
|
26596
|
+
title: createMultiLanguageString('Focus message', 'پیام تمرکز'),
|
|
26597
|
+
description: createMultiLanguageString('Short guidance: which section to address first.', 'راهنمای کوتاه: کدام بخش را اول رسیدگی کنید.'),
|
|
26598
|
+
resultKind: 'string',
|
|
26599
|
+
expression: "Number(outcome.eval('take5_prep_gap_count')) > 0 ? 'Address section 1 pre-task gaps before starting' : Number(outcome.eval('take5_hazard_yes_count')) > 0 ? 'Control section 2 hazards before work' : Number(outcome.eval('take5_permit_yes_count')) > 0 ? 'Confirm section 3 permits are issued and signed on' : Number(outcome.eval('take5_readiness_score')) >= 100 ? 'Proceed — maintain controls in place' : 'Review answers with your supervisor'",
|
|
26600
|
+
},
|
|
26601
|
+
{
|
|
26602
|
+
id: AXPDataGenerator.uuid(),
|
|
26603
|
+
name: 'take5_all_checks_pass',
|
|
26604
|
+
title: createMultiLanguageString('All checks pass', 'همهٔ موارد قبول'),
|
|
26605
|
+
description: createMultiLanguageString('True when every line matches the favourable Yes/No pattern.', 'وقتی همهٔ سطرها با الگوی مطلوب بله/خیر همخوان باشد برابر true است.'),
|
|
26606
|
+
resultKind: 'boolean',
|
|
26607
|
+
expression: "Number(outcome.eval('take5_favourable_count')) === 27",
|
|
26608
|
+
},
|
|
26609
|
+
];
|
|
26610
|
+
//#endregion
|
|
26611
|
+
|
|
26040
26612
|
//#region ---- Imports ----
|
|
26041
26613
|
//#endregion
|
|
26042
26614
|
const q = mockQuestionBankItemByName;
|
|
@@ -26055,7 +26627,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26055
26627
|
post: {
|
|
26056
26628
|
reviewEnabled: false,
|
|
26057
26629
|
summaryEnabled: true,
|
|
26058
|
-
|
|
26630
|
+
showOutcomeResults: true,
|
|
26059
26631
|
summaryContent: {
|
|
26060
26632
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
26061
26633
|
'<p>Risk points: <strong>{{risk_points}}</strong></p>' +
|
|
@@ -26109,6 +26681,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26109
26681
|
},
|
|
26110
26682
|
],
|
|
26111
26683
|
},
|
|
26684
|
+
outcomes: createQuestionnaireOutcomesSection(WS_HAZARD_OUTCOMES),
|
|
26112
26685
|
scoringType: 'none',
|
|
26113
26686
|
timeLimit: 600,
|
|
26114
26687
|
allowPause: true,
|
|
@@ -26128,7 +26701,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26128
26701
|
post: {
|
|
26129
26702
|
reviewEnabled: false,
|
|
26130
26703
|
summaryEnabled: true,
|
|
26131
|
-
|
|
26704
|
+
showOutcomeResults: true,
|
|
26132
26705
|
summaryContent: {
|
|
26133
26706
|
'en-US': '<p><strong>Summary</strong></p>' +
|
|
26134
26707
|
'<p>PPE compliance score: <strong>{{ppe_compliance_score}}</strong> / 100</p>' +
|
|
@@ -26171,6 +26744,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26171
26744
|
},
|
|
26172
26745
|
],
|
|
26173
26746
|
},
|
|
26747
|
+
outcomes: createQuestionnaireOutcomesSection(WS_PPE_OUTCOMES),
|
|
26174
26748
|
scoringType: 'none',
|
|
26175
26749
|
timeLimit: 480,
|
|
26176
26750
|
allowPause: true,
|
|
@@ -26190,7 +26764,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26190
26764
|
post: {
|
|
26191
26765
|
reviewEnabled: false,
|
|
26192
26766
|
summaryEnabled: true,
|
|
26193
|
-
|
|
26767
|
+
showOutcomeResults: true,
|
|
26194
26768
|
summaryContent: {
|
|
26195
26769
|
'en-US': '<p><strong>Take 5 complete</strong></p>' +
|
|
26196
26770
|
'<p>Answered <strong>{{answeredCount}}</strong> / <strong>{{totalQuestions}}</strong></p>' +
|
|
@@ -26274,6 +26848,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26274
26848
|
},
|
|
26275
26849
|
],
|
|
26276
26850
|
},
|
|
26851
|
+
outcomes: createQuestionnaireOutcomesSection(WS_TAKE5_OUTCOMES),
|
|
26277
26852
|
scoringType: 'none',
|
|
26278
26853
|
timeLimit: 900,
|
|
26279
26854
|
allowPause: true,
|
|
@@ -26291,7 +26866,7 @@ const workplaceSafetyQuestionnaires = [
|
|
|
26291
26866
|
//#region ---- Mock Data ----
|
|
26292
26867
|
/**
|
|
26293
26868
|
* Mock questionnaires by category (General → … → Compliance; team-lead competencies).
|
|
26294
|
-
*
|
|
26869
|
+
* Outcomes are embedded on each questionnaire via `outcomes.sections` in the matching `questionnaires-*.mock.ts` file.
|
|
26295
26870
|
*/
|
|
26296
26871
|
const questionnaireMock = [
|
|
26297
26872
|
...generalQuestionnaires,
|
|
@@ -26392,458 +26967,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
26392
26967
|
type: Injectable
|
|
26393
26968
|
}] });
|
|
26394
26969
|
|
|
26395
|
-
//#region ---- Imports ----
|
|
26396
|
-
//#endregion
|
|
26397
|
-
//#region ---- Take 5 checklist expressions ----
|
|
26398
|
-
const take5S1Keys = Array.from({ length: 9 }, (_, i) => `take5_1_${String(i + 1).padStart(2, '0')}`);
|
|
26399
|
-
const take5S2Keys = Array.from({ length: 9 }, (_, i) => `take5_2_${String(i + 1).padStart(2, '0')}`);
|
|
26400
|
-
const take5S3Keys = Array.from({ length: 8 }, (_, i) => `take5_3_${String(i + 1).padStart(2, '0')}`);
|
|
26401
|
-
/** Section 1: “no” = gap in pre-task readiness. */
|
|
26402
|
-
const TAKE5_PREP_GAP_COUNT_EXPR = `fn.SUM(${take5S1Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`).join(', ')})`;
|
|
26403
|
-
/** Section 2: “yes” = hazard / exposure flagged. */
|
|
26404
|
-
const TAKE5_HAZARD_YES_COUNT_EXPR = `fn.SUM(${take5S2Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`).join(', ')})`;
|
|
26405
|
-
/** Section 3: “yes” = that permit type is required for this job. */
|
|
26406
|
-
const TAKE5_PERMIT_YES_COUNT_EXPR = `fn.SUM(${take5S3Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`).join(', ')})`;
|
|
26407
|
-
/** Favourable answers: S1 & S4 yes; S2 & S3 no (matches paper Take 5 polarity). */
|
|
26408
|
-
const TAKE5_FAVOURABLE_COUNT_EXPR = `fn.SUM(${[
|
|
26409
|
-
...take5S1Keys.map((k) => `(answer.eval('${k}') === 'yes' ? 1 : 0)`),
|
|
26410
|
-
...take5S2Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`),
|
|
26411
|
-
...take5S3Keys.map((k) => `(answer.eval('${k}') === 'no' ? 1 : 0)`),
|
|
26412
|
-
`(answer.eval('take5_4_01') === 'yes' ? 1 : 0)`,
|
|
26413
|
-
].join(', ')})`;
|
|
26414
|
-
const questionnaireCalculationMock = [
|
|
26415
|
-
// Health — BMI and MDRD eGFR
|
|
26416
|
-
{
|
|
26417
|
-
id: AXPDataGenerator.uuid(),
|
|
26418
|
-
questionnaireId: QUESTIONNAIRE_ID_HEALTH_BMI,
|
|
26419
|
-
name: 'bmi',
|
|
26420
|
-
title: createMultiLanguageString('BMI', 'شاخص تودهٔ بدنی'),
|
|
26421
|
-
description: createMultiLanguageString('Body mass index (kg/m²) from height (cm) and weight (kg)', 'شاخص تودهٔ بدنی (kg/m²) از قد (سانتیمتر) و وزن (کیلوگرم)'),
|
|
26422
|
-
resultKind: 'number',
|
|
26423
|
-
expression: "fn.ROUND(Number(answer.eval('weight_kg')) / ((Number(answer.eval('height_cm')) / 100) ** 2), 1)",
|
|
26424
|
-
createdAt: new Date('2025-03-01'),
|
|
26425
|
-
updatedAt: new Date('2025-03-01'),
|
|
26426
|
-
},
|
|
26427
|
-
{
|
|
26428
|
-
id: AXPDataGenerator.uuid(),
|
|
26429
|
-
questionnaireId: QUESTIONNAIRE_ID_HEALTH_BMI,
|
|
26430
|
-
name: 'egfr_mdrd',
|
|
26431
|
-
title: createMultiLanguageString('eGFR (MDRD)', 'eGFR (MDRD)'),
|
|
26432
|
-
description: createMultiLanguageString('MDRD study equation (Scr mg/dL, age years); female multiplier 0.742.', 'معادلهٔ مطالعهٔ MDRD (کراتینین سرم mg/dL، سن به سال); ضریب ۰٫۷۴۲ برای زنان'),
|
|
26433
|
-
resultKind: 'number',
|
|
26434
|
-
expression: "fn.ROUND(175 * (Number(answer.eval('scr_mg_dl')) ** -1.154) * (Number(answer.eval('age_years')) ** -0.203) * (answer.eval('sex') === 'female' ? 0.742 : 1), 1)",
|
|
26435
|
-
createdAt: new Date('2025-03-01'),
|
|
26436
|
-
updatedAt: new Date('2025-03-01'),
|
|
26437
|
-
},
|
|
26438
|
-
{
|
|
26439
|
-
id: AXPDataGenerator.uuid(),
|
|
26440
|
-
questionnaireId: QUESTIONNAIRE_ID_HEALTH_BMI,
|
|
26441
|
-
name: 'bmi_category',
|
|
26442
|
-
title: createMultiLanguageString('BMI category', 'دستهٔ BMI'),
|
|
26443
|
-
description: createMultiLanguageString('WHO-style categories from computed BMI', 'دستهبندی سبک سازمان جهانی بهداشت بر اساس BMI محاسبهشده'),
|
|
26444
|
-
resultKind: 'string',
|
|
26445
|
-
expression: "fn.IF(!Number.isFinite(Number(outcome.eval('bmi'))), '', Number(outcome.eval('bmi')) < 18.5 ? 'Underweight' : Number(outcome.eval('bmi')) < 25 ? 'Normal' : Number(outcome.eval('bmi')) < 30 ? 'Overweight' : 'Obese')",
|
|
26446
|
-
createdAt: new Date('2025-03-01'),
|
|
26447
|
-
updatedAt: new Date('2025-03-01'),
|
|
26448
|
-
},
|
|
26449
|
-
// Health — Lifestyle index
|
|
26450
|
-
{
|
|
26451
|
-
id: AXPDataGenerator.uuid(),
|
|
26452
|
-
questionnaireId: QUESTIONNAIRE_ID_HEALTH_WELLBEING,
|
|
26453
|
-
name: 'wellness_index',
|
|
26454
|
-
title: createMultiLanguageString('Lifestyle index', 'شاخص سبک زندگی'),
|
|
26455
|
-
description: createMultiLanguageString('Weighted 0–100 from sleep, inverse stress, exercise, hydration, energy', 'میانگین وزنی ۰–۱۰۰ از خواب، کاهش استرس، ورزش، آبرسانی و انرژی'),
|
|
26456
|
-
resultKind: 'number',
|
|
26457
|
-
expression: "fn.ROUND((fn.IF(Number(answer.eval('sleep_h')) > 10, 10, Number(answer.eval('sleep_h')))) / 10 * 20 + (6 - Number(answer.eval('stress_lv'))) / 5 * 20 + (fn.IF(Number(answer.eval('exercise_m')) > 300, 300, Number(answer.eval('exercise_m')))) / 300 * 20 + (fn.IF(Number(answer.eval('water_g')) > 12, 12, Number(answer.eval('water_g')))) / 12 * 20 + Number(answer.eval('energy_lv')) / 5 * 20, 0)",
|
|
26458
|
-
createdAt: new Date('2025-03-15'),
|
|
26459
|
-
updatedAt: new Date('2025-03-15'),
|
|
26460
|
-
},
|
|
26461
|
-
{
|
|
26462
|
-
id: AXPDataGenerator.uuid(),
|
|
26463
|
-
questionnaireId: QUESTIONNAIRE_ID_HEALTH_WELLBEING,
|
|
26464
|
-
name: 'wellness_band',
|
|
26465
|
-
title: createMultiLanguageString('Lifestyle band', 'باند سبک زندگی'),
|
|
26466
|
-
description: createMultiLanguageString('Interpretation of composite index', 'تفسیر شاخص ترکیبی'),
|
|
26467
|
-
resultKind: 'string',
|
|
26468
|
-
expression: "Number(outcome.eval('wellness_index')) >= 75 ? 'Thriving' : Number(outcome.eval('wellness_index')) >= 50 ? 'Balanced' : 'Plan support'",
|
|
26469
|
-
createdAt: new Date('2025-03-15'),
|
|
26470
|
-
updatedAt: new Date('2025-03-15'),
|
|
26471
|
-
},
|
|
26472
|
-
// Workplace Safety — Hazard
|
|
26473
|
-
{
|
|
26474
|
-
id: AXPDataGenerator.uuid(),
|
|
26475
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_HAZARD,
|
|
26476
|
-
name: 'risk_points',
|
|
26477
|
-
title: createMultiLanguageString('Risk points', 'امتیاز ریسک'),
|
|
26478
|
-
description: createMultiLanguageString('People × days open × severity (1–5)', 'نفر × روزهای باز × شدت (۱–۵)'),
|
|
26479
|
-
resultKind: 'number',
|
|
26480
|
-
expression: "fn.ROUND(Number(answer.eval('exp_people')) * Number(answer.eval('exp_days')) * Number(answer.eval('sev')), 0)",
|
|
26481
|
-
createdAt: new Date('2025-04-01'),
|
|
26482
|
-
updatedAt: new Date('2025-04-01'),
|
|
26483
|
-
},
|
|
26484
|
-
{
|
|
26485
|
-
id: AXPDataGenerator.uuid(),
|
|
26486
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_HAZARD,
|
|
26487
|
-
name: 'risk_priority',
|
|
26488
|
-
title: createMultiLanguageString('Action priority', 'اولویت اقدام'),
|
|
26489
|
-
description: createMultiLanguageString('Tiered follow-up from risk points', 'پیگیری چندلایه بر اساس امتیاز ریسک'),
|
|
26490
|
-
resultKind: 'string',
|
|
26491
|
-
expression: "Number(outcome.eval('risk_points')) > 100 ? 'Escalate immediately' : Number(outcome.eval('risk_points')) > 30 ? 'Schedule control' : 'Monitor'",
|
|
26492
|
-
createdAt: new Date('2025-04-01'),
|
|
26493
|
-
updatedAt: new Date('2025-04-01'),
|
|
26494
|
-
},
|
|
26495
|
-
// Workplace Safety — PPE
|
|
26496
|
-
{
|
|
26497
|
-
id: AXPDataGenerator.uuid(),
|
|
26498
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_PPE,
|
|
26499
|
-
name: 'ppe_compliance_score',
|
|
26500
|
-
title: createMultiLanguageString('PPE compliance score', 'امتیاز رعایت تجهیزات حفاظت فردی'),
|
|
26501
|
-
description: createMultiLanguageString('100 when PPE adequate; reduced when not', '۱۰۰ وقتی تجهیزات کافی است؛ در غیر این صورت کاهش مییابد'),
|
|
26502
|
-
resultKind: 'number',
|
|
26503
|
-
expression: "fn.ROUND(answer.eval('whs_ppe_ok') === 'yes' ? 100 : 35, 0)",
|
|
26504
|
-
createdAt: new Date('2025-04-08'),
|
|
26505
|
-
updatedAt: new Date('2025-04-08'),
|
|
26506
|
-
},
|
|
26507
|
-
{
|
|
26508
|
-
id: AXPDataGenerator.uuid(),
|
|
26509
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_PPE,
|
|
26510
|
-
name: 'ppe_compliance_band',
|
|
26511
|
-
title: createMultiLanguageString('PPE band', 'باند تجهیزات حفاظت فردی'),
|
|
26512
|
-
description: createMultiLanguageString('Traffic-light style', 'سبک چراغ راهنمایی (قرمز/زرد/سبز)'),
|
|
26513
|
-
resultKind: 'string',
|
|
26514
|
-
expression: "Number(outcome.eval('ppe_compliance_score')) >= 80 ? 'Green' : Number(outcome.eval('ppe_compliance_score')) >= 50 ? 'Amber' : 'Red'",
|
|
26515
|
-
createdAt: new Date('2025-04-08'),
|
|
26516
|
-
updatedAt: new Date('2025-04-08'),
|
|
26517
|
-
},
|
|
26518
|
-
// Workplace Safety — Take 5 Checklist
|
|
26519
|
-
{
|
|
26520
|
-
id: AXPDataGenerator.uuid(),
|
|
26521
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26522
|
-
name: 'take5_prep_gap_count',
|
|
26523
|
-
title: createMultiLanguageString('Pre-task gaps (section 1)', 'شکافهای پیش از کار (بخش ۱)'),
|
|
26524
|
-
description: createMultiLanguageString('Count of section 1 answers that are “No” (readiness gap).', 'تعداد پاسخهای «خیر» در بخش ۱ (شکاف آمادگی).'),
|
|
26525
|
-
resultKind: 'number',
|
|
26526
|
-
expression: TAKE5_PREP_GAP_COUNT_EXPR,
|
|
26527
|
-
createdAt: new Date('2026-04-21'),
|
|
26528
|
-
updatedAt: new Date('2026-04-21'),
|
|
26529
|
-
},
|
|
26530
|
-
{
|
|
26531
|
-
id: AXPDataGenerator.uuid(),
|
|
26532
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26533
|
-
name: 'take5_hazard_yes_count',
|
|
26534
|
-
title: createMultiLanguageString('Hazards flagged (section 2)', 'خطرهای علامتخورده (بخش ۲)'),
|
|
26535
|
-
description: createMultiLanguageString('Count of section 2 answers that are “Yes” (hazard or exposure applies).', 'تعداد پاسخهای «بله» در بخش ۲ (وجود خطر یا قرارگیری).'),
|
|
26536
|
-
resultKind: 'number',
|
|
26537
|
-
expression: TAKE5_HAZARD_YES_COUNT_EXPR,
|
|
26538
|
-
createdAt: new Date('2026-04-21'),
|
|
26539
|
-
updatedAt: new Date('2026-04-21'),
|
|
26540
|
-
},
|
|
26541
|
-
{
|
|
26542
|
-
id: AXPDataGenerator.uuid(),
|
|
26543
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26544
|
-
name: 'take5_permit_yes_count',
|
|
26545
|
-
title: createMultiLanguageString('Permit types required (section 3)', 'انواع مجوز لازم (بخش ۳)'),
|
|
26546
|
-
description: createMultiLanguageString('Count of section 3 answers that are “Yes” (that permit pathway applies).', 'تعداد پاسخهای «بله» در بخش ۳ (مسیر مجوز مربوطه اعمال میشود).'),
|
|
26547
|
-
resultKind: 'number',
|
|
26548
|
-
expression: TAKE5_PERMIT_YES_COUNT_EXPR,
|
|
26549
|
-
createdAt: new Date('2026-04-21'),
|
|
26550
|
-
updatedAt: new Date('2026-04-21'),
|
|
26551
|
-
},
|
|
26552
|
-
{
|
|
26553
|
-
id: AXPDataGenerator.uuid(),
|
|
26554
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26555
|
-
name: 'take5_favourable_count',
|
|
26556
|
-
title: createMultiLanguageString('Favourable answers (0–27)', 'پاسخهای مطلوب (۰–۲۷)'),
|
|
26557
|
-
description: createMultiLanguageString('Answers that match Take 5 “safe” polarity for each section.', 'پاسخهایی که با قطبش «ایمن» فرم Take 5 برای هر بخش همخوان است.'),
|
|
26558
|
-
resultKind: 'number',
|
|
26559
|
-
expression: TAKE5_FAVOURABLE_COUNT_EXPR,
|
|
26560
|
-
createdAt: new Date('2026-04-21'),
|
|
26561
|
-
updatedAt: new Date('2026-04-21'),
|
|
26562
|
-
},
|
|
26563
|
-
{
|
|
26564
|
-
id: AXPDataGenerator.uuid(),
|
|
26565
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26566
|
-
name: 'take5_readiness_score',
|
|
26567
|
-
title: createMultiLanguageString('Readiness score', 'امتیاز آمادگی'),
|
|
26568
|
-
description: createMultiLanguageString('0–100 from favourable answers (27 questions, equal weight).', '۰–۱۰۰ از پاسخهای مطلوب (۲۷ سؤال، وزن یکسان).'),
|
|
26569
|
-
resultKind: 'number',
|
|
26570
|
-
expression: "fn.ROUND(Number(outcome.eval('take5_favourable_count')) / 27 * 100, 0)",
|
|
26571
|
-
createdAt: new Date('2026-04-21'),
|
|
26572
|
-
updatedAt: new Date('2026-04-21'),
|
|
26573
|
-
},
|
|
26574
|
-
{
|
|
26575
|
-
id: AXPDataGenerator.uuid(),
|
|
26576
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26577
|
-
name: 'take5_readiness_band',
|
|
26578
|
-
title: createMultiLanguageString('Readiness band', 'باند آمادگی'),
|
|
26579
|
-
description: createMultiLanguageString('Traffic-light summary from readiness score.', 'خلاصه چراغ راهنمایی از امتیاز آمادگی.'),
|
|
26580
|
-
resultKind: 'string',
|
|
26581
|
-
expression: "Number(outcome.eval('take5_readiness_score')) >= 100 ? 'Green — all checks favourable' : Number(outcome.eval('take5_readiness_score')) >= 85 ? 'Amber — review gaps' : 'Red — stop and reassess'",
|
|
26582
|
-
createdAt: new Date('2026-04-21'),
|
|
26583
|
-
updatedAt: new Date('2026-04-21'),
|
|
26584
|
-
},
|
|
26585
|
-
{
|
|
26586
|
-
id: AXPDataGenerator.uuid(),
|
|
26587
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26588
|
-
name: 'take5_focus_message',
|
|
26589
|
-
title: createMultiLanguageString('Focus message', 'پیام تمرکز'),
|
|
26590
|
-
description: createMultiLanguageString('Short guidance: which section to address first.', 'راهنمای کوتاه: کدام بخش را اول رسیدگی کنید.'),
|
|
26591
|
-
resultKind: 'string',
|
|
26592
|
-
expression: "Number(outcome.eval('take5_prep_gap_count')) > 0 ? 'Address section 1 pre-task gaps before starting' : Number(outcome.eval('take5_hazard_yes_count')) > 0 ? 'Control section 2 hazards before work' : Number(outcome.eval('take5_permit_yes_count')) > 0 ? 'Confirm section 3 permits are issued and signed on' : Number(outcome.eval('take5_readiness_score')) >= 100 ? 'Proceed — maintain controls in place' : 'Review answers with your supervisor'",
|
|
26593
|
-
createdAt: new Date('2026-04-21'),
|
|
26594
|
-
updatedAt: new Date('2026-04-21'),
|
|
26595
|
-
},
|
|
26596
|
-
{
|
|
26597
|
-
id: AXPDataGenerator.uuid(),
|
|
26598
|
-
questionnaireId: QUESTIONNAIRE_ID_WS_TAKE5,
|
|
26599
|
-
name: 'take5_all_checks_pass',
|
|
26600
|
-
title: createMultiLanguageString('All checks pass', 'همهٔ موارد قبول'),
|
|
26601
|
-
description: createMultiLanguageString('True when every line matches the favourable Yes/No pattern.', 'وقتی همهٔ سطرها با الگوی مطلوب بله/خیر همخوان باشد برابر true است.'),
|
|
26602
|
-
resultKind: 'boolean',
|
|
26603
|
-
expression: "Number(outcome.eval('take5_favourable_count')) === 27",
|
|
26604
|
-
createdAt: new Date('2026-04-21'),
|
|
26605
|
-
updatedAt: new Date('2026-04-21'),
|
|
26606
|
-
},
|
|
26607
|
-
// General — Team alignment
|
|
26608
|
-
{
|
|
26609
|
-
id: AXPDataGenerator.uuid(),
|
|
26610
|
-
questionnaireId: QUESTIONNAIRE_ID_GENERAL_TEAM_PULSE,
|
|
26611
|
-
name: 'gen_alignment_index',
|
|
26612
|
-
title: createMultiLanguageString('Alignment index', 'شاخص همترازی'),
|
|
26613
|
-
description: createMultiLanguageString('0–100 from two 1–5 ratings', '۰–۱۰۰ از دو امتیاز ۱–۵'),
|
|
26614
|
-
resultKind: 'number',
|
|
26615
|
-
expression: "fn.ROUND(((Number(answer.eval('gen_priority_clarity')) + Number(answer.eval('gen_manager_support'))) / 2 - 1) / 4 * 100, 0)",
|
|
26616
|
-
createdAt: new Date('2025-01-20'),
|
|
26617
|
-
updatedAt: new Date('2025-01-20'),
|
|
26618
|
-
},
|
|
26619
|
-
{
|
|
26620
|
-
id: AXPDataGenerator.uuid(),
|
|
26621
|
-
questionnaireId: QUESTIONNAIRE_ID_GENERAL_TEAM_PULSE,
|
|
26622
|
-
name: 'gen_alignment_band',
|
|
26623
|
-
title: createMultiLanguageString('Alignment band', 'باند همترازی'),
|
|
26624
|
-
resultKind: 'string',
|
|
26625
|
-
expression: "Number(outcome.eval('gen_alignment_index')) >= 70 ? 'Aligned' : Number(outcome.eval('gen_alignment_index')) >= 40 ? 'Mixed' : 'At risk'",
|
|
26626
|
-
createdAt: new Date('2025-01-20'),
|
|
26627
|
-
updatedAt: new Date('2025-01-20'),
|
|
26628
|
-
},
|
|
26629
|
-
// General — Office workplace quality
|
|
26630
|
-
{
|
|
26631
|
-
id: AXPDataGenerator.uuid(),
|
|
26632
|
-
questionnaireId: QUESTIONNAIRE_ID_GENERAL_OFFICE_QUALITY,
|
|
26633
|
-
name: 'office_quality_index',
|
|
26634
|
-
title: createMultiLanguageString('Office quality index', 'شاخص کیفیت محیط اداری'),
|
|
26635
|
-
description: createMultiLanguageString('0–100 from seven 1–5 ratings (ergonomics through amenities)', '۰–۱۰۰ از هفت امتیاز ۱–۵ (ارگونومی تا امکانات)'),
|
|
26636
|
-
resultKind: 'number',
|
|
26637
|
-
expression: "fn.ROUND(((Number(answer.eval('off_ergo')) + Number(answer.eval('off_light')) + Number(answer.eval('off_noise')) + Number(answer.eval('off_climate')) + Number(answer.eval('off_space')) + Number(answer.eval('off_focus')) + Number(answer.eval('off_amenities'))) / 7 - 1) / 4 * 100, 0)",
|
|
26638
|
-
createdAt: new Date('2025-02-05'),
|
|
26639
|
-
updatedAt: new Date('2025-02-05'),
|
|
26640
|
-
},
|
|
26641
|
-
{
|
|
26642
|
-
id: AXPDataGenerator.uuid(),
|
|
26643
|
-
questionnaireId: QUESTIONNAIRE_ID_GENERAL_OFFICE_QUALITY,
|
|
26644
|
-
name: 'office_quality_band',
|
|
26645
|
-
title: createMultiLanguageString('Office quality band', 'باند کیفیت محیط اداری'),
|
|
26646
|
-
resultKind: 'string',
|
|
26647
|
-
expression: "Number(outcome.eval('office_quality_index')) >= 75 ? 'Good' : Number(outcome.eval('office_quality_index')) >= 50 ? 'Fair' : 'Poor'",
|
|
26648
|
-
createdAt: new Date('2025-02-05'),
|
|
26649
|
-
updatedAt: new Date('2025-02-05'),
|
|
26650
|
-
},
|
|
26651
|
-
// Plant — Work order
|
|
26652
|
-
{
|
|
26653
|
-
id: AXPDataGenerator.uuid(),
|
|
26654
|
-
questionnaireId: QUESTIONNAIRE_ID_PM_WORK_ORDER,
|
|
26655
|
-
name: 'maint_backlog_priority',
|
|
26656
|
-
title: createMultiLanguageString('Backlog priority score', 'امتیاز اولویت انباشت کار'),
|
|
26657
|
-
description: createMultiLanguageString('Downtime × quality gap × LOTO factor', 'زمان توقف × شکاف کیفیت × ضریب LOTO'),
|
|
26658
|
-
resultKind: 'number',
|
|
26659
|
-
expression: "fn.ROUND(Number(answer.eval('maint_downtime_h')) * (6 - Number(answer.eval('maint_pm_quality'))) * (answer.eval('maint_loto') === 'yes' ? 1 : 1.5), 0)",
|
|
26660
|
-
createdAt: new Date('2025-03-10'),
|
|
26661
|
-
updatedAt: new Date('2025-03-10'),
|
|
26662
|
-
},
|
|
26663
|
-
{
|
|
26664
|
-
id: AXPDataGenerator.uuid(),
|
|
26665
|
-
questionnaireId: QUESTIONNAIRE_ID_PM_WORK_ORDER,
|
|
26666
|
-
name: 'maint_backlog_tier',
|
|
26667
|
-
title: createMultiLanguageString('Backlog tier', 'سطح انباشت کار'),
|
|
26668
|
-
resultKind: 'string',
|
|
26669
|
-
expression: "Number(outcome.eval('maint_backlog_priority')) > 80 ? 'Escalate' : Number(outcome.eval('maint_backlog_priority')) > 25 ? 'Plan work' : 'Monitor'",
|
|
26670
|
-
createdAt: new Date('2025-03-10'),
|
|
26671
|
-
updatedAt: new Date('2025-03-10'),
|
|
26672
|
-
},
|
|
26673
|
-
// Plant — Spares
|
|
26674
|
-
{
|
|
26675
|
-
id: AXPDataGenerator.uuid(),
|
|
26676
|
-
questionnaireId: QUESTIONNAIRE_ID_PM_SPARES,
|
|
26677
|
-
name: 'maint_logistics_risk',
|
|
26678
|
-
title: createMultiLanguageString('Logistics risk score', 'امتیاز ریسک تدارکات'),
|
|
26679
|
-
description: createMultiLanguageString('MTTR weighted when spares are not assured', 'MTTR وزندار وقتی یدکی تضمین نشده است'),
|
|
26680
|
-
resultKind: 'number',
|
|
26681
|
-
expression: "fn.ROUND(Number(answer.eval('maint_mttr_h')) * (answer.eval('maint_spare_ok') === 'yes' ? 1 : 2.2), 0)",
|
|
26682
|
-
createdAt: new Date('2025-03-18'),
|
|
26683
|
-
updatedAt: new Date('2025-03-18'),
|
|
26684
|
-
},
|
|
26685
|
-
{
|
|
26686
|
-
id: AXPDataGenerator.uuid(),
|
|
26687
|
-
questionnaireId: QUESTIONNAIRE_ID_PM_SPARES,
|
|
26688
|
-
name: 'maint_logistics_followup',
|
|
26689
|
-
title: createMultiLanguageString('Logistics follow-up', 'پیگیری تدارکات'),
|
|
26690
|
-
resultKind: 'string',
|
|
26691
|
-
expression: "Number(outcome.eval('maint_logistics_risk')) > 50 ? 'Source spares or expedite' : 'Monitor'",
|
|
26692
|
-
createdAt: new Date('2025-03-18'),
|
|
26693
|
-
updatedAt: new Date('2025-03-18'),
|
|
26694
|
-
},
|
|
26695
|
-
// Compliance — Governance
|
|
26696
|
-
{
|
|
26697
|
-
id: AXPDataGenerator.uuid(),
|
|
26698
|
-
questionnaireId: QUESTIONNAIRE_ID_CP_GOVERNANCE,
|
|
26699
|
-
name: 'comp_resilience_index',
|
|
26700
|
-
title: createMultiLanguageString('Resilience index', 'شاخص تابآوری'),
|
|
26701
|
-
description: createMultiLanguageString('Governance strength minus drill decay', 'قدرت حاکمیتی منهای کهنگی مانور'),
|
|
26702
|
-
resultKind: 'number',
|
|
26703
|
-
expression: "fn.ROUND(fn.MIN(100, fn.MAX(0, Number(answer.eval('comp_governance')) * 18 - Number(answer.eval('comp_months_drill')) * 3 + 10)), 0)",
|
|
26704
|
-
createdAt: new Date('2025-04-02'),
|
|
26705
|
-
updatedAt: new Date('2025-04-02'),
|
|
26706
|
-
},
|
|
26707
|
-
{
|
|
26708
|
-
id: AXPDataGenerator.uuid(),
|
|
26709
|
-
questionnaireId: QUESTIONNAIRE_ID_CP_GOVERNANCE,
|
|
26710
|
-
name: 'comp_resilience_status',
|
|
26711
|
-
title: createMultiLanguageString('Resilience status', 'وضعیت تابآوری'),
|
|
26712
|
-
resultKind: 'string',
|
|
26713
|
-
expression: "Number(outcome.eval('comp_resilience_index')) >= 70 ? 'Strong' : Number(outcome.eval('comp_resilience_index')) >= 45 ? 'Moderate' : 'Improve'",
|
|
26714
|
-
createdAt: new Date('2025-04-02'),
|
|
26715
|
-
updatedAt: new Date('2025-04-02'),
|
|
26716
|
-
},
|
|
26717
|
-
// Compliance — Permits
|
|
26718
|
-
{
|
|
26719
|
-
id: AXPDataGenerator.uuid(),
|
|
26720
|
-
questionnaireId: QUESTIONNAIRE_ID_CP_PERMITS,
|
|
26721
|
-
name: 'comp_readiness_score',
|
|
26722
|
-
title: createMultiLanguageString('Readiness score', 'امتیاز آمادگی'),
|
|
26723
|
-
resultKind: 'number',
|
|
26724
|
-
expression: "fn.ROUND(fn.MIN(100, (answer.eval('comp_audit_ready') === 'yes' ? 42 : 8) + (answer.eval('comp_permit_valid') === 'yes' ? 42 : 12) + Number(answer.eval('comp_training_current')) * 3.2), 0)",
|
|
26725
|
-
createdAt: new Date('2025-04-12'),
|
|
26726
|
-
updatedAt: new Date('2025-04-12'),
|
|
26727
|
-
},
|
|
26728
|
-
{
|
|
26729
|
-
id: AXPDataGenerator.uuid(),
|
|
26730
|
-
questionnaireId: QUESTIONNAIRE_ID_CP_PERMITS,
|
|
26731
|
-
name: 'comp_readiness_next_step',
|
|
26732
|
-
title: createMultiLanguageString('Next step', 'گام بعدی'),
|
|
26733
|
-
resultKind: 'string',
|
|
26734
|
-
expression: "Number(outcome.eval('comp_readiness_score')) >= 75 ? 'Keep cadence' : 'Schedule remediation workshop'",
|
|
26735
|
-
createdAt: new Date('2025-04-12'),
|
|
26736
|
-
updatedAt: new Date('2025-04-12'),
|
|
26737
|
-
},
|
|
26738
|
-
// Team lead — competency pillars (1–5 answers → 0–100 index per pillar)
|
|
26739
|
-
{
|
|
26740
|
-
id: AXPDataGenerator.uuid(),
|
|
26741
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26742
|
-
name: 'tls_pillar_technical_index',
|
|
26743
|
-
title: createMultiLanguageString('Technical pillar index', 'شاخص ستون فنی'),
|
|
26744
|
-
description: createMultiLanguageString('0–100 from nine 1–5 ratings (technical & professional)', '۰–۱۰۰ از نه امتیاز ۱–۵ (فنی و حرفهای)'),
|
|
26745
|
-
resultKind: 'number',
|
|
26746
|
-
expression: "fn.ROUND(((Number(answer.eval('tls_tp_stack_tools')) + Number(answer.eval('tls_tp_code_quality')) + Number(answer.eval('tls_tp_complex_problems')) + Number(answer.eval('tls_tp_architecture_decisions')) + Number(answer.eval('tls_tp_best_practices')) + Number(answer.eval('tls_tp_code_review_feedback')) + Number(answer.eval('tls_tp_debugging')) + Number(answer.eval('tls_tp_knowledge_currency')) + Number(answer.eval('tls_tp_mentoring_transfer'))) / 9 - 1) / 4 * 100, 0)",
|
|
26747
|
-
createdAt: new Date('2026-01-15'),
|
|
26748
|
-
updatedAt: new Date('2026-01-15'),
|
|
26749
|
-
},
|
|
26750
|
-
{
|
|
26751
|
-
id: AXPDataGenerator.uuid(),
|
|
26752
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26753
|
-
name: 'tls_pillar_behavioral_index',
|
|
26754
|
-
title: createMultiLanguageString('Behavioral pillar index', 'شاخص ستون رفتاری'),
|
|
26755
|
-
description: createMultiLanguageString('0–100 from seven 1–5 ratings', '۰–۱۰۰ از هفت امتیاز ۱–۵'),
|
|
26756
|
-
resultKind: 'number',
|
|
26757
|
-
expression: "fn.ROUND(((Number(answer.eval('tls_bc_team_communication')) + Number(answer.eval('tls_bc_meetings_participation')) + Number(answer.eval('tls_bc_listening_inclusion')) + Number(answer.eval('tls_bc_feedback_tone')) + Number(answer.eval('tls_bc_disagreement_handling')) + Number(answer.eval('tls_bc_pressure_composure')) + Number(answer.eval('tls_bc_trust_collaboration'))) / 7 - 1) / 4 * 100, 0)",
|
|
26758
|
-
createdAt: new Date('2026-01-15'),
|
|
26759
|
-
updatedAt: new Date('2026-01-15'),
|
|
26760
|
-
},
|
|
26761
|
-
{
|
|
26762
|
-
id: AXPDataGenerator.uuid(),
|
|
26763
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26764
|
-
name: 'tls_pillar_management_index',
|
|
26765
|
-
title: createMultiLanguageString('Management pillar index', 'شاخص ستون مدیریتی'),
|
|
26766
|
-
description: createMultiLanguageString('0–100 from ten 1–5 ratings', '۰–۱۰۰ از ده امتیاز ۱–۵'),
|
|
26767
|
-
resultKind: 'number',
|
|
26768
|
-
expression: "fn.ROUND(((Number(answer.eval('tls_ml_work_distribution')) + Number(answer.eval('tls_ml_backlog_priorities')) + Number(answer.eval('tls_ml_agile_meetings')) + Number(answer.eval('tls_ml_task_breakdown')) + Number(answer.eval('tls_ml_progress_tracking')) + Number(answer.eval('tls_ml_blockers')) + Number(answer.eval('tls_ml_timely_decisions')) + Number(answer.eval('tls_ml_growth_coaching')) + Number(answer.eval('tls_ml_delivery_timing')) + Number(answer.eval('tls_ml_crisis_leadership'))) / 10 - 1) / 4 * 100, 0)",
|
|
26769
|
-
createdAt: new Date('2026-01-15'),
|
|
26770
|
-
updatedAt: new Date('2026-01-15'),
|
|
26771
|
-
},
|
|
26772
|
-
{
|
|
26773
|
-
id: AXPDataGenerator.uuid(),
|
|
26774
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26775
|
-
name: 'tls_pillar_business_index',
|
|
26776
|
-
title: createMultiLanguageString('Business pillar index', 'شاخص ستون کسبوکار'),
|
|
26777
|
-
description: createMultiLanguageString('0–100 from eight 1–5 ratings', '۰–۱۰۰ از هشت امتیاز ۱–۵'),
|
|
26778
|
-
resultKind: 'number',
|
|
26779
|
-
expression: "fn.ROUND(((Number(answer.eval('tls_bo_product_user_understanding')) + Number(answer.eval('tls_bo_business_impact')) + Number(answer.eval('tls_bo_quality_time_cost')) + Number(answer.eval('tls_bo_value_prioritization')) + Number(answer.eval('tls_bo_product_owner_sync')) + Number(answer.eval('tls_bo_requirements_handoff')) + Number(answer.eval('tls_bo_roadmap_awareness')) + Number(answer.eval('tls_bo_customer_value'))) / 8 - 1) / 4 * 100, 0)",
|
|
26780
|
-
createdAt: new Date('2026-01-15'),
|
|
26781
|
-
updatedAt: new Date('2026-01-15'),
|
|
26782
|
-
},
|
|
26783
|
-
{
|
|
26784
|
-
id: AXPDataGenerator.uuid(),
|
|
26785
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26786
|
-
name: 'tls_overall_competency_index',
|
|
26787
|
-
title: createMultiLanguageString('Overall competency index', 'شاخص شایستگی کلی'),
|
|
26788
|
-
description: createMultiLanguageString('0–100 across all 34 items (same weight per question)', '۰–۱۰۰ روی هر ۳۴ سوال (وزن یکسان)'),
|
|
26789
|
-
resultKind: 'number',
|
|
26790
|
-
expression: "fn.ROUND(((Number(answer.eval('tls_tp_stack_tools')) + Number(answer.eval('tls_tp_code_quality')) + Number(answer.eval('tls_tp_complex_problems')) + Number(answer.eval('tls_tp_architecture_decisions')) + Number(answer.eval('tls_tp_best_practices')) + Number(answer.eval('tls_tp_code_review_feedback')) + Number(answer.eval('tls_tp_debugging')) + Number(answer.eval('tls_tp_knowledge_currency')) + Number(answer.eval('tls_tp_mentoring_transfer')) + Number(answer.eval('tls_bc_team_communication')) + Number(answer.eval('tls_bc_meetings_participation')) + Number(answer.eval('tls_bc_listening_inclusion')) + Number(answer.eval('tls_bc_feedback_tone')) + Number(answer.eval('tls_bc_disagreement_handling')) + Number(answer.eval('tls_bc_pressure_composure')) + Number(answer.eval('tls_bc_trust_collaboration')) + Number(answer.eval('tls_ml_work_distribution')) + Number(answer.eval('tls_ml_backlog_priorities')) + Number(answer.eval('tls_ml_agile_meetings')) + Number(answer.eval('tls_ml_task_breakdown')) + Number(answer.eval('tls_ml_progress_tracking')) + Number(answer.eval('tls_ml_blockers')) + Number(answer.eval('tls_ml_timely_decisions')) + Number(answer.eval('tls_ml_growth_coaching')) + Number(answer.eval('tls_ml_delivery_timing')) + Number(answer.eval('tls_ml_crisis_leadership')) + Number(answer.eval('tls_bo_product_user_understanding')) + Number(answer.eval('tls_bo_business_impact')) + Number(answer.eval('tls_bo_quality_time_cost')) + Number(answer.eval('tls_bo_value_prioritization')) + Number(answer.eval('tls_bo_product_owner_sync')) + Number(answer.eval('tls_bo_requirements_handoff')) + Number(answer.eval('tls_bo_roadmap_awareness')) + Number(answer.eval('tls_bo_customer_value'))) / 34 - 1) / 4 * 100, 0)",
|
|
26791
|
-
createdAt: new Date('2026-01-15'),
|
|
26792
|
-
updatedAt: new Date('2026-01-15'),
|
|
26793
|
-
},
|
|
26794
|
-
{
|
|
26795
|
-
id: AXPDataGenerator.uuid(),
|
|
26796
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26797
|
-
name: 'tls_competency_band',
|
|
26798
|
-
title: createMultiLanguageString('Overall competency band', 'باند شایستگی کلی'),
|
|
26799
|
-
description: createMultiLanguageString('Interpretation of tls_overall_competency_index', 'تفسیر شاخص شایستگی کلی'),
|
|
26800
|
-
resultKind: 'string',
|
|
26801
|
-
expression: "Number(outcome.eval('tls_overall_competency_index')) >= 80 ? 'Leading' : Number(outcome.eval('tls_overall_competency_index')) >= 65 ? 'Strong' : Number(outcome.eval('tls_overall_competency_index')) >= 50 ? 'Solid' : Number(outcome.eval('tls_overall_competency_index')) >= 35 ? 'Developing' : 'Priority focus'",
|
|
26802
|
-
createdAt: new Date('2026-01-15'),
|
|
26803
|
-
updatedAt: new Date('2026-01-15'),
|
|
26804
|
-
},
|
|
26805
|
-
{
|
|
26806
|
-
id: AXPDataGenerator.uuid(),
|
|
26807
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26808
|
-
name: 'tls_pillar_balance_spread',
|
|
26809
|
-
title: createMultiLanguageString('Pillar balance spread', 'پراکندگی تعادل ستونها'),
|
|
26810
|
-
description: createMultiLanguageString('Difference between strongest and weakest pillar index (0–100)', 'تفاوت بین بالاترین و پایینترین شاخص ستون (۰–۱۰۰)'),
|
|
26811
|
-
resultKind: 'number',
|
|
26812
|
-
expression: "fn.ROUND(fn.MAX(fn.MAX(Number(outcome.eval('tls_pillar_technical_index')), Number(outcome.eval('tls_pillar_behavioral_index'))), fn.MAX(Number(outcome.eval('tls_pillar_management_index')), Number(outcome.eval('tls_pillar_business_index')))) - fn.MIN(fn.MIN(Number(outcome.eval('tls_pillar_technical_index')), Number(outcome.eval('tls_pillar_behavioral_index'))), fn.MIN(Number(outcome.eval('tls_pillar_management_index')), Number(outcome.eval('tls_pillar_business_index')))), 0)",
|
|
26813
|
-
createdAt: new Date('2026-01-15'),
|
|
26814
|
-
updatedAt: new Date('2026-01-15'),
|
|
26815
|
-
},
|
|
26816
|
-
{
|
|
26817
|
-
id: AXPDataGenerator.uuid(),
|
|
26818
|
-
questionnaireId: QUESTIONNAIRE_ID_TEAM_LEAD_COMPANY_WIDE,
|
|
26819
|
-
name: 'tls_priority_focus_pillar',
|
|
26820
|
-
title: createMultiLanguageString('Priority focus pillar', 'ستون تمرکز اولویت'),
|
|
26821
|
-
description: createMultiLanguageString('Pillar with the lowest index (coaching hint)', 'ستونی با کمترین شاخص (راهنمای کوچینگ)'),
|
|
26822
|
-
resultKind: 'string',
|
|
26823
|
-
expression: "Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_behavioral_index')) && Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_management_index')) && Number(outcome.eval('tls_pillar_technical_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Technical & professional' : Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_technical_index')) && Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_management_index')) && Number(outcome.eval('tls_pillar_behavioral_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Behavioral & communication' : Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_technical_index')) && Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_behavioral_index')) && Number(outcome.eval('tls_pillar_management_index')) <= Number(outcome.eval('tls_pillar_business_index')) ? 'Management & leadership' : 'Business & organizational'",
|
|
26824
|
-
createdAt: new Date('2026-01-15'),
|
|
26825
|
-
updatedAt: new Date('2026-01-15'),
|
|
26826
|
-
},
|
|
26827
|
-
];
|
|
26828
|
-
//#endregion
|
|
26829
|
-
|
|
26830
|
-
//#region ---- Imports ----
|
|
26831
|
-
//#endregion
|
|
26832
|
-
//#region ---- Seeder ----
|
|
26833
|
-
class AXMQuestionnaireCalculationDataSeeder {
|
|
26834
|
-
constructor() {
|
|
26835
|
-
this.storage = inject(AXPEntityStorageService);
|
|
26836
|
-
}
|
|
26837
|
-
async seed() {
|
|
26838
|
-
await this.storage.initial(`${RootConfig$3.module.name}.${RootConfig$3.entities.questionnaireCalculation.name}`, questionnaireCalculationMock);
|
|
26839
|
-
}
|
|
26840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireCalculationDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26841
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireCalculationDataSeeder }); }
|
|
26842
|
-
}
|
|
26843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMQuestionnaireCalculationDataSeeder, decorators: [{
|
|
26844
|
-
type: Injectable
|
|
26845
|
-
}] });
|
|
26846
|
-
|
|
26847
26970
|
class AXCAssessmentManagementMockModule {
|
|
26848
26971
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCAssessmentManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26849
26972
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCAssessmentManagementMockModule }); }
|
|
@@ -26871,12 +26994,6 @@ class AXCAssessmentManagementMockModule {
|
|
|
26871
26994
|
useClass: AXMQuestionnaireDataSeeder,
|
|
26872
26995
|
multi: true,
|
|
26873
26996
|
},
|
|
26874
|
-
// Then questionnaire calculations (reference questionnaires)
|
|
26875
|
-
{
|
|
26876
|
-
provide: AXP_DATA_SEEDER_TOKEN,
|
|
26877
|
-
useClass: AXMQuestionnaireCalculationDataSeeder,
|
|
26878
|
-
multi: true,
|
|
26879
|
-
},
|
|
26880
26997
|
// Then automations (reference questionnaires)
|
|
26881
26998
|
{
|
|
26882
26999
|
provide: AXP_DATA_SEEDER_TOKEN,
|
|
@@ -26915,12 +27032,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
26915
27032
|
useClass: AXMQuestionnaireDataSeeder,
|
|
26916
27033
|
multi: true,
|
|
26917
27034
|
},
|
|
26918
|
-
// Then questionnaire calculations (reference questionnaires)
|
|
26919
|
-
{
|
|
26920
|
-
provide: AXP_DATA_SEEDER_TOKEN,
|
|
26921
|
-
useClass: AXMQuestionnaireCalculationDataSeeder,
|
|
26922
|
-
multi: true,
|
|
26923
|
-
},
|
|
26924
27035
|
// Then automations (reference questionnaires)
|
|
26925
27036
|
{
|
|
26926
27037
|
provide: AXP_DATA_SEEDER_TOKEN,
|
|
@@ -50487,40 +50598,6 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50487
50598
|
title: M$q('Employee lifecycle event flow', 'جریان رویداد چرخه عمر کارمند'),
|
|
50488
50599
|
description: M$q('Opens Lifecycle Event create (event type hidden; employee readonly; assignee and effective date prefilled), persists the row, then runs the questionnaire and manager approval path; on approve updates HumanCapitalManagement.Employee.statusId to targetEmployeeStatusId.', 'فرم ایجاد رویداد چرخه عمر (نوع رویداد مخفی؛ کارمند فقطخواندنی؛ مسئول و تاریخ اثر از پیش پر شده)، سپس پرسشنامه و تأیید مدیر؛ در صورت تأیید، وضعیت کارمند بهروز میشود.'),
|
|
50489
50600
|
variables: [
|
|
50490
|
-
{
|
|
50491
|
-
name: 'employeeId',
|
|
50492
|
-
title: 'Employee',
|
|
50493
|
-
description: 'Subject HumanCapitalManagement.Employee',
|
|
50494
|
-
dataType: 'string',
|
|
50495
|
-
interface: workflowLookup('HumanCapitalManagement.Employee', 'person.fullName', {
|
|
50496
|
-
columns: ['person.fullName', 'employeeCode'],
|
|
50497
|
-
}),
|
|
50498
|
-
},
|
|
50499
|
-
{
|
|
50500
|
-
name: 'questionnaireId',
|
|
50501
|
-
title: 'Questionnaire',
|
|
50502
|
-
description: 'AssessmentManagement questionnaire (from lifecycle event type)',
|
|
50503
|
-
dataType: 'string',
|
|
50504
|
-
interface: workflowLookup('AssessmentManagement.Questionnaire', 'title', {
|
|
50505
|
-
columns: ['name', 'title'],
|
|
50506
|
-
}),
|
|
50507
|
-
},
|
|
50508
|
-
{
|
|
50509
|
-
name: 'eventTypeId',
|
|
50510
|
-
title: 'Lifecycle event type',
|
|
50511
|
-
description: 'Lifecycle event type template',
|
|
50512
|
-
dataType: 'string',
|
|
50513
|
-
interface: workflowLookup('HumanCapitalManagement.LifecycleEventType', 'title', {
|
|
50514
|
-
columns: ['name', 'title'],
|
|
50515
|
-
}),
|
|
50516
|
-
},
|
|
50517
|
-
{
|
|
50518
|
-
name: 'targetEmployeeStatusId',
|
|
50519
|
-
title: 'Target employee status',
|
|
50520
|
-
description: 'Employee.statusId after approval (e.g. active, terminated)',
|
|
50521
|
-
dataType: 'string',
|
|
50522
|
-
interface: { type: 'text-editor', options: {} },
|
|
50523
|
-
},
|
|
50524
50601
|
{
|
|
50525
50602
|
name: 'assigneeUserId',
|
|
50526
50603
|
title: 'Assignee',
|
|
@@ -50567,31 +50644,10 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50567
50644
|
{
|
|
50568
50645
|
name: 'effectiveDate',
|
|
50569
50646
|
title: 'Effective date',
|
|
50570
|
-
description: '
|
|
50647
|
+
description: 'Captured from lifecycle event form (falls back to workflow input when unset)',
|
|
50571
50648
|
dataType: 'date',
|
|
50572
50649
|
interface: workflowDate(),
|
|
50573
50650
|
},
|
|
50574
|
-
{
|
|
50575
|
-
name: 'employeeDisplayName',
|
|
50576
|
-
title: 'Employee display name',
|
|
50577
|
-
description: 'Resolved subject employee label for workflow task title and description',
|
|
50578
|
-
dataType: 'string',
|
|
50579
|
-
interface: { type: 'text-editor', options: {} },
|
|
50580
|
-
},
|
|
50581
|
-
{
|
|
50582
|
-
name: 'eventTypeTitle',
|
|
50583
|
-
title: 'Lifecycle event type title',
|
|
50584
|
-
description: 'Resolved lifecycle event type label in the active locale',
|
|
50585
|
-
dataType: 'string',
|
|
50586
|
-
interface: { type: 'text-editor', options: {} },
|
|
50587
|
-
},
|
|
50588
|
-
{
|
|
50589
|
-
name: 'assessmentCaseTitle',
|
|
50590
|
-
title: 'Assessment case title',
|
|
50591
|
-
description: 'Friendly label for AssessmentManagement.AssessmentCase list and fill viewer',
|
|
50592
|
-
dataType: 'string',
|
|
50593
|
-
interface: { type: 'text-editor', options: {} },
|
|
50594
|
-
},
|
|
50595
50651
|
{
|
|
50596
50652
|
name: 'assessmentCaseId',
|
|
50597
50653
|
title: 'Assessment case',
|
|
@@ -50674,24 +50730,8 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50674
50730
|
outputs: [],
|
|
50675
50731
|
extensions: {},
|
|
50676
50732
|
graph: {
|
|
50677
|
-
startActivityId: '
|
|
50733
|
+
startActivityId: 'captureInitiatorSessionUser',
|
|
50678
50734
|
activities: [
|
|
50679
|
-
{
|
|
50680
|
-
id: 'hydrateFromInputs',
|
|
50681
|
-
name: 'workflow-activity:set-variable',
|
|
50682
|
-
inputs: {
|
|
50683
|
-
variables: [
|
|
50684
|
-
{ variableName: 'employeeId', value: '{{ inputs.employeeId }}' },
|
|
50685
|
-
{ variableName: 'questionnaireId', value: '{{ inputs.questionnaireId }}' },
|
|
50686
|
-
{ variableName: 'eventTypeId', value: '{{ inputs.eventTypeId }}' },
|
|
50687
|
-
{ variableName: 'targetEmployeeStatusId', value: '{{ inputs.targetEmployeeStatusId }}' },
|
|
50688
|
-
{ variableName: 'effectiveDate', value: '{{ inputs.effectiveDate }}' },
|
|
50689
|
-
{ variableName: 'employeeDisplayName', value: '{{ inputs.employeeDisplayName }}' },
|
|
50690
|
-
{ variableName: 'eventTypeTitle', value: '{{ inputs.eventTypeTitle }}' },
|
|
50691
|
-
{ variableName: 'assessmentCaseTitle', value: '{{ inputs.assessmentCaseTitle || inputs.employeeDisplayName }}' },
|
|
50692
|
-
],
|
|
50693
|
-
},
|
|
50694
|
-
},
|
|
50695
50735
|
{
|
|
50696
50736
|
id: 'captureInitiatorSessionUser',
|
|
50697
50737
|
name: 'workflow-activity:get-current-session-user',
|
|
@@ -50702,7 +50742,7 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50702
50742
|
id: 'resolveSubjectEmployeeUserId',
|
|
50703
50743
|
name: 'workflow-activity:resolve-employee-user-id',
|
|
50704
50744
|
inputs: {
|
|
50705
|
-
employeeId: '{{
|
|
50745
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50706
50746
|
},
|
|
50707
50747
|
outputToVariables: {
|
|
50708
50748
|
assigneeUserId: 'userId',
|
|
@@ -50712,7 +50752,7 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50712
50752
|
id: 'resolveManagerFromSubjectEmployee',
|
|
50713
50753
|
name: 'workflow-activity:assign-to-manager',
|
|
50714
50754
|
inputs: {
|
|
50715
|
-
employeeId: '{{
|
|
50755
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50716
50756
|
fallbackUserId: '{{ variables.initiatorUserId }}',
|
|
50717
50757
|
},
|
|
50718
50758
|
outputToVariables: {
|
|
@@ -50729,9 +50769,10 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50729
50769
|
excludes: ['eventTypeId'],
|
|
50730
50770
|
readonlys: ['employeeId'],
|
|
50731
50771
|
data: {
|
|
50732
|
-
employeeId: '{{
|
|
50733
|
-
eventTypeId: '{{
|
|
50772
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50773
|
+
eventTypeId: '{{ inputs.eventTypeId }}',
|
|
50734
50774
|
assignedToUserId: '{{ variables.managerUserId || variables.initiatorUserId }}',
|
|
50775
|
+
effectiveDate: '{{ inputs.effectiveDate }}',
|
|
50735
50776
|
notes: '',
|
|
50736
50777
|
},
|
|
50737
50778
|
},
|
|
@@ -50742,10 +50783,10 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50742
50783
|
inputs: {
|
|
50743
50784
|
entity: 'HumanCapitalManagement.LifecycleEvent',
|
|
50744
50785
|
data: {
|
|
50745
|
-
employeeId: '{{
|
|
50746
|
-
eventTypeId: '{{
|
|
50786
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50787
|
+
eventTypeId: '{{ inputs.eventTypeId }}',
|
|
50747
50788
|
assignedToUserId: '{{ variables.assignedToUserId }}',
|
|
50748
|
-
effectiveDate: '{{ variables.effectiveDate }}',
|
|
50789
|
+
effectiveDate: '{{ variables.effectiveDate || inputs.effectiveDate }}',
|
|
50749
50790
|
notes: '{{ variables.notes }}',
|
|
50750
50791
|
statusId: 'in-progress',
|
|
50751
50792
|
},
|
|
@@ -50761,11 +50802,12 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50761
50802
|
inputs: {
|
|
50762
50803
|
entity: 'AssessmentManagement.AssessmentCase',
|
|
50763
50804
|
data: {
|
|
50764
|
-
questionnaireId: '{{
|
|
50765
|
-
title: '{{
|
|
50805
|
+
questionnaireId: '{{ inputs.questionnaireId }}',
|
|
50806
|
+
title: '{{ inputs.assessmentCaseTitle || inputs.employeeDisplayName }}',
|
|
50766
50807
|
subjectRef: {
|
|
50767
50808
|
type: 'HumanCapitalManagement.Employee',
|
|
50768
|
-
id: '{{
|
|
50809
|
+
id: '{{ inputs.employeeId }}',
|
|
50810
|
+
title: '{{ inputs.employeeDisplayName }}',
|
|
50769
50811
|
},
|
|
50770
50812
|
statusId: 'active',
|
|
50771
50813
|
},
|
|
@@ -50809,21 +50851,21 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50809
50851
|
description: '@human-capital-management:lifecycle-events.tasks.questionnaire.description',
|
|
50810
50852
|
assignedUserIds: '{{ variables.managerUserId || variables.initiatorUserId }}',
|
|
50811
50853
|
context: {
|
|
50812
|
-
employeeId: '{{
|
|
50813
|
-
questionnaireId: '{{
|
|
50814
|
-
eventTypeId: '{{
|
|
50815
|
-
effectiveDate: '{{ variables.effectiveDate }}',
|
|
50854
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50855
|
+
questionnaireId: '{{ inputs.questionnaireId }}',
|
|
50856
|
+
eventTypeId: '{{ inputs.eventTypeId }}',
|
|
50857
|
+
effectiveDate: '{{ variables.effectiveDate || inputs.effectiveDate }}',
|
|
50816
50858
|
lifecycleEventId: '{{ variables.lifecycleEventId }}',
|
|
50817
50859
|
statusId: '{{ variables.lifecycleEventStatusId }}',
|
|
50818
50860
|
entityType: 'HumanCapitalManagement.LifecycleEvent',
|
|
50819
50861
|
_taskI18n: {
|
|
50820
|
-
employeeDisplayName: '{{
|
|
50821
|
-
eventTypeTitle: '{{
|
|
50822
|
-
effectiveDate: '{{ variables.effectiveDate }}',
|
|
50862
|
+
employeeDisplayName: '{{ inputs.employeeDisplayName }}',
|
|
50863
|
+
eventTypeTitle: '{{ inputs.eventTypeTitle }}',
|
|
50864
|
+
effectiveDate: '{{ variables.effectiveDate || inputs.effectiveDate }}',
|
|
50823
50865
|
},
|
|
50824
50866
|
_taskTitleParts: [
|
|
50825
|
-
'{{
|
|
50826
|
-
'{{
|
|
50867
|
+
'{{ inputs.eventTypeTitle }}',
|
|
50868
|
+
'{{ inputs.employeeDisplayName }}',
|
|
50827
50869
|
],
|
|
50828
50870
|
},
|
|
50829
50871
|
actions: {
|
|
@@ -50845,7 +50887,7 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50845
50887
|
inputs: {
|
|
50846
50888
|
caseId: '{{ variables.assessmentCaseId }}',
|
|
50847
50889
|
sessionId: '{{ variables.assessmentSessionId }}',
|
|
50848
|
-
title: '{{
|
|
50890
|
+
title: '{{ inputs.assessmentCaseTitle || inputs.employeeDisplayName }}',
|
|
50849
50891
|
showAs: 'popup',
|
|
50850
50892
|
},
|
|
50851
50893
|
},
|
|
@@ -50872,21 +50914,21 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50872
50914
|
description: '@human-capital-management:lifecycle-events.tasks.manager-approval.description',
|
|
50873
50915
|
assignedUserIds: '{{ variables.managerUserId || variables.initiatorUserId }}',
|
|
50874
50916
|
context: {
|
|
50875
|
-
employeeId: '{{
|
|
50876
|
-
questionnaireId: '{{
|
|
50877
|
-
targetEmployeeStatusId: '{{
|
|
50878
|
-
effectiveDate: '{{ variables.effectiveDate }}',
|
|
50917
|
+
employeeId: '{{ inputs.employeeId }}',
|
|
50918
|
+
questionnaireId: '{{ inputs.questionnaireId }}',
|
|
50919
|
+
targetEmployeeStatusId: '{{ inputs.targetEmployeeStatusId }}',
|
|
50920
|
+
effectiveDate: '{{ variables.effectiveDate || inputs.effectiveDate }}',
|
|
50879
50921
|
lifecycleEventId: '{{ variables.lifecycleEventId }}',
|
|
50880
50922
|
statusId: '{{ variables.lifecycleEventStatusId }}',
|
|
50881
50923
|
entityType: 'HumanCapitalManagement.LifecycleEvent',
|
|
50882
50924
|
_taskI18n: {
|
|
50883
|
-
employeeDisplayName: '{{
|
|
50884
|
-
eventTypeTitle: '{{
|
|
50885
|
-
effectiveDate: '{{ variables.effectiveDate }}',
|
|
50925
|
+
employeeDisplayName: '{{ inputs.employeeDisplayName }}',
|
|
50926
|
+
eventTypeTitle: '{{ inputs.eventTypeTitle }}',
|
|
50927
|
+
effectiveDate: '{{ variables.effectiveDate || inputs.effectiveDate }}',
|
|
50886
50928
|
},
|
|
50887
50929
|
_taskTitleParts: [
|
|
50888
|
-
'{{
|
|
50889
|
-
'{{
|
|
50930
|
+
'{{ inputs.eventTypeTitle }}',
|
|
50931
|
+
'{{ inputs.employeeDisplayName }}',
|
|
50890
50932
|
],
|
|
50891
50933
|
},
|
|
50892
50934
|
actions: {
|
|
@@ -50914,9 +50956,9 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50914
50956
|
name: 'workflow-activity:entity-update',
|
|
50915
50957
|
inputs: {
|
|
50916
50958
|
entity: 'HumanCapitalManagement.Employee',
|
|
50917
|
-
id: '{{
|
|
50959
|
+
id: '{{ inputs.employeeId }}',
|
|
50918
50960
|
data: {
|
|
50919
|
-
statusId: '{{
|
|
50961
|
+
statusId: '{{ inputs.targetEmployeeStatusId }}',
|
|
50920
50962
|
},
|
|
50921
50963
|
},
|
|
50922
50964
|
},
|
|
@@ -50982,10 +51024,6 @@ const employeeLifecycleEventFlowWorkflowDefinition = {
|
|
|
50982
51024
|
},
|
|
50983
51025
|
],
|
|
50984
51026
|
connections: [
|
|
50985
|
-
{
|
|
50986
|
-
source: { activtyName: 'hydrateFromInputs', port: 'Done' },
|
|
50987
|
-
target: { activtyName: 'captureInitiatorSessionUser' },
|
|
50988
|
-
},
|
|
50989
51027
|
{
|
|
50990
51028
|
source: { activtyName: 'captureInitiatorSessionUser', port: 'Done' },
|
|
50991
51029
|
target: { activtyName: 'resolveSubjectEmployeeUserId' },
|
|
@@ -67417,7 +67455,7 @@ class AXCSecurityManagementMockModule {
|
|
|
67417
67455
|
provideQuerySetups([
|
|
67418
67456
|
{
|
|
67419
67457
|
key: 'SecurityManagement:User:RolesForListColumn',
|
|
67420
|
-
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-
|
|
67458
|
+
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-BQ3gSYPz.mjs').then((m) => m.UserRolesForListColumnQuery),
|
|
67421
67459
|
},
|
|
67422
67460
|
]),
|
|
67423
67461
|
] }); }
|
|
@@ -67461,7 +67499,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
67461
67499
|
provideQuerySetups([
|
|
67462
67500
|
{
|
|
67463
67501
|
key: 'SecurityManagement:User:RolesForListColumn',
|
|
67464
|
-
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-
|
|
67502
|
+
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-BQ3gSYPz.mjs').then((m) => m.UserRolesForListColumnQuery),
|
|
67465
67503
|
},
|
|
67466
67504
|
]),
|
|
67467
67505
|
],
|
|
@@ -72755,175 +72793,6 @@ function generateActivityDefinitions() {
|
|
|
72755
72793
|
},
|
|
72756
72794
|
],
|
|
72757
72795
|
});
|
|
72758
|
-
// Request Signature Activity
|
|
72759
|
-
definitions.push({
|
|
72760
|
-
name: 'workflow-activity:request-signature',
|
|
72761
|
-
type: 'workflow-activity:request-signature',
|
|
72762
|
-
title: M$1('Request Signature', 'درخواست امضا'),
|
|
72763
|
-
description: M$1('Creates a new signature request for an entity record', 'ایجاد درخواست امضای جدید برای یک رکورد'),
|
|
72764
|
-
category: CATEGORY['signatures'],
|
|
72765
|
-
executionMode: 'backend',
|
|
72766
|
-
taskType: 'system-activity',
|
|
72767
|
-
icon: 'fa-signature',
|
|
72768
|
-
outcomes: ['Done', 'Failed'],
|
|
72769
|
-
inputs: [
|
|
72770
|
-
{
|
|
72771
|
-
name: 'refId',
|
|
72772
|
-
title: 'Reference ID',
|
|
72773
|
-
description: 'ID of the entity record to sign',
|
|
72774
|
-
dataType: 'string',
|
|
72775
|
-
interface: {
|
|
72776
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
72777
|
-
options: {
|
|
72778
|
-
placeholder: 'Enter entity record ID',
|
|
72779
|
-
},
|
|
72780
|
-
},
|
|
72781
|
-
validations: [
|
|
72782
|
-
{
|
|
72783
|
-
rule: 'required',
|
|
72784
|
-
},
|
|
72785
|
-
],
|
|
72786
|
-
},
|
|
72787
|
-
{
|
|
72788
|
-
name: 'refType',
|
|
72789
|
-
title: 'Reference Type',
|
|
72790
|
-
description: 'Entity type in module.entity format',
|
|
72791
|
-
dataType: 'string',
|
|
72792
|
-
interface: {
|
|
72793
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
72794
|
-
options: {
|
|
72795
|
-
placeholder: 'Enter entity type (e.g., SecurityManagement.User)',
|
|
72796
|
-
},
|
|
72797
|
-
},
|
|
72798
|
-
validations: [
|
|
72799
|
-
{
|
|
72800
|
-
rule: 'required',
|
|
72801
|
-
},
|
|
72802
|
-
],
|
|
72803
|
-
},
|
|
72804
|
-
{
|
|
72805
|
-
name: 'signers',
|
|
72806
|
-
title: 'Signers',
|
|
72807
|
-
description: 'List of user IDs who need to sign',
|
|
72808
|
-
dataType: 'array',
|
|
72809
|
-
interface: {
|
|
72810
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
72811
|
-
options: {
|
|
72812
|
-
entity: 'SecurityManagement.User',
|
|
72813
|
-
multiple: true,
|
|
72814
|
-
valueField: 'id',
|
|
72815
|
-
textField: 'title',
|
|
72816
|
-
},
|
|
72817
|
-
},
|
|
72818
|
-
validations: [
|
|
72819
|
-
{
|
|
72820
|
-
rule: 'required',
|
|
72821
|
-
},
|
|
72822
|
-
],
|
|
72823
|
-
},
|
|
72824
|
-
{
|
|
72825
|
-
name: 'workflowName',
|
|
72826
|
-
title: 'Workflow Name',
|
|
72827
|
-
description: 'Workflow name for tracking (optional)',
|
|
72828
|
-
dataType: 'string',
|
|
72829
|
-
interface: {
|
|
72830
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
72831
|
-
options: {
|
|
72832
|
-
placeholder: 'Enter workflow name (optional)',
|
|
72833
|
-
},
|
|
72834
|
-
},
|
|
72835
|
-
},
|
|
72836
|
-
],
|
|
72837
|
-
outputs: [
|
|
72838
|
-
{
|
|
72839
|
-
name: 'signatureRequestId',
|
|
72840
|
-
title: 'Signature Request ID',
|
|
72841
|
-
description: 'Unique identifier for the signature request',
|
|
72842
|
-
dataType: 'string',
|
|
72843
|
-
interface: { type: AXPWidgetsList.Editors.TextBox, options: {} },
|
|
72844
|
-
},
|
|
72845
|
-
{
|
|
72846
|
-
name: 'workflowInstanceId',
|
|
72847
|
-
title: 'Workflow Instance ID',
|
|
72848
|
-
description: 'Workflow instance ID if applicable',
|
|
72849
|
-
dataType: 'string',
|
|
72850
|
-
interface: { type: AXPWidgetsList.Editors.TextBox, options: {} },
|
|
72851
|
-
},
|
|
72852
|
-
],
|
|
72853
|
-
});
|
|
72854
|
-
// Notify Signers Activity
|
|
72855
|
-
definitions.push({
|
|
72856
|
-
name: 'workflow-activity:notify-signers',
|
|
72857
|
-
type: 'workflow-activity:notify-signers',
|
|
72858
|
-
title: M$1('Notify Signers', 'اطلاعرسانی امضاکنندگان'),
|
|
72859
|
-
description: M$1('Sends notifications to signers about the signature request', 'ارسال اعلان به امضاکنندگان دربارهٔ درخواست امضا'),
|
|
72860
|
-
category: CATEGORY['signatures'],
|
|
72861
|
-
executionMode: 'backend',
|
|
72862
|
-
taskType: 'system-activity',
|
|
72863
|
-
icon: 'fa-bell',
|
|
72864
|
-
outcomes: ['Done', 'Failed'],
|
|
72865
|
-
inputs: [
|
|
72866
|
-
{
|
|
72867
|
-
name: 'signatureRequestId',
|
|
72868
|
-
title: 'Signature Request ID',
|
|
72869
|
-
description: 'ID of the signature request',
|
|
72870
|
-
dataType: 'string',
|
|
72871
|
-
interface: {
|
|
72872
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
72873
|
-
options: {
|
|
72874
|
-
placeholder: 'Enter signature request ID',
|
|
72875
|
-
},
|
|
72876
|
-
},
|
|
72877
|
-
validations: [
|
|
72878
|
-
{
|
|
72879
|
-
rule: 'required',
|
|
72880
|
-
},
|
|
72881
|
-
],
|
|
72882
|
-
},
|
|
72883
|
-
{
|
|
72884
|
-
name: 'signers',
|
|
72885
|
-
title: 'Signers',
|
|
72886
|
-
description: 'List of user IDs to notify',
|
|
72887
|
-
dataType: 'array',
|
|
72888
|
-
interface: {
|
|
72889
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
72890
|
-
options: {
|
|
72891
|
-
entity: 'SecurityManagement.User',
|
|
72892
|
-
multiple: true,
|
|
72893
|
-
valueField: 'id',
|
|
72894
|
-
textField: 'title',
|
|
72895
|
-
},
|
|
72896
|
-
},
|
|
72897
|
-
validations: [
|
|
72898
|
-
{
|
|
72899
|
-
rule: 'required',
|
|
72900
|
-
},
|
|
72901
|
-
],
|
|
72902
|
-
},
|
|
72903
|
-
{
|
|
72904
|
-
name: 'message',
|
|
72905
|
-
title: 'Message',
|
|
72906
|
-
description: 'Notification message to send',
|
|
72907
|
-
dataType: 'string',
|
|
72908
|
-
interface: {
|
|
72909
|
-
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
72910
|
-
options: {
|
|
72911
|
-
placeholder: 'Enter notification message',
|
|
72912
|
-
rows: 3,
|
|
72913
|
-
},
|
|
72914
|
-
},
|
|
72915
|
-
},
|
|
72916
|
-
],
|
|
72917
|
-
outputs: [
|
|
72918
|
-
{
|
|
72919
|
-
name: 'notifiedCount',
|
|
72920
|
-
title: 'Notified Count',
|
|
72921
|
-
description: 'Number of successful notifications',
|
|
72922
|
-
dataType: 'number',
|
|
72923
|
-
interface: { type: AXPWidgetsList.Editors.NumberBox, options: {} },
|
|
72924
|
-
},
|
|
72925
|
-
],
|
|
72926
|
-
});
|
|
72927
72796
|
// Collect Signature Activity
|
|
72928
72797
|
definitions.push({
|
|
72929
72798
|
name: 'workflow-activity:collect-signature',
|
|
@@ -73045,145 +72914,6 @@ function generateActivityDefinitions() {
|
|
|
73045
72914
|
},
|
|
73046
72915
|
],
|
|
73047
72916
|
});
|
|
73048
|
-
// Validate All Signatures Activity
|
|
73049
|
-
definitions.push({
|
|
73050
|
-
name: 'workflow-activity:validate-all-signatures',
|
|
73051
|
-
type: 'workflow-activity:validate-all-signatures',
|
|
73052
|
-
title: M$1('Validate All Signatures', 'اعتبارسنجی همه امضاها'),
|
|
73053
|
-
description: M$1('Validates whether all required signatures have been collected', 'بررسی تکمیل همهٔ امضاهای موردنیاز'),
|
|
73054
|
-
category: CATEGORY['signatures'],
|
|
73055
|
-
executionMode: 'backend',
|
|
73056
|
-
taskType: 'system-activity',
|
|
73057
|
-
icon: 'fa-check-circle',
|
|
73058
|
-
outcomes: ['AllSigned', 'Pending', 'Failed'],
|
|
73059
|
-
inputs: [
|
|
73060
|
-
{
|
|
73061
|
-
name: 'signatureRequestId',
|
|
73062
|
-
title: 'Signature Request ID',
|
|
73063
|
-
description: 'ID of the signature request',
|
|
73064
|
-
dataType: 'string',
|
|
73065
|
-
interface: {
|
|
73066
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
73067
|
-
options: {
|
|
73068
|
-
placeholder: 'Enter signature request ID',
|
|
73069
|
-
},
|
|
73070
|
-
},
|
|
73071
|
-
validations: [
|
|
73072
|
-
{
|
|
73073
|
-
rule: 'required',
|
|
73074
|
-
},
|
|
73075
|
-
],
|
|
73076
|
-
},
|
|
73077
|
-
{
|
|
73078
|
-
name: 'requiredSigners',
|
|
73079
|
-
title: 'Required Signers',
|
|
73080
|
-
description: 'Number of required signers',
|
|
73081
|
-
dataType: 'number',
|
|
73082
|
-
interface: {
|
|
73083
|
-
type: AXPWidgetsList.Editors.NumberBox,
|
|
73084
|
-
options: {
|
|
73085
|
-
minValue: 1,
|
|
73086
|
-
placeholder: 'Enter number of required signers',
|
|
73087
|
-
},
|
|
73088
|
-
},
|
|
73089
|
-
validations: [
|
|
73090
|
-
{
|
|
73091
|
-
rule: 'required',
|
|
73092
|
-
},
|
|
73093
|
-
],
|
|
73094
|
-
},
|
|
73095
|
-
],
|
|
73096
|
-
outputs: [
|
|
73097
|
-
{
|
|
73098
|
-
name: 'allSigned',
|
|
73099
|
-
title: 'All Signed',
|
|
73100
|
-
description: 'Whether all required signatures have been collected',
|
|
73101
|
-
dataType: 'boolean',
|
|
73102
|
-
interface: { type: AXPWidgetsList.Editors.ToggleSwitch, options: {} },
|
|
73103
|
-
},
|
|
73104
|
-
{
|
|
73105
|
-
name: 'signedCount',
|
|
73106
|
-
title: 'Signed Count',
|
|
73107
|
-
description: 'Number of signatures collected so far',
|
|
73108
|
-
dataType: 'number',
|
|
73109
|
-
interface: { type: AXPWidgetsList.Editors.NumberBox, options: {} },
|
|
73110
|
-
},
|
|
73111
|
-
],
|
|
73112
|
-
});
|
|
73113
|
-
// Complete Signature Process Activity
|
|
73114
|
-
definitions.push({
|
|
73115
|
-
name: 'workflow-activity:complete-signature-process',
|
|
73116
|
-
type: 'workflow-activity:complete-signature-process',
|
|
73117
|
-
title: M$1('Complete Signature Process', 'تکمیل فرآیند امضا'),
|
|
73118
|
-
description: M$1('Completes the signature process and updates the entity record', 'پایان فرآیند امضا و بهروزرسانی رکورد موجودیت'),
|
|
73119
|
-
category: CATEGORY['signatures'],
|
|
73120
|
-
executionMode: 'backend',
|
|
73121
|
-
taskType: 'system-activity',
|
|
73122
|
-
icon: 'fa-check-double',
|
|
73123
|
-
outcomes: ['Done', 'Failed'],
|
|
73124
|
-
inputs: [
|
|
73125
|
-
{
|
|
73126
|
-
name: 'signatureRequestId',
|
|
73127
|
-
title: 'Signature Request ID',
|
|
73128
|
-
description: 'ID of the signature request',
|
|
73129
|
-
dataType: 'string',
|
|
73130
|
-
interface: {
|
|
73131
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
73132
|
-
options: {
|
|
73133
|
-
placeholder: 'Enter signature request ID',
|
|
73134
|
-
},
|
|
73135
|
-
},
|
|
73136
|
-
validations: [
|
|
73137
|
-
{
|
|
73138
|
-
rule: 'required',
|
|
73139
|
-
},
|
|
73140
|
-
],
|
|
73141
|
-
},
|
|
73142
|
-
{
|
|
73143
|
-
name: 'refId',
|
|
73144
|
-
title: 'Reference ID',
|
|
73145
|
-
description: 'ID of the entity record',
|
|
73146
|
-
dataType: 'string',
|
|
73147
|
-
interface: {
|
|
73148
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
73149
|
-
options: {
|
|
73150
|
-
placeholder: 'Enter entity record ID',
|
|
73151
|
-
},
|
|
73152
|
-
},
|
|
73153
|
-
validations: [
|
|
73154
|
-
{
|
|
73155
|
-
rule: 'required',
|
|
73156
|
-
},
|
|
73157
|
-
],
|
|
73158
|
-
},
|
|
73159
|
-
{
|
|
73160
|
-
name: 'refType',
|
|
73161
|
-
title: 'Reference Type',
|
|
73162
|
-
description: 'Entity type in module.entity format',
|
|
73163
|
-
dataType: 'string',
|
|
73164
|
-
interface: {
|
|
73165
|
-
type: AXPWidgetsList.Editors.TextBox,
|
|
73166
|
-
options: {
|
|
73167
|
-
placeholder: 'Enter entity type',
|
|
73168
|
-
},
|
|
73169
|
-
},
|
|
73170
|
-
validations: [
|
|
73171
|
-
{
|
|
73172
|
-
rule: 'required',
|
|
73173
|
-
},
|
|
73174
|
-
],
|
|
73175
|
-
},
|
|
73176
|
-
],
|
|
73177
|
-
outputs: [
|
|
73178
|
-
{
|
|
73179
|
-
name: 'completed',
|
|
73180
|
-
title: 'Completed',
|
|
73181
|
-
description: 'Whether the process was completed successfully',
|
|
73182
|
-
dataType: 'boolean',
|
|
73183
|
-
interface: { type: AXPWidgetsList.Editors.ToggleSwitch, options: {} },
|
|
73184
|
-
},
|
|
73185
|
-
],
|
|
73186
|
-
});
|
|
73187
72917
|
}
|
|
73188
72918
|
return definitions;
|
|
73189
72919
|
}
|
|
@@ -73972,25 +73702,8 @@ const workflowDefinitionMockRaw = [
|
|
|
73972
73702
|
// No bindings: documentReview is started only by document-workflow-trigger.middleware (EDMS rules).
|
|
73973
73703
|
bindings: [],
|
|
73974
73704
|
graph: {
|
|
73975
|
-
startActivityId: '
|
|
73705
|
+
startActivityId: 'setStatusUnderReview',
|
|
73976
73706
|
activities: [
|
|
73977
|
-
{
|
|
73978
|
-
id: 'checkPermissionDocumentEdit',
|
|
73979
|
-
name: 'workflow-activity:check-permission',
|
|
73980
|
-
inputs: {
|
|
73981
|
-
// Use View so workflow can reach human-task when started by system (submit for review).
|
|
73982
|
-
// Reviewer task is then visible in task board for users who can view documents.
|
|
73983
|
-
permission: 'DocumentManagement:Permission:DocumentType.View',
|
|
73984
|
-
},
|
|
73985
|
-
},
|
|
73986
|
-
{
|
|
73987
|
-
id: 'showErrorNoPermission',
|
|
73988
|
-
name: 'workflow-activity:show-toast',
|
|
73989
|
-
inputs: {
|
|
73990
|
-
message: "You don't have permission to submit documents for review",
|
|
73991
|
-
type: 'error',
|
|
73992
|
-
},
|
|
73993
|
-
},
|
|
73994
73707
|
{
|
|
73995
73708
|
id: 'setStatusUnderReview',
|
|
73996
73709
|
name: 'workflow-activity:entity-update',
|
|
@@ -74097,278 +73810,264 @@ const workflowDefinitionMockRaw = [
|
|
|
74097
73810
|
},
|
|
74098
73811
|
},
|
|
74099
73812
|
{
|
|
74100
|
-
id: 'updateDocumentStatusApproved',
|
|
74101
|
-
name: 'workflow-activity:entity-update',
|
|
74102
|
-
inputs: {
|
|
74103
|
-
entity: 'DocumentManagement.Document',
|
|
74104
|
-
id: '{{ inputs.documentId }}',
|
|
74105
|
-
data: {
|
|
74106
|
-
statusId: 'approved',
|
|
74107
|
-
status: { id: 'approved', title: '@general:statuses.approved.title' },
|
|
74108
|
-
},
|
|
74109
|
-
},
|
|
74110
|
-
},
|
|
74111
|
-
{
|
|
74112
|
-
id: 'updateDocumentStatusRejected',
|
|
74113
|
-
name: 'workflow-activity:entity-update',
|
|
74114
|
-
inputs: {
|
|
74115
|
-
entity: 'DocumentManagement.Document',
|
|
74116
|
-
id: '{{ inputs.documentId }}',
|
|
74117
|
-
data: {
|
|
74118
|
-
statusId: 'rejected',
|
|
74119
|
-
status: { id: 'rejected', title: '@general:statuses.rejected.title' },
|
|
74120
|
-
},
|
|
74121
|
-
},
|
|
74122
|
-
},
|
|
74123
|
-
{
|
|
74124
|
-
id: 'updateDocumentStatusRevisionRequested',
|
|
74125
|
-
name: 'workflow-activity:entity-update',
|
|
74126
|
-
inputs: {
|
|
74127
|
-
entity: 'DocumentManagement.Document',
|
|
74128
|
-
id: '{{ inputs.documentId }}',
|
|
74129
|
-
data: {
|
|
74130
|
-
statusId: 'revision-requested',
|
|
74131
|
-
status: { id: 'revision-requested', title: '@general:statuses.revision-requested.title' },
|
|
74132
|
-
},
|
|
74133
|
-
},
|
|
74134
|
-
},
|
|
74135
|
-
{
|
|
74136
|
-
id: 'showDocumentApprovedToast',
|
|
74137
|
-
name: 'workflow-activity:show-toast',
|
|
74138
|
-
inputs: {
|
|
74139
|
-
message: 'Document has been approved',
|
|
74140
|
-
type: 'success',
|
|
74141
|
-
},
|
|
74142
|
-
},
|
|
74143
|
-
{
|
|
74144
|
-
id: 'showDocumentRejectedToast',
|
|
74145
|
-
name: 'workflow-activity:show-toast',
|
|
74146
|
-
inputs: {
|
|
74147
|
-
message: 'Document has been rejected',
|
|
74148
|
-
type: 'warning',
|
|
74149
|
-
},
|
|
74150
|
-
},
|
|
74151
|
-
{
|
|
74152
|
-
id: 'showDocumentRequestChangesToast',
|
|
74153
|
-
name: 'workflow-activity:show-toast',
|
|
74154
|
-
inputs: {
|
|
74155
|
-
message: 'Document returned for changes',
|
|
74156
|
-
type: 'info',
|
|
74157
|
-
},
|
|
74158
|
-
},
|
|
74159
|
-
],
|
|
74160
|
-
connections: [
|
|
74161
|
-
{
|
|
74162
|
-
source: { activtyName: 'checkPermissionDocumentEdit', port: 'NoPermission' },
|
|
74163
|
-
target: { activtyName: 'showErrorNoPermission' },
|
|
74164
|
-
},
|
|
74165
|
-
{
|
|
74166
|
-
source: { activtyName: 'checkPermissionDocumentEdit', port: 'HasPermission' },
|
|
74167
|
-
target: { activtyName: 'setStatusUnderReview' },
|
|
74168
|
-
},
|
|
74169
|
-
{ source: { activtyName: 'setStatusUnderReview', port: 'Done' }, target: { activtyName: 'reviewDocument' } },
|
|
74170
|
-
{
|
|
74171
|
-
source: { activtyName: 'reviewDocument', port: 'approve' },
|
|
74172
|
-
target: { activtyName: 'updateDocumentStatusApproved' },
|
|
74173
|
-
},
|
|
74174
|
-
{
|
|
74175
|
-
source: { activtyName: 'reviewDocument', port: 'reject' },
|
|
74176
|
-
target: { activtyName: 'documentRejectionReasonDialog' },
|
|
74177
|
-
},
|
|
74178
|
-
{
|
|
74179
|
-
source: { activtyName: 'reviewDocument', port: 'request-changes' },
|
|
74180
|
-
target: { activtyName: 'updateDocumentStatusRevisionRequested' },
|
|
74181
|
-
},
|
|
74182
|
-
{
|
|
74183
|
-
source: { activtyName: 'documentRejectionReasonDialog', port: 'submit' },
|
|
74184
|
-
target: { activtyName: 'updateDocumentStatusRejected' },
|
|
74185
|
-
},
|
|
74186
|
-
{
|
|
74187
|
-
source: { activtyName: 'documentRejectionReasonDialog', port: 'cancel' },
|
|
74188
|
-
target: { activtyName: 'reviewDocument' },
|
|
74189
|
-
},
|
|
74190
|
-
{
|
|
74191
|
-
source: { activtyName: 'updateDocumentStatusApproved', port: 'Done' },
|
|
74192
|
-
target: { activtyName: 'showDocumentApprovedToast' },
|
|
74193
|
-
},
|
|
74194
|
-
{
|
|
74195
|
-
source: { activtyName: 'updateDocumentStatusRejected', port: 'Done' },
|
|
74196
|
-
target: { activtyName: 'showDocumentRejectedToast' },
|
|
74197
|
-
},
|
|
74198
|
-
{
|
|
74199
|
-
source: { activtyName: 'updateDocumentStatusRevisionRequested', port: 'Done' },
|
|
74200
|
-
target: { activtyName: 'showDocumentRequestChangesToast' },
|
|
74201
|
-
},
|
|
74202
|
-
],
|
|
74203
|
-
},
|
|
74204
|
-
},
|
|
74205
|
-
// Fill Questionnaire Form: popup → capture initiator → assignee cartable task → preview → optional line-manager review
|
|
74206
|
-
{
|
|
74207
|
-
schemaVersion: 'acorex-platform-workflow/v1',
|
|
74208
|
-
name: 'fillQuestionnaireForm',
|
|
74209
|
-
title: M('Fill Questionnaire Form', 'تکمیل پرسشنامه'),
|
|
74210
|
-
description: M('Setup popup selects questionnaire and assignee (employee user) who receives a cartable task; they open the questionnaire from the task board. If isNeedReview, a human task is assigned to the assignee line manager (org chart); if no manager is resolved, the workflow initiator is used as fallback; then status and rejectionReason variables are set.', 'در پنجره راهاندازی، پرسشنامه و کارپذیر (کاربر کارمند) انتخاب میشود؛ کارپذیر وظیفه کارتابل دریافت میکند و پرسشنامه را از تابلو وظایف باز میکند. در صورت isNeedReview، وظیفه انسانی به مدیر مستقیم کارپذیر (چارت سازمانی) اختصاص مییابد؛ در نبود مدیر، آغازگر گردش کار بهعنوان پشتیبان استفاده میشود؛ سپس متغیرهای status و rejectionReason مقداردهی میشوند.'),
|
|
74211
|
-
variables: [
|
|
74212
|
-
{
|
|
74213
|
-
name: 'questionnaireId',
|
|
74214
|
-
title: 'Questionnaire ID',
|
|
74215
|
-
description: 'Selected questionnaire (from setup popup)',
|
|
74216
|
-
dataType: 'string',
|
|
74217
|
-
interface: { type: 'text-editor', options: {} },
|
|
74218
|
-
},
|
|
74219
|
-
{
|
|
74220
|
-
name: 'assigneeEmployeeId',
|
|
74221
|
-
title: 'Assignee employee ID',
|
|
74222
|
-
description: 'Selected HumanCapitalManagement.Employee row id from setup popup (resolved to assigneeUserId by backend)',
|
|
74223
|
-
dataType: 'string',
|
|
74224
|
-
interface: { type: 'text-editor', options: {} },
|
|
74225
|
-
},
|
|
74226
|
-
{
|
|
74227
|
-
name: 'assigneeUserId',
|
|
74228
|
-
title: 'Assignee user ID',
|
|
74229
|
-
description: 'Platform SecurityManagement.User id — set by resolve-employee-user-id from assigneeEmployeeId',
|
|
74230
|
-
dataType: 'string',
|
|
74231
|
-
interface: { type: 'text-editor', options: {} },
|
|
74232
|
-
},
|
|
74233
|
-
{
|
|
74234
|
-
name: 'initiatorUserId',
|
|
74235
|
-
title: 'Initiator user ID',
|
|
74236
|
-
description: 'Platform user id of who started the workflow (used as fallback when line manager cannot be resolved)',
|
|
74237
|
-
dataType: 'string',
|
|
74238
|
-
interface: { type: 'text-editor', options: {} },
|
|
74239
|
-
},
|
|
74240
|
-
{
|
|
74241
|
-
name: 'questionnaireReviewUserId',
|
|
74242
|
-
title: 'Questionnaire review user ID',
|
|
74243
|
-
description: 'Platform user id for the review human task — line manager of assigneeEmployeeId from assign-to-manager, or initiator when used as fallback',
|
|
74244
|
-
dataType: 'string',
|
|
74245
|
-
interface: { type: 'text-editor', options: {} },
|
|
74246
|
-
},
|
|
74247
|
-
{
|
|
74248
|
-
name: 'status',
|
|
74249
|
-
title: 'Status',
|
|
74250
|
-
description: 'Workflow outcome status',
|
|
74251
|
-
dataType: 'string',
|
|
74252
|
-
interface: { type: 'text-editor', options: {} },
|
|
74253
|
-
},
|
|
74254
|
-
{
|
|
74255
|
-
name: 'rejectionReason',
|
|
74256
|
-
title: 'Rejection Reason',
|
|
74257
|
-
description: 'Reason when status is rejected',
|
|
74258
|
-
dataType: 'string',
|
|
74259
|
-
interface: { type: 'text-editor', options: {} },
|
|
74260
|
-
},
|
|
74261
|
-
],
|
|
74262
|
-
inputs: [
|
|
74263
|
-
{
|
|
74264
|
-
name: 'metadata.isNeedReview',
|
|
74265
|
-
title: 'Require line-manager review',
|
|
74266
|
-
description: 'If true, after the assignee submits the questionnaire, the assignee line manager (org chart) receives an approve/reject human task; initiator is used only when no manager can be resolved',
|
|
74267
|
-
dataType: 'boolean',
|
|
74268
|
-
interface: { type: 'toggle-switch', options: {} },
|
|
74269
|
-
},
|
|
74270
|
-
],
|
|
74271
|
-
outputs: [],
|
|
74272
|
-
extensions: {},
|
|
74273
|
-
graph: {
|
|
74274
|
-
startActivityId: 'assignQuestionnaireAndReviewerPopup',
|
|
74275
|
-
activities: [
|
|
74276
|
-
{
|
|
74277
|
-
id: 'assignQuestionnaireAndReviewerPopup',
|
|
74278
|
-
name: 'workflow-activity:show-layout-popup',
|
|
74279
|
-
inputs: {
|
|
74280
|
-
title: 'Questionnaire and assignee',
|
|
74281
|
-
layout: JSON.stringify({
|
|
74282
|
-
type: 'grid-layout',
|
|
74283
|
-
mode: 'edit',
|
|
74284
|
-
options: {
|
|
74285
|
-
grid: {
|
|
74286
|
-
default: {
|
|
74287
|
-
columns: 'repeat(12, 1fr)',
|
|
74288
|
-
rows: 'repeat(2, auto)',
|
|
74289
|
-
gap: '20px',
|
|
74290
|
-
},
|
|
74291
|
-
},
|
|
74292
|
-
},
|
|
74293
|
-
children: [
|
|
74294
|
-
{
|
|
74295
|
-
type: 'grid-item-layout',
|
|
74296
|
-
name: 'questionnaireField',
|
|
74297
|
-
options: { colSpan: 12 },
|
|
74298
|
-
children: [
|
|
74299
|
-
{
|
|
74300
|
-
type: 'form-field',
|
|
74301
|
-
options: { label: 'Questionnaire', showLabel: true },
|
|
74302
|
-
children: [
|
|
74303
|
-
{
|
|
74304
|
-
type: 'lookup-editor',
|
|
74305
|
-
path: 'questionnaireId',
|
|
74306
|
-
name: 'questionnaireId',
|
|
74307
|
-
options: {
|
|
74308
|
-
entity: 'AssessmentManagement.Questionnaire',
|
|
74309
|
-
textField: 'title',
|
|
74310
|
-
valueField: 'id',
|
|
74311
|
-
look: 'select',
|
|
74312
|
-
multiple: false,
|
|
74313
|
-
},
|
|
74314
|
-
},
|
|
74315
|
-
],
|
|
74316
|
-
},
|
|
74317
|
-
],
|
|
74318
|
-
},
|
|
74319
|
-
{
|
|
74320
|
-
type: 'grid-item-layout',
|
|
74321
|
-
name: 'assigneeField',
|
|
74322
|
-
options: { colSpan: 12 },
|
|
74323
|
-
children: [
|
|
74324
|
-
{
|
|
74325
|
-
type: 'form-field',
|
|
74326
|
-
options: { label: 'Assign to (fills questionnaire)', showLabel: true },
|
|
74327
|
-
children: [
|
|
74328
|
-
{
|
|
74329
|
-
type: 'lookup-editor',
|
|
74330
|
-
path: 'assigneeEmployeeId',
|
|
74331
|
-
name: 'assigneeEmployeeId',
|
|
74332
|
-
options: {
|
|
74333
|
-
entity: 'HumanCapitalManagement.Employee',
|
|
74334
|
-
textField: 'person.fullName',
|
|
74335
|
-
valueField: 'id',
|
|
74336
|
-
look: 'select',
|
|
74337
|
-
multiple: false,
|
|
74338
|
-
},
|
|
74339
|
-
},
|
|
74340
|
-
],
|
|
74341
|
-
},
|
|
74342
|
-
],
|
|
74343
|
-
},
|
|
74344
|
-
],
|
|
74345
|
-
}),
|
|
74346
|
-
actions: {
|
|
74347
|
-
suffix: [
|
|
74348
|
-
{
|
|
74349
|
-
title: '@general:actions.cancel.title',
|
|
74350
|
-
icon: 'fa-times',
|
|
74351
|
-
color: 'default',
|
|
74352
|
-
command: { name: 'cancel' },
|
|
74353
|
-
},
|
|
74354
|
-
{
|
|
74355
|
-
title: '@general:actions.submit.title',
|
|
74356
|
-
icon: 'fa-check',
|
|
74357
|
-
color: 'primary',
|
|
74358
|
-
command: { name: 'submit', options: { validate: true } },
|
|
74359
|
-
},
|
|
74360
|
-
],
|
|
74361
|
-
},
|
|
74362
|
-
},
|
|
74363
|
-
},
|
|
74364
|
-
{
|
|
74365
|
-
id: 'setQuestionnaireAndAssigneeVars',
|
|
74366
|
-
name: 'workflow-activity:set-variable',
|
|
73813
|
+
id: 'updateDocumentStatusApproved',
|
|
73814
|
+
name: 'workflow-activity:entity-update',
|
|
74367
73815
|
inputs: {
|
|
74368
|
-
|
|
74369
|
-
|
|
74370
|
-
|
|
74371
|
-
|
|
73816
|
+
entity: 'DocumentManagement.Document',
|
|
73817
|
+
id: '{{ inputs.documentId }}',
|
|
73818
|
+
data: {
|
|
73819
|
+
statusId: 'approved',
|
|
73820
|
+
status: { id: 'approved', title: '@general:statuses.approved.title' },
|
|
73821
|
+
},
|
|
73822
|
+
},
|
|
73823
|
+
},
|
|
73824
|
+
{
|
|
73825
|
+
id: 'updateDocumentStatusRejected',
|
|
73826
|
+
name: 'workflow-activity:entity-update',
|
|
73827
|
+
inputs: {
|
|
73828
|
+
entity: 'DocumentManagement.Document',
|
|
73829
|
+
id: '{{ inputs.documentId }}',
|
|
73830
|
+
data: {
|
|
73831
|
+
statusId: 'rejected',
|
|
73832
|
+
status: { id: 'rejected', title: '@general:statuses.rejected.title' },
|
|
73833
|
+
},
|
|
73834
|
+
},
|
|
73835
|
+
},
|
|
73836
|
+
{
|
|
73837
|
+
id: 'updateDocumentStatusRevisionRequested',
|
|
73838
|
+
name: 'workflow-activity:entity-update',
|
|
73839
|
+
inputs: {
|
|
73840
|
+
entity: 'DocumentManagement.Document',
|
|
73841
|
+
id: '{{ inputs.documentId }}',
|
|
73842
|
+
data: {
|
|
73843
|
+
statusId: 'revision-requested',
|
|
73844
|
+
status: { id: 'revision-requested', title: '@general:statuses.revision-requested.title' },
|
|
73845
|
+
},
|
|
73846
|
+
},
|
|
73847
|
+
},
|
|
73848
|
+
{
|
|
73849
|
+
id: 'showDocumentApprovedToast',
|
|
73850
|
+
name: 'workflow-activity:show-toast',
|
|
73851
|
+
inputs: {
|
|
73852
|
+
message: 'Document has been approved',
|
|
73853
|
+
type: 'success',
|
|
73854
|
+
},
|
|
73855
|
+
},
|
|
73856
|
+
{
|
|
73857
|
+
id: 'showDocumentRejectedToast',
|
|
73858
|
+
name: 'workflow-activity:show-toast',
|
|
73859
|
+
inputs: {
|
|
73860
|
+
message: 'Document has been rejected',
|
|
73861
|
+
type: 'warning',
|
|
73862
|
+
},
|
|
73863
|
+
},
|
|
73864
|
+
{
|
|
73865
|
+
id: 'showDocumentRequestChangesToast',
|
|
73866
|
+
name: 'workflow-activity:show-toast',
|
|
73867
|
+
inputs: {
|
|
73868
|
+
message: 'Document returned for changes',
|
|
73869
|
+
type: 'info',
|
|
73870
|
+
},
|
|
73871
|
+
},
|
|
73872
|
+
],
|
|
73873
|
+
connections: [
|
|
73874
|
+
{ source: { activtyName: 'setStatusUnderReview', port: 'Done' }, target: { activtyName: 'reviewDocument' } },
|
|
73875
|
+
{
|
|
73876
|
+
source: { activtyName: 'reviewDocument', port: 'approve' },
|
|
73877
|
+
target: { activtyName: 'updateDocumentStatusApproved' },
|
|
73878
|
+
},
|
|
73879
|
+
{
|
|
73880
|
+
source: { activtyName: 'reviewDocument', port: 'reject' },
|
|
73881
|
+
target: { activtyName: 'documentRejectionReasonDialog' },
|
|
73882
|
+
},
|
|
73883
|
+
{
|
|
73884
|
+
source: { activtyName: 'reviewDocument', port: 'request-changes' },
|
|
73885
|
+
target: { activtyName: 'updateDocumentStatusRevisionRequested' },
|
|
73886
|
+
},
|
|
73887
|
+
{
|
|
73888
|
+
source: { activtyName: 'documentRejectionReasonDialog', port: 'submit' },
|
|
73889
|
+
target: { activtyName: 'updateDocumentStatusRejected' },
|
|
73890
|
+
},
|
|
73891
|
+
{
|
|
73892
|
+
source: { activtyName: 'documentRejectionReasonDialog', port: 'cancel' },
|
|
73893
|
+
target: { activtyName: 'reviewDocument' },
|
|
73894
|
+
},
|
|
73895
|
+
{
|
|
73896
|
+
source: { activtyName: 'updateDocumentStatusApproved', port: 'Done' },
|
|
73897
|
+
target: { activtyName: 'showDocumentApprovedToast' },
|
|
73898
|
+
},
|
|
73899
|
+
{
|
|
73900
|
+
source: { activtyName: 'updateDocumentStatusRejected', port: 'Done' },
|
|
73901
|
+
target: { activtyName: 'showDocumentRejectedToast' },
|
|
73902
|
+
},
|
|
73903
|
+
{
|
|
73904
|
+
source: { activtyName: 'updateDocumentStatusRevisionRequested', port: 'Done' },
|
|
73905
|
+
target: { activtyName: 'showDocumentRequestChangesToast' },
|
|
73906
|
+
},
|
|
73907
|
+
],
|
|
73908
|
+
},
|
|
73909
|
+
},
|
|
73910
|
+
// Fill Questionnaire Form: popup → capture initiator → assignee cartable task → preview → optional line-manager review
|
|
73911
|
+
{
|
|
73912
|
+
schemaVersion: 'acorex-platform-workflow/v1',
|
|
73913
|
+
name: 'fillQuestionnaireForm',
|
|
73914
|
+
title: M('Fill Questionnaire Form', 'تکمیل پرسشنامه'),
|
|
73915
|
+
description: M('Setup popup selects questionnaire and assignee (employee user) who receives a cartable task; they open the questionnaire from the task board. If isNeedReview, a human task is assigned to the assignee line manager (org chart); if no manager is resolved, the workflow initiator is used as fallback; then status and rejectionReason variables are set.', 'در پنجره راهاندازی، پرسشنامه و کارپذیر (کاربر کارمند) انتخاب میشود؛ کارپذیر وظیفه کارتابل دریافت میکند و پرسشنامه را از تابلو وظایف باز میکند. در صورت isNeedReview، وظیفه انسانی به مدیر مستقیم کارپذیر (چارت سازمانی) اختصاص مییابد؛ در نبود مدیر، آغازگر گردش کار بهعنوان پشتیبان استفاده میشود؛ سپس متغیرهای status و rejectionReason مقداردهی میشوند.'),
|
|
73916
|
+
variables: [
|
|
73917
|
+
{
|
|
73918
|
+
name: 'questionnaireId',
|
|
73919
|
+
title: 'Questionnaire ID',
|
|
73920
|
+
description: 'Selected questionnaire (from setup popup)',
|
|
73921
|
+
dataType: 'string',
|
|
73922
|
+
interface: { type: 'text-editor', options: {} },
|
|
73923
|
+
},
|
|
73924
|
+
{
|
|
73925
|
+
name: 'assigneeEmployeeId',
|
|
73926
|
+
title: 'Assignee employee ID',
|
|
73927
|
+
description: 'Selected HumanCapitalManagement.Employee row id from setup popup (resolved to assigneeUserId by backend)',
|
|
73928
|
+
dataType: 'string',
|
|
73929
|
+
interface: { type: 'text-editor', options: {} },
|
|
73930
|
+
},
|
|
73931
|
+
{
|
|
73932
|
+
name: 'assigneeUserId',
|
|
73933
|
+
title: 'Assignee user ID',
|
|
73934
|
+
description: 'Platform SecurityManagement.User id — set by resolve-employee-user-id from assigneeEmployeeId',
|
|
73935
|
+
dataType: 'string',
|
|
73936
|
+
interface: { type: 'text-editor', options: {} },
|
|
73937
|
+
},
|
|
73938
|
+
{
|
|
73939
|
+
name: 'initiatorUserId',
|
|
73940
|
+
title: 'Initiator user ID',
|
|
73941
|
+
description: 'Platform user id of who started the workflow (used as fallback when line manager cannot be resolved)',
|
|
73942
|
+
dataType: 'string',
|
|
73943
|
+
interface: { type: 'text-editor', options: {} },
|
|
73944
|
+
},
|
|
73945
|
+
{
|
|
73946
|
+
name: 'questionnaireReviewUserId',
|
|
73947
|
+
title: 'Questionnaire review user ID',
|
|
73948
|
+
description: 'Platform user id for the review human task — line manager of assigneeEmployeeId from assign-to-manager, or initiator when used as fallback',
|
|
73949
|
+
dataType: 'string',
|
|
73950
|
+
interface: { type: 'text-editor', options: {} },
|
|
73951
|
+
},
|
|
73952
|
+
{
|
|
73953
|
+
name: 'status',
|
|
73954
|
+
title: 'Status',
|
|
73955
|
+
description: 'Workflow outcome status',
|
|
73956
|
+
dataType: 'string',
|
|
73957
|
+
interface: { type: 'text-editor', options: {} },
|
|
73958
|
+
},
|
|
73959
|
+
{
|
|
73960
|
+
name: 'rejectionReason',
|
|
73961
|
+
title: 'Rejection Reason',
|
|
73962
|
+
description: 'Reason when status is rejected',
|
|
73963
|
+
dataType: 'string',
|
|
73964
|
+
interface: { type: 'text-editor', options: {} },
|
|
73965
|
+
},
|
|
73966
|
+
],
|
|
73967
|
+
inputs: [
|
|
73968
|
+
{
|
|
73969
|
+
name: 'metadata.isNeedReview',
|
|
73970
|
+
title: 'Require line-manager review',
|
|
73971
|
+
description: 'If true, after the assignee submits the questionnaire, the assignee line manager (org chart) receives an approve/reject human task; initiator is used only when no manager can be resolved',
|
|
73972
|
+
dataType: 'boolean',
|
|
73973
|
+
interface: { type: 'toggle-switch', options: {} },
|
|
73974
|
+
},
|
|
73975
|
+
],
|
|
73976
|
+
outputs: [],
|
|
73977
|
+
extensions: {},
|
|
73978
|
+
graph: {
|
|
73979
|
+
startActivityId: 'assignQuestionnaireAndReviewerPopup',
|
|
73980
|
+
activities: [
|
|
73981
|
+
{
|
|
73982
|
+
id: 'assignQuestionnaireAndReviewerPopup',
|
|
73983
|
+
name: 'workflow-activity:show-layout-popup',
|
|
73984
|
+
inputs: {
|
|
73985
|
+
title: 'Questionnaire and assignee',
|
|
73986
|
+
layout: JSON.stringify({
|
|
73987
|
+
type: 'grid-layout',
|
|
73988
|
+
mode: 'edit',
|
|
73989
|
+
options: {
|
|
73990
|
+
grid: {
|
|
73991
|
+
default: {
|
|
73992
|
+
columns: 'repeat(12, 1fr)',
|
|
73993
|
+
rows: 'repeat(2, auto)',
|
|
73994
|
+
gap: '20px',
|
|
73995
|
+
},
|
|
73996
|
+
},
|
|
73997
|
+
},
|
|
73998
|
+
children: [
|
|
73999
|
+
{
|
|
74000
|
+
type: 'grid-item-layout',
|
|
74001
|
+
name: 'questionnaireField',
|
|
74002
|
+
options: { colSpan: 12 },
|
|
74003
|
+
children: [
|
|
74004
|
+
{
|
|
74005
|
+
type: 'form-field',
|
|
74006
|
+
options: { label: 'Questionnaire', showLabel: true },
|
|
74007
|
+
children: [
|
|
74008
|
+
{
|
|
74009
|
+
type: 'lookup-editor',
|
|
74010
|
+
path: 'questionnaireId',
|
|
74011
|
+
name: 'questionnaireId',
|
|
74012
|
+
options: {
|
|
74013
|
+
entity: 'AssessmentManagement.Questionnaire',
|
|
74014
|
+
textField: 'title',
|
|
74015
|
+
valueField: 'id',
|
|
74016
|
+
look: 'select',
|
|
74017
|
+
multiple: false,
|
|
74018
|
+
},
|
|
74019
|
+
},
|
|
74020
|
+
],
|
|
74021
|
+
},
|
|
74022
|
+
],
|
|
74023
|
+
},
|
|
74024
|
+
{
|
|
74025
|
+
type: 'grid-item-layout',
|
|
74026
|
+
name: 'assigneeField',
|
|
74027
|
+
options: { colSpan: 12 },
|
|
74028
|
+
children: [
|
|
74029
|
+
{
|
|
74030
|
+
type: 'form-field',
|
|
74031
|
+
options: { label: 'Assign to (fills questionnaire)', showLabel: true },
|
|
74032
|
+
children: [
|
|
74033
|
+
{
|
|
74034
|
+
type: 'lookup-editor',
|
|
74035
|
+
path: 'assigneeEmployeeId',
|
|
74036
|
+
name: 'assigneeEmployeeId',
|
|
74037
|
+
options: {
|
|
74038
|
+
entity: 'HumanCapitalManagement.Employee',
|
|
74039
|
+
textField: 'person.fullName',
|
|
74040
|
+
valueField: 'id',
|
|
74041
|
+
look: 'select',
|
|
74042
|
+
multiple: false,
|
|
74043
|
+
},
|
|
74044
|
+
},
|
|
74045
|
+
],
|
|
74046
|
+
},
|
|
74047
|
+
],
|
|
74048
|
+
},
|
|
74049
|
+
],
|
|
74050
|
+
}),
|
|
74051
|
+
actions: {
|
|
74052
|
+
suffix: [
|
|
74053
|
+
{
|
|
74054
|
+
title: '@general:actions.cancel.title',
|
|
74055
|
+
icon: 'fa-times',
|
|
74056
|
+
color: 'default',
|
|
74057
|
+
command: { name: 'cancel' },
|
|
74058
|
+
},
|
|
74059
|
+
{
|
|
74060
|
+
title: '@general:actions.submit.title',
|
|
74061
|
+
icon: 'fa-check',
|
|
74062
|
+
color: 'primary',
|
|
74063
|
+
command: { name: 'submit', options: { validate: true } },
|
|
74064
|
+
},
|
|
74065
|
+
],
|
|
74066
|
+
},
|
|
74067
|
+
},
|
|
74068
|
+
outputToVariables: {
|
|
74069
|
+
questionnaireId: 'questionnaireId',
|
|
74070
|
+
assigneeEmployeeId: 'assigneeEmployeeId',
|
|
74372
74071
|
},
|
|
74373
74072
|
},
|
|
74374
74073
|
{
|
|
@@ -74532,6 +74231,9 @@ const workflowDefinitionMockRaw = [
|
|
|
74532
74231
|
],
|
|
74533
74232
|
},
|
|
74534
74233
|
},
|
|
74234
|
+
outputToVariables: {
|
|
74235
|
+
rejectionReason: 'rejectionReason',
|
|
74236
|
+
},
|
|
74535
74237
|
},
|
|
74536
74238
|
{
|
|
74537
74239
|
id: 'setStatusConfirmed',
|
|
@@ -74542,29 +74244,23 @@ const workflowDefinitionMockRaw = [
|
|
|
74542
74244
|
},
|
|
74543
74245
|
},
|
|
74544
74246
|
{
|
|
74545
|
-
id: '
|
|
74247
|
+
id: 'setRejectedStatus',
|
|
74546
74248
|
name: 'workflow-activity:set-variable',
|
|
74547
74249
|
inputs: {
|
|
74548
|
-
|
|
74549
|
-
|
|
74550
|
-
{ variableName: 'status', value: 'rejected' },
|
|
74551
|
-
],
|
|
74250
|
+
variableName: 'status',
|
|
74251
|
+
value: 'rejected',
|
|
74552
74252
|
},
|
|
74553
74253
|
},
|
|
74554
74254
|
],
|
|
74555
74255
|
connections: [
|
|
74556
74256
|
{
|
|
74557
74257
|
source: { activtyName: 'assignQuestionnaireAndReviewerPopup', port: 'submit' },
|
|
74558
|
-
target: { activtyName: '
|
|
74258
|
+
target: { activtyName: 'resolveAssigneeUserFromEmployee' },
|
|
74559
74259
|
},
|
|
74560
74260
|
{
|
|
74561
74261
|
source: { activtyName: 'assignQuestionnaireAndReviewerPopup', port: 'cancel' },
|
|
74562
74262
|
target: { activtyName: 'showAssignCancelledToast' },
|
|
74563
74263
|
},
|
|
74564
|
-
{
|
|
74565
|
-
source: { activtyName: 'setQuestionnaireAndAssigneeVars', port: 'Done' },
|
|
74566
|
-
target: { activtyName: 'resolveAssigneeUserFromEmployee' },
|
|
74567
|
-
},
|
|
74568
74264
|
{
|
|
74569
74265
|
source: { activtyName: 'resolveAssigneeUserFromEmployee', port: 'Done' },
|
|
74570
74266
|
target: { activtyName: 'captureInitiator' },
|
|
@@ -74588,7 +74284,7 @@ const workflowDefinitionMockRaw = [
|
|
|
74588
74284
|
},
|
|
74589
74285
|
{
|
|
74590
74286
|
source: { activtyName: 'rejectionReasonDialog', port: 'submit' },
|
|
74591
|
-
target: { activtyName: '
|
|
74287
|
+
target: { activtyName: 'setRejectedStatus' },
|
|
74592
74288
|
},
|
|
74593
74289
|
{
|
|
74594
74290
|
source: { activtyName: 'rejectionReasonDialog', port: 'cancel' },
|
|
@@ -77791,7 +77487,7 @@ class AXCWorkflowManagementMockModule {
|
|
|
77791
77487
|
provideCommandSetups([
|
|
77792
77488
|
{
|
|
77793
77489
|
key: 'workflow-activity:assign-to-manager',
|
|
77794
|
-
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-
|
|
77490
|
+
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-Dau7E9wl.mjs').then((c) => c.AssignToManagerActivity),
|
|
77795
77491
|
},
|
|
77796
77492
|
{
|
|
77797
77493
|
key: 'workflow-activity:get-current-user-manager',
|
|
@@ -77809,22 +77505,6 @@ class AXCWorkflowManagementMockModule {
|
|
|
77809
77505
|
key: 'Distribution:Record',
|
|
77810
77506
|
command: () => import('./acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs').then((c) => c.DistributionRecordActivity),
|
|
77811
77507
|
},
|
|
77812
|
-
{
|
|
77813
|
-
key: 'workflow-activity:request-signature',
|
|
77814
|
-
command: () => import('./acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs').then((c) => c.RequestSignatureActivity),
|
|
77815
|
-
},
|
|
77816
|
-
{
|
|
77817
|
-
key: 'workflow-activity:notify-signers',
|
|
77818
|
-
command: () => import('./acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs').then((c) => c.NotifySignersActivity),
|
|
77819
|
-
},
|
|
77820
|
-
{
|
|
77821
|
-
key: 'workflow-activity:validate-all-signatures',
|
|
77822
|
-
command: () => import('./acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs').then((c) => c.ValidateAllSignaturesActivity),
|
|
77823
|
-
},
|
|
77824
|
-
{
|
|
77825
|
-
key: 'workflow-activity:complete-signature-process',
|
|
77826
|
-
command: () => import('./acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs').then((c) => c.CompleteSignatureProcessActivity),
|
|
77827
|
-
},
|
|
77828
77508
|
{
|
|
77829
77509
|
key: 'workflow-activity:entity-create',
|
|
77830
77510
|
command: () => import('./acorex-connectivity-mock-entity-create.activity-CdoUzUvF.mjs').then((c) => c.EntityCreateActivity),
|
|
@@ -77902,7 +77582,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
77902
77582
|
provideCommandSetups([
|
|
77903
77583
|
{
|
|
77904
77584
|
key: 'workflow-activity:assign-to-manager',
|
|
77905
|
-
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-
|
|
77585
|
+
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-Dau7E9wl.mjs').then((c) => c.AssignToManagerActivity),
|
|
77906
77586
|
},
|
|
77907
77587
|
{
|
|
77908
77588
|
key: 'workflow-activity:get-current-user-manager',
|
|
@@ -77920,22 +77600,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
77920
77600
|
key: 'Distribution:Record',
|
|
77921
77601
|
command: () => import('./acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs').then((c) => c.DistributionRecordActivity),
|
|
77922
77602
|
},
|
|
77923
|
-
{
|
|
77924
|
-
key: 'workflow-activity:request-signature',
|
|
77925
|
-
command: () => import('./acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs').then((c) => c.RequestSignatureActivity),
|
|
77926
|
-
},
|
|
77927
|
-
{
|
|
77928
|
-
key: 'workflow-activity:notify-signers',
|
|
77929
|
-
command: () => import('./acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs').then((c) => c.NotifySignersActivity),
|
|
77930
|
-
},
|
|
77931
|
-
{
|
|
77932
|
-
key: 'workflow-activity:validate-all-signatures',
|
|
77933
|
-
command: () => import('./acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs').then((c) => c.ValidateAllSignaturesActivity),
|
|
77934
|
-
},
|
|
77935
|
-
{
|
|
77936
|
-
key: 'workflow-activity:complete-signature-process',
|
|
77937
|
-
command: () => import('./acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs').then((c) => c.CompleteSignatureProcessActivity),
|
|
77938
|
-
},
|
|
77939
77603
|
{
|
|
77940
77604
|
key: 'workflow-activity:entity-create',
|
|
77941
77605
|
command: () => import('./acorex-connectivity-mock-entity-create.activity-CdoUzUvF.mjs').then((c) => c.EntityCreateActivity),
|
|
@@ -82239,5 +81903,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
82239
81903
|
* Generated bundle index. Do not edit.
|
|
82240
81904
|
*/
|
|
82241
81905
|
|
|
82242
|
-
export { AXCFileStorageServiceFirestore as $, AXCAiChatRouterService as A, AXCAuthMockModule as B, AXCCalendarDataSeeder as C, AXCCalendarEventDataSeeder as D, AXCCalendarManagementMockModule as E, AXCCommandRegistryDataSeeder as F, AXCCommonMockModule as G, AXCContactCoreMockModule as H, AXCContentManagementMockModule as I, AXCConversationDataSeeder as J, AXCConversationMockConversationApi as K, AXCConversationMockMessageApi as L, AXCConversationMockModule as M, AXCConversationMockRealtimeApi as N, AXCConversationMockUserApi as O, AXCCustomerManagementMockModule as P, AXCDashboardManagementMockModule as Q, AXCDataManagementMockModule as R, AXCDexieEntityStorageService as S, AXCDocumentManagementMockModule as T, AXCEditionDataSeeder as U, AXCEntityDefinitionSeederService as V, AXCEntityDefinitionsModule as W, AXCEntityStorageInsertCommand as X, AXCEntityStorageModule as Y, AXCEntityStorageQueryQuery as Z, AXCFileStorageServiceDexie as _, AXMAiModelStableIds as a, AXMCalendarEventTypeSeeder as a$, AXCFinancialCoreMockModule as a0, AXCFirestoreEntityStorageService as a1, AXCFormTemplateManagementMockModule as a2, AXCGoogleStrategyMock as a3, AXCHealthCoreMockModule as a4, AXCHelpDeskMockModule as a5, AXCHumanCapitalManagementMockModule as a6, AXCIdentifierManagementMockModule as a7, AXCImageCaptchaChallengeProviderMock as a8, AXCLearningManagementMockModule as a9, AXCTaskManagementMockModule as aA, AXCTenantManagementMockModule as aB, AXCTenantSeeder as aC, AXCTextTemplateRenderBackend as aD, AXCTokensDataSeeder as aE, AXCUserPassStrategyMock as aF, AXCVersionDB as aG, AXCVersioningService as aH, AXCWidgetCatalogDataSeeder as aI, AXCWorkflowCategorySeeder as aJ, AXCWorkflowDefinitionDataSeeder as aK, AXCWorkflowEngine as aL, AXCWorkflowExecutionDB as aM, AXCWorkflowExecutionStoreDexie as aN, AXCWorkflowExecutionStoreFirestore as aO, AXCWorkflowInstanceCartableDemoSeeder as aP, AXCWorkflowManagementMockModule as aQ, AXC_ENTITY_STORAGE_BACKEND_TYPE as aR, AXC_FIRESTORE_CONFIG as aS, AXC_FIRESTORE_DB as aT, AXC_WORKFLOW_EXECUTION_STORE as aU, AXMAiDemisAssistAgentUuid as aV, AXMAiDemisAssistId as aW, AXMAiDemisGeneralAssistId as aX, AXMAiPlatformAssistantAssistId as aY, AXMAutomationDataSeeder as aZ, AXMBusinessUnitDataSeeder as a_, AXCLocaleManagementMockModule as aa, AXCLocationManagementMockModule as ab, AXCLockService as ac, AXCMeasurementCoreMockModule as ad, AXCMeetingManagementMockModule as ae, AXCMetaDataDefinitionDataSeeder as af, AXCMetadataCategorySeeder as ag, AXCMiddlewaresModule as ah, AXCMockCaptchaChallengeComponent as ai, AXCMockEntityLogListener as aj, AXCMockModule as ak, AXCMockShowMetaDataFormPopupCommand as al, AXCNotificationManagementMockModule as am, AXCOrderManagementMockModule as an, AXCOrganizationManagementMockModule as ao, AXCPersonCoreMockModule as ap, AXCPlatformManagementMockModule as aq, AXCProcurementManagementMockModule as ar, AXCProductCatalogMockModule as as, AXCProjectManagementMockModule as at, AXCQueryRegistryDataSeeder as au, AXCReportManagementMockModule as av, AXCSecurityManagementMockModule as aw, AXCStoredEntityDefinitionLoader as ax, AXCSubscriptionManagementMockModule as ay, AXCSupplierManagementMockModule as az, resolveAssistSpeechModelId as b, FINANCE_ENTERPRISE as b$, AXMDashboardChartDataSourceDefinition as b0, AXMEmployeeDataSeeder as b1, AXMEmploymentTypeDataSeeder as b2, AXMFormDataSourcesProvider as b3, AXMJobDefinitionDataSeeder as b4, AXMJobLevelDataSeeder as b5, AXMLeaveRequestDataSeeder as b6, AXMMeetingDataSeeder as b7, AXMMeetingFilesDataSeeder as b8, AXMMeetingParticipantDataSeeder as b9, AXPMockIdentifierService as bA, AXPMockLookupProvider as bB, AXPMockPolicyProvider as bC, AXPMockSequenceProvider as bD, AXPRoomDataSeeder as bE, AXPSecurityManagementRoleDataSeeder as bF, AXPSecurityManagementUserDataSeeder as bG, AXPTaskBoardPlatformManagementTaskProvider as bH, AXPTaskBoardProjectManagementTaskProvider as bI, AXVChangeType as bJ, BCC as bK, BOC as bL, BUSINESS_UNITS_MOCK as bM, CHAT_LAST_MESSAGE_IDS as bN, COLLABORATION_STANDARD as bO, COSTMANAGER_ENTERPRISE as bP, COSTMANAGER_PROFESSIONAL as bQ, COSTMANAGER_STANDARD as bR, CP as bS, CRM_ENTERPRISE as bT, DASHBOARDS as bU, EDITIONS as bV, EMPLOYEES_MOCK as bW, EMPLOYMENT_TYPES_MOCK as bX, ENTITY_DEFINITION_MAP as bY, ENTITY_REGISTRY as bZ, FINANCE_BASIC as b_, AXMMeetingRoleTypeDataSeeder as ba, AXMMeetingSessionDataSeeder as bb, AXMMeetingTypeDataSeeder as bc, AXMMeetingTypeFileTemplateDataSeeder as bd, AXMPositionAssignmentDataSeeder as be, AXMPositionDataSeeder as bf, AXMQuestionBankItemCategoryDataSeeder as bg, AXMQuestionBankItemDataSeeder as bh, AXMQuestionnaireCalculationDataSeeder as bi, AXMQuestionnaireCategoryDataSeeder as bj, AXMQuestionnaireDataSeeder as bk, AXMResponsibilityDataSeeder as bl, AXMTagDataSeeder as bm, AXMTeamBusinessUnitDataSeeder as bn, AXMTeamDataSeeder as bo, AXMTeamMemberDataSeeder as bp, AXMTeamMemberRoleDataSeeder as bq, AXMWorkflowDashboardChartDataSourceDefinition as br, AXM_AI_REGISTRY_COMMAND_NAME as bs, AXM_AI_REGISTRY_QUERY_NAME as bt, AXM_CORPORATE_BUSINESS_UNIT_ID as bu, AXPDashboardDataSeeder as bv, AXPIdentifierDB as bw, AXPMessageDataSeeder as bx, AXPMockChecksumProvider as by, AXPMockClockProvider as bz, resolveDelegatedAssistOptionString as c, WS as c$, FINANCE_PRO as c0, G as c1, HR_ENTERPRISE as c2, HW as c3, JOB_DEFINITIONS_CATEGORY_MOCK as c4, JOB_DEFINITIONS_MOCK as c5, JOB_DEFINITION_CATEGORY_KEY_TO_ID as c6, JOB_LEVELS_MOCK as c7, LASER_PLUMBING_TENANT_ID as c8, LEAVE_REQUESTS_MOCK as c9, QWS as cA, RESPONSIBILITIES_CATEGORY_MOCK as cB, RESPONSIBILITIES_MOCK as cC, RESPONSIBILITY_CATEGORY_KEY_TO_ID as cD, SAFETYMINDER_BASIC as cE, SAFETYMINDER_ENTERPRISE as cF, SAFETYMINDER_PROFESSIONAL as cG, SHOP_BASIC as cH, SHOP_ENTERPRISE as cI, SHOP_PRO as cJ, TAGS_MOCK as cK, TASKS as cL, TASK_STATUSES as cM, TASK_TEMPLATES as cN, TASK_TYPES as cO, TEAMS_CATEGORY_MOCK as cP, TEAMS_MOCK as cQ, TEAM_BUSINESS_UNITS_MOCK as cR, TEAM_CATEGORY_KEY_TO_ID as cS, TEAM_MEMBERS_MOCK as cT, TEAM_MEMBER_ROLES_MOCK as cU, TIMEPLICITY_TENANT_ID as cV, TLA as cW, TOKENS as cX, TPC as cY, VISIBILITY_FILTER_BYPASS as cZ, WORKFLOW_CATEGORIES as c_, MAGFA_COMMERCE_STANDARD as ca, MAGFA_CONVERSATION_DASHBOARD as cb, MAGFA_TENANT_ID as cc, METADATA_CATEGORY_IDS as cd, METADATA_GENERAL_CATEGORY_REFS as ce, METADATA_SYSTEM_CATEGORY_REFS as cf, MLC as cg, OHR as ch, ORDERING_BASIC as ci, ORDERING_ENTERPRISE as cj, ORDERING_STANDARD as ck, OWNERSHIP_FILTER_BYPASS as cl, PLATFORM_CONSOLE as cm, PLATFORM_TENANT_ID as cn, PM as co, POSITIONS_CATEGORY_MOCK as cp, POSITIONS_MOCK as cq, POSITION_ASSIGNMENTS_MOCK as cr, QCP as cs, QGEN as ct, QHW as cu, QOHR as cv, QPM as cw, QTLE as cx, QUESTIONNAIRE_CATEGORY_MOCK as cy, QUESTION_BANK_ITEM_CATEGORY_MOCK as cz, axcSyncSingleEmployeeDenormalizedOrgFields as d, meetingRoleTypeMock as d$, activityCategoryMocks as d0, activityDefinitionEntityMock as d1, applyEntityDefinitionFirestoreSnapshot as d2, automationCommandMiddleware as d3, automationMock as d4, avatarInterface as d5, awaitConversationMockSharedStorage as d6, axVersionDB as d7, axWorkflowExecutionDB as d8, axcPatchEmployeeActivePrimaryBusinessUnitRefsFromRows as d9, createWorkflowDefinitionEntityMock as dA, dateInterface as dB, dateTimeInterface as dC, descriptionInterface as dD, documentFolderSyncMiddleware as dE, emailInterface as dF, entityDefDb as dG, entityValidationMiddleware as dH, fileUploaderInterface as dI, finalizeActivityCategoryItemCounts as dJ, findEmployeeById as dK, folderStorageMiddleware as dL, groupOrderItemCalculatorMiddleware as dM, historyMiddleware as dN, identifierCommitMiddleware as dO, imageInterface as dP, inspectionOkXNaInterface as dQ, loadMockPropertyDefinitions as dR, lockGuardMiddleware as dS, longTextAnswerInterface as dT, lookupInterface as dU, lookupResolverMiddleware as dV, mapInterface as dW, meetingFilesMock as dX, meetingIds as dY, meetingMock as dZ, meetingParticipantMock as d_, axcPatchEmployeeActivePrimaryPositionRefsFromRows as da, axcPatchEmployeeManagerRefsFromRows as db, axcResolveCommandRegistrySeedId as dc, axcResolveQueryRegistrySeedId as dd, axcResolveWidgetCatalogSeedId as de, bankCategory as df, buildEntityStorageQuickSearchFilter as dg, buildWorkflowInstanceCartableDemoRows as dh, bypassAllFilters as di, bypassOwnershipFilter as dj, bypassVisibilityFilter as dk, calendarEventMock as dl, calendarEventTypeMockData as dm, calendarMock as dn, chatMessageMock as dp, chatMock as dq, checkboxInterface as dr, childCountMiddleware as ds, clearEntityDefinitionFirestoreCollections as dt, colorInterface as du, computeDiff as dv, contactInterface as dw, conversationDemoSeedUserIds as dx, createFileCastMiddleware as dy, createWidgetLayoutConfig as dz, ACTIVITY_CATEGORIES as e, meetingSessionMock as e0, meetingTimeSlotMock as e1, meetingTypeFileTemplateMock as e2, meetingTypeMock as e3, mergeDetailRelationMiddleware as e4, mergeQuickSearchIntoRequest as e5, metadataCategoryMocks as e6, mockParticipantIndexForSecurityUserId as e7, mockQuestionBankItemByName as e8, mockRoleDefinitions as e9, selectionListInterface as eA, sexAtBirthInterface as eB, signatureInterface as eC, signatureLoaderMiddleware as eD, statusDefaultMiddleware as eE, tagInterface as eF, tenantMocks as eG, textAreaInterface as eH, textInterface as eI, timeDurationInterface as eJ, titleInterface as eK, toUiRows as eL, toggleInterface as eM, tokenCategoryIds as eN, tokenCategoryMocks as eO, urlInterface as eP, versionInterface as eQ, visibilityFilterMiddleware as eR, workflowDefinitionEntityMock as eS, workflowDefinitionIds as eT, workflowDefinitionMock as eU, yesNoInterface as eV, multipleChoiceInterface as ea, multipleSelectInterface as eb, normalizeAnyFileArrayForView as ec, normalizeSnapshotFileFieldsForView as ed, numberInterface as ee, parseEntityStorageInsertData as ef, parseEntityStorageQueryRequest as eg, participantIds as eh, participantMock as ei, passwordInterface as ej, personIdentifierTypeMock as ek, personIds as el, personLegalIds as em, personMock as en, personNaturalIds as eo, phoneInterface as ep, primaryMiddleware as eq, provideMockPropertySetups as er, qrcodeInterface as es, questionBankItemMock as et, questionnaireCalculationMock as eu, questionnaireMock as ev, ratingInterface as ew, richTextInterface as ex, scaleInterface as ey, selectInterface as ez, ACTIVITY_CATEGORY_ID_BY_KEY as f, ACTIVITY_DEFINITIONS as g, AI_ASSIST_MOCK as h, AI_MODEL_MOCK as i, APPLICATIONS as j, APPLICATION_CATEGORY_IDS as k, APPLICATION_CATEGORY_MOCKS as l, mockUsers as m, AXCActivityCategorySeeder as n, AXCActivityDefinitionSeeder as o, AXCAiAssistSeeder as p, AXCAiManagementMockModule as q, resolveDelegatedAssistOptionModel as r, AXCAiModelSeeder as s, AXCAppTermDataSeeder as t, AXCAppVersionDataSeeder as u, AXCApplicationCategoryDataSeeder as v, AXCApplicationDataSeeder as w, AXCApplicationManagementMockModule as x, AXCAssessmentManagementMockModule as y, AXCAssetManagementMockModule as z };
|
|
82243
|
-
//# sourceMappingURL=acorex-connectivity-mock-acorex-connectivity-mock-
|
|
81906
|
+
export { AXCFileStorageServiceFirestore as $, AXCAiChatRouterService as A, AXCAuthMockModule as B, AXCCalendarDataSeeder as C, AXCCalendarEventDataSeeder as D, AXCCalendarManagementMockModule as E, AXCCommandRegistryDataSeeder as F, AXCCommonMockModule as G, AXCContactCoreMockModule as H, AXCContentManagementMockModule as I, AXCConversationDataSeeder as J, AXCConversationMockConversationApi as K, AXCConversationMockMessageApi as L, AXCConversationMockModule as M, AXCConversationMockRealtimeApi as N, AXCConversationMockUserApi as O, AXCCustomerManagementMockModule as P, AXCDashboardManagementMockModule as Q, AXCDataManagementMockModule as R, AXCDexieEntityStorageService as S, AXCDocumentManagementMockModule as T, AXCEditionDataSeeder as U, AXCEntityDefinitionSeederService as V, AXCEntityDefinitionsModule as W, AXCEntityStorageInsertCommand as X, AXCEntityStorageModule as Y, AXCEntityStorageQueryQuery as Z, AXCFileStorageServiceDexie as _, AXMAiModelStableIds as a, AXMCalendarEventTypeSeeder as a$, AXCFinancialCoreMockModule as a0, AXCFirestoreEntityStorageService as a1, AXCFormTemplateManagementMockModule as a2, AXCGoogleStrategyMock as a3, AXCHealthCoreMockModule as a4, AXCHelpDeskMockModule as a5, AXCHumanCapitalManagementMockModule as a6, AXCIdentifierManagementMockModule as a7, AXCImageCaptchaChallengeProviderMock as a8, AXCLearningManagementMockModule as a9, AXCTaskManagementMockModule as aA, AXCTenantManagementMockModule as aB, AXCTenantSeeder as aC, AXCTextTemplateRenderBackend as aD, AXCTokensDataSeeder as aE, AXCUserPassStrategyMock as aF, AXCVersionDB as aG, AXCVersioningService as aH, AXCWidgetCatalogDataSeeder as aI, AXCWorkflowCategorySeeder as aJ, AXCWorkflowDefinitionDataSeeder as aK, AXCWorkflowEngine as aL, AXCWorkflowExecutionDB as aM, AXCWorkflowExecutionStoreDexie as aN, AXCWorkflowExecutionStoreFirestore as aO, AXCWorkflowInstanceCartableDemoSeeder as aP, AXCWorkflowManagementMockModule as aQ, AXC_ENTITY_STORAGE_BACKEND_TYPE as aR, AXC_FIRESTORE_CONFIG as aS, AXC_FIRESTORE_DB as aT, AXC_WORKFLOW_EXECUTION_STORE as aU, AXMAiDemisAssistAgentUuid as aV, AXMAiDemisAssistId as aW, AXMAiDemisGeneralAssistId as aX, AXMAiPlatformAssistantAssistId as aY, AXMAutomationDataSeeder as aZ, AXMBusinessUnitDataSeeder as a_, AXCLocaleManagementMockModule as aa, AXCLocationManagementMockModule as ab, AXCLockService as ac, AXCMeasurementCoreMockModule as ad, AXCMeetingManagementMockModule as ae, AXCMetaDataDefinitionDataSeeder as af, AXCMetadataCategorySeeder as ag, AXCMiddlewaresModule as ah, AXCMockCaptchaChallengeComponent as ai, AXCMockEntityLogListener as aj, AXCMockModule as ak, AXCMockShowMetaDataFormPopupCommand as al, AXCNotificationManagementMockModule as am, AXCOrderManagementMockModule as an, AXCOrganizationManagementMockModule as ao, AXCPersonCoreMockModule as ap, AXCPlatformManagementMockModule as aq, AXCProcurementManagementMockModule as ar, AXCProductCatalogMockModule as as, AXCProjectManagementMockModule as at, AXCQueryRegistryDataSeeder as au, AXCReportManagementMockModule as av, AXCSecurityManagementMockModule as aw, AXCStoredEntityDefinitionLoader as ax, AXCSubscriptionManagementMockModule as ay, AXCSupplierManagementMockModule as az, resolveAssistSpeechModelId as b, FINANCE_PRO as b$, AXMDashboardChartDataSourceDefinition as b0, AXMEmployeeDataSeeder as b1, AXMEmploymentTypeDataSeeder as b2, AXMFormDataSourcesProvider as b3, AXMJobDefinitionDataSeeder as b4, AXMJobLevelDataSeeder as b5, AXMLeaveRequestDataSeeder as b6, AXMMeetingDataSeeder as b7, AXMMeetingFilesDataSeeder as b8, AXMMeetingParticipantDataSeeder as b9, AXPMockLookupProvider as bA, AXPMockPolicyProvider as bB, AXPMockSequenceProvider as bC, AXPRoomDataSeeder as bD, AXPSecurityManagementRoleDataSeeder as bE, AXPSecurityManagementUserDataSeeder as bF, AXPTaskBoardPlatformManagementTaskProvider as bG, AXPTaskBoardProjectManagementTaskProvider as bH, AXVChangeType as bI, BCC as bJ, BOC as bK, BUSINESS_UNITS_MOCK as bL, CHAT_LAST_MESSAGE_IDS as bM, COLLABORATION_STANDARD as bN, COSTMANAGER_ENTERPRISE as bO, COSTMANAGER_PROFESSIONAL as bP, COSTMANAGER_STANDARD as bQ, CP as bR, CRM_ENTERPRISE as bS, DASHBOARDS as bT, EDITIONS as bU, EMPLOYEES_MOCK as bV, EMPLOYMENT_TYPES_MOCK as bW, ENTITY_DEFINITION_MAP as bX, ENTITY_REGISTRY as bY, FINANCE_BASIC as bZ, FINANCE_ENTERPRISE as b_, AXMMeetingRoleTypeDataSeeder as ba, AXMMeetingSessionDataSeeder as bb, AXMMeetingTypeDataSeeder as bc, AXMMeetingTypeFileTemplateDataSeeder as bd, AXMPositionAssignmentDataSeeder as be, AXMPositionDataSeeder as bf, AXMQuestionBankItemCategoryDataSeeder as bg, AXMQuestionBankItemDataSeeder as bh, AXMQuestionnaireCategoryDataSeeder as bi, AXMQuestionnaireDataSeeder as bj, AXMResponsibilityDataSeeder as bk, AXMTagDataSeeder as bl, AXMTeamBusinessUnitDataSeeder as bm, AXMTeamDataSeeder as bn, AXMTeamMemberDataSeeder as bo, AXMTeamMemberRoleDataSeeder as bp, AXMWorkflowDashboardChartDataSourceDefinition as bq, AXM_AI_REGISTRY_COMMAND_NAME as br, AXM_AI_REGISTRY_QUERY_NAME as bs, AXM_CORPORATE_BUSINESS_UNIT_ID as bt, AXPDashboardDataSeeder as bu, AXPIdentifierDB as bv, AXPMessageDataSeeder as bw, AXPMockChecksumProvider as bx, AXPMockClockProvider as by, AXPMockIdentifierService as bz, resolveDelegatedAssistOptionString as c, activityCategoryMocks as c$, G as c0, HR_ENTERPRISE as c1, HW as c2, JOB_DEFINITIONS_CATEGORY_MOCK as c3, JOB_DEFINITIONS_MOCK as c4, JOB_DEFINITION_CATEGORY_KEY_TO_ID as c5, JOB_LEVELS_MOCK as c6, LASER_PLUMBING_TENANT_ID as c7, LEAVE_REQUESTS_MOCK as c8, MAGFA_COMMERCE_STANDARD as c9, RESPONSIBILITIES_CATEGORY_MOCK as cA, RESPONSIBILITIES_MOCK as cB, RESPONSIBILITY_CATEGORY_KEY_TO_ID as cC, SAFETYMINDER_BASIC as cD, SAFETYMINDER_ENTERPRISE as cE, SAFETYMINDER_PROFESSIONAL as cF, SHOP_BASIC as cG, SHOP_ENTERPRISE as cH, SHOP_PRO as cI, TAGS_MOCK as cJ, TASKS as cK, TASK_STATUSES as cL, TASK_TEMPLATES as cM, TASK_TYPES as cN, TEAMS_CATEGORY_MOCK as cO, TEAMS_MOCK as cP, TEAM_BUSINESS_UNITS_MOCK as cQ, TEAM_CATEGORY_KEY_TO_ID as cR, TEAM_MEMBERS_MOCK as cS, TEAM_MEMBER_ROLES_MOCK as cT, TIMEPLICITY_TENANT_ID as cU, TLA as cV, TOKENS as cW, TPC as cX, VISIBILITY_FILTER_BYPASS as cY, WORKFLOW_CATEGORIES as cZ, WS as c_, MAGFA_CONVERSATION_DASHBOARD as ca, MAGFA_TENANT_ID as cb, METADATA_CATEGORY_IDS as cc, METADATA_GENERAL_CATEGORY_REFS as cd, METADATA_SYSTEM_CATEGORY_REFS as ce, MLC as cf, OHR as cg, ORDERING_BASIC as ch, ORDERING_ENTERPRISE as ci, ORDERING_STANDARD as cj, OWNERSHIP_FILTER_BYPASS as ck, PLATFORM_CONSOLE as cl, PLATFORM_TENANT_ID as cm, PM as cn, POSITIONS_CATEGORY_MOCK as co, POSITIONS_MOCK as cp, POSITION_ASSIGNMENTS_MOCK as cq, QCP as cr, QGEN as cs, QHW as ct, QOHR as cu, QPM as cv, QTLE as cw, QUESTIONNAIRE_CATEGORY_MOCK as cx, QUESTION_BANK_ITEM_CATEGORY_MOCK as cy, QWS as cz, axcSyncSingleEmployeeDenormalizedOrgFields as d, meetingSessionMock as d$, activityDefinitionEntityMock as d0, applyEntityDefinitionFirestoreSnapshot as d1, automationCommandMiddleware as d2, automationMock as d3, avatarInterface as d4, awaitConversationMockSharedStorage as d5, axVersionDB as d6, axWorkflowExecutionDB as d7, axcPatchEmployeeActivePrimaryBusinessUnitRefsFromRows as d8, axcPatchEmployeeActivePrimaryPositionRefsFromRows as d9, dateInterface as dA, dateTimeInterface as dB, descriptionInterface as dC, documentFolderSyncMiddleware as dD, emailInterface as dE, entityDefDb as dF, entityValidationMiddleware as dG, fileUploaderInterface as dH, finalizeActivityCategoryItemCounts as dI, findEmployeeById as dJ, folderStorageMiddleware as dK, groupOrderItemCalculatorMiddleware as dL, historyMiddleware as dM, identifierCommitMiddleware as dN, imageInterface as dO, inspectionOkXNaInterface as dP, loadMockPropertyDefinitions as dQ, lockGuardMiddleware as dR, longTextAnswerInterface as dS, lookupInterface as dT, lookupResolverMiddleware as dU, mapInterface as dV, meetingFilesMock as dW, meetingIds as dX, meetingMock as dY, meetingParticipantMock as dZ, meetingRoleTypeMock as d_, axcPatchEmployeeManagerRefsFromRows as da, axcResolveCommandRegistrySeedId as db, axcResolveQueryRegistrySeedId as dc, axcResolveWidgetCatalogSeedId as dd, bankCategory as de, buildEntityStorageQuickSearchFilter as df, buildWorkflowInstanceCartableDemoRows as dg, bypassAllFilters as dh, bypassOwnershipFilter as di, bypassVisibilityFilter as dj, calendarEventMock as dk, calendarEventTypeMockData as dl, calendarMock as dm, chatMessageMock as dn, chatMock as dp, checkboxInterface as dq, childCountMiddleware as dr, clearEntityDefinitionFirestoreCollections as ds, colorInterface as dt, computeDiff as du, contactInterface as dv, conversationDemoSeedUserIds as dw, createFileCastMiddleware as dx, createWidgetLayoutConfig as dy, createWorkflowDefinitionEntityMock as dz, ACTIVITY_CATEGORIES as e, meetingTimeSlotMock as e0, meetingTypeFileTemplateMock as e1, meetingTypeMock as e2, mergeDetailRelationMiddleware as e3, mergeQuickSearchIntoRequest as e4, metadataCategoryMocks as e5, mockParticipantIndexForSecurityUserId as e6, mockQuestionBankItemByName as e7, mockRoleDefinitions as e8, multipleChoiceInterface as e9, signatureInterface as eA, signatureLoaderMiddleware as eB, statusDefaultMiddleware as eC, tagInterface as eD, tenantMocks as eE, textAreaInterface as eF, textInterface as eG, timeDurationInterface as eH, titleInterface as eI, toUiRows as eJ, toggleInterface as eK, tokenCategoryIds as eL, tokenCategoryMocks as eM, urlInterface as eN, versionInterface as eO, visibilityFilterMiddleware as eP, workflowDefinitionEntityMock as eQ, workflowDefinitionIds as eR, workflowDefinitionMock as eS, yesNoInterface as eT, multipleSelectInterface as ea, normalizeAnyFileArrayForView as eb, normalizeSnapshotFileFieldsForView as ec, numberInterface as ed, parseEntityStorageInsertData as ee, parseEntityStorageQueryRequest as ef, participantIds as eg, participantMock as eh, passwordInterface as ei, personIdentifierTypeMock as ej, personIds as ek, personLegalIds as el, personMock as em, personNaturalIds as en, phoneInterface as eo, primaryMiddleware as ep, provideMockPropertySetups as eq, qrcodeInterface as er, questionBankItemMock as es, questionnaireMock as et, ratingInterface as eu, richTextInterface as ev, scaleInterface as ew, selectInterface as ex, selectionListInterface as ey, sexAtBirthInterface as ez, ACTIVITY_CATEGORY_ID_BY_KEY as f, ACTIVITY_DEFINITIONS as g, AI_ASSIST_MOCK as h, AI_MODEL_MOCK as i, APPLICATIONS as j, APPLICATION_CATEGORY_IDS as k, APPLICATION_CATEGORY_MOCKS as l, mockUsers as m, AXCActivityCategorySeeder as n, AXCActivityDefinitionSeeder as o, AXCAiAssistSeeder as p, AXCAiManagementMockModule as q, resolveDelegatedAssistOptionModel as r, AXCAiModelSeeder as s, AXCAppTermDataSeeder as t, AXCAppVersionDataSeeder as u, AXCApplicationCategoryDataSeeder as v, AXCApplicationDataSeeder as w, AXCApplicationManagementMockModule as x, AXCAssessmentManagementMockModule as y, AXCAssetManagementMockModule as z };
|
|
81907
|
+
//# sourceMappingURL=acorex-connectivity-mock-acorex-connectivity-mock-C6axmkB2.mjs.map
|