blixify-ui-web 1.0.2 → 1.0.4
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/lib/__tests__/components/data/fixtures.d.ts +2 -2
- package/lib/__tests__/components/data/fixtures.d.ts.map +1 -1
- package/lib/__tests__/components/data/fixtures.js +42 -34
- package/lib/__tests__/components/data/fixtures.js.map +1 -1
- package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +48 -23
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/dataTemplate/model.d.ts +7 -0
- package/lib/components/data/dataTemplate/model.d.ts.map +1 -1
- package/lib/components/data/readModule.d.ts.map +1 -1
- package/lib/components/data/readModule.js +25 -4
- package/lib/components/data/readModule.js.map +1 -1
- package/lib/components/data/testSchema.d.ts +1 -0
- package/lib/components/data/testSchema.d.ts.map +1 -1
- package/lib/components/data/testSchema.js +385 -37
- package/lib/components/data/testSchema.js.map +1 -1
- package/lib/components/data/updateModule.d.ts.map +1 -1
- package/lib/components/data/updateModule.js +18 -19
- package/lib/components/data/updateModule.js.map +1 -1
- package/lib/components/data/utils.d.ts.map +1 -1
- package/lib/components/data/utils.js +8 -1
- package/lib/components/data/utils.js.map +1 -1
- package/lib/components/display/table/index.d.ts.map +1 -1
- package/lib/components/display/table/index.js +1 -1
- package/lib/components/display/table/index.js.map +1 -1
- package/lib/components/input/uploadInput/index.d.ts +17 -0
- package/lib/components/input/uploadInput/index.d.ts.map +1 -1
- package/lib/components/input/uploadInput/index.js +100 -12
- package/lib/components/input/uploadInput/index.js.map +1 -1
- package/lib/tail.css +1 -1
- package/package.json +1 -1
|
@@ -12,10 +12,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.VerdantOMChecklistSchema = exports.renderVerdantTechnicalChecklistSchema = exports.renderVerdantPostServiceSchema = exports.renderVerdantPreServiceSchema = exports.renderVerdantBasicInfoSchema = exports.OMMaintenanceChecklistSchema = exports.renderSubmissionAndSignaturesSchema = exports.renderTechnicalChecklistsSchema = exports.renderPostServiceSchema = exports.renderPreServiceSchema = exports.renderBasicInformationSchema = exports.KMProjectSchema = exports.OrganisationProfileSchema = exports.OrganisationSchema = exports.ProposalSchema = exports.ProjectSchema = void 0;
|
|
16
|
-
var dayjs_1 = __importDefault(require("../dayjs"));
|
|
15
|
+
exports.VerdantOMChecklistSchema = exports.renderVerdantSubmissionSchema = exports.renderVerdantTechnicalChecklistSchema = exports.renderVerdantPostServiceSchema = exports.renderVerdantPreServiceSchema = exports.renderVerdantBasicInfoSchema = exports.OMMaintenanceChecklistSchema = exports.renderSubmissionAndSignaturesSchema = exports.renderTechnicalChecklistsSchema = exports.renderPostServiceSchema = exports.renderPreServiceSchema = exports.renderBasicInformationSchema = exports.KMProjectSchema = exports.OrganisationProfileSchema = exports.OrganisationSchema = exports.ProposalSchema = exports.ProjectSchema = void 0;
|
|
17
16
|
var react_1 = __importDefault(require("react"));
|
|
18
17
|
var textButton_1 = require("../action/textButton");
|
|
18
|
+
var dayjs_1 = __importDefault(require("../dayjs"));
|
|
19
19
|
var testData_1 = require("./testData");
|
|
20
20
|
var clusterList = [];
|
|
21
21
|
var Placeholder = {
|
|
@@ -2792,6 +2792,8 @@ var renderPreServiceSchema = function (tabId) {
|
|
|
2792
2792
|
type: "multipleImage",
|
|
2793
2793
|
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
2794
2794
|
fileExtension: "image/*,video/*",
|
|
2795
|
+
imageTagToggleMode: true,
|
|
2796
|
+
imageHideEnabled: true,
|
|
2795
2797
|
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
2796
2798
|
tabId: tabId,
|
|
2797
2799
|
},
|
|
@@ -3435,41 +3437,32 @@ var renderVerdantBasicInfoSchema = function () { return [
|
|
|
3435
3437
|
]; };
|
|
3436
3438
|
exports.renderVerdantBasicInfoSchema = renderVerdantBasicInfoSchema;
|
|
3437
3439
|
var renderVerdantPreServiceSchema = function () { return [
|
|
3440
|
+
{
|
|
3441
|
+
id: "preServiceInspectionImages",
|
|
3442
|
+
name: "Pre-Service Inspection Images & Videos",
|
|
3443
|
+
type: "multipleImage",
|
|
3444
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3445
|
+
fileExtension: "image/*,video/*,.dng",
|
|
3446
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3447
|
+
tabId: "B. Pre-Service",
|
|
3448
|
+
compressfileQuality: 1,
|
|
3449
|
+
maxFileSize: 1.5,
|
|
3450
|
+
optional: true,
|
|
3451
|
+
imageTagToggleMode: true,
|
|
3452
|
+
imageHideEnabled: true,
|
|
3453
|
+
},
|
|
3438
3454
|
{
|
|
3439
3455
|
id: "preServiceIrradianceAndTemperatureData",
|
|
3440
3456
|
name: "Pre-Service Irradiance, Temperature & Tilt Angle",
|
|
3441
3457
|
type: "listObject",
|
|
3442
3458
|
listFlexTable: true,
|
|
3443
|
-
|
|
3444
|
-
listFlexMaxRows: 4,
|
|
3445
|
-
groupId: "1. Pre-Service Inspection",
|
|
3459
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3446
3460
|
tabId: "B. Pre-Service",
|
|
3447
3461
|
objectData: [
|
|
3448
|
-
{
|
|
3449
|
-
id: "panelNumber",
|
|
3450
|
-
name: "Panel Number",
|
|
3451
|
-
type: "number",
|
|
3452
|
-
optional: true,
|
|
3453
|
-
},
|
|
3462
|
+
{ id: "panelNumber", name: "Panel Number", type: "number" },
|
|
3454
3463
|
{ id: "tiltAngle", name: "Tilt Angle (°)", type: "number" },
|
|
3455
3464
|
{ id: "irradiance", name: "Irradiance (W/m²)", type: "number" },
|
|
3456
3465
|
{ id: "temperature", name: "Temperature (°C)", type: "number" },
|
|
3457
|
-
{
|
|
3458
|
-
id: "orientation",
|
|
3459
|
-
name: "Orientation",
|
|
3460
|
-
type: "list",
|
|
3461
|
-
listSelection: [
|
|
3462
|
-
"North",
|
|
3463
|
-
"South",
|
|
3464
|
-
"East",
|
|
3465
|
-
"West",
|
|
3466
|
-
"North-East",
|
|
3467
|
-
"North-West",
|
|
3468
|
-
"South-East",
|
|
3469
|
-
"South-West",
|
|
3470
|
-
],
|
|
3471
|
-
optional: true,
|
|
3472
|
-
},
|
|
3473
3466
|
],
|
|
3474
3467
|
},
|
|
3475
3468
|
{
|
|
@@ -3477,7 +3470,7 @@ var renderVerdantPreServiceSchema = function () { return [
|
|
|
3477
3470
|
name: "Pre-Service DC Output",
|
|
3478
3471
|
type: "listObject",
|
|
3479
3472
|
listFlexTable: true,
|
|
3480
|
-
groupId: "1. Pre-Service Inspection",
|
|
3473
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3481
3474
|
tabId: "B. Pre-Service",
|
|
3482
3475
|
objectData: [
|
|
3483
3476
|
{
|
|
@@ -3491,8 +3484,10 @@ var renderVerdantPreServiceSchema = function () { return [
|
|
|
3491
3484
|
{
|
|
3492
3485
|
id: "preServiceInverterPowerOutput",
|
|
3493
3486
|
name: "Inverter Power Output (kW)",
|
|
3487
|
+
placeholder: "Reading on inverter LCD display",
|
|
3494
3488
|
type: "number",
|
|
3495
|
-
|
|
3489
|
+
optional: true,
|
|
3490
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3496
3491
|
tabId: "B. Pre-Service",
|
|
3497
3492
|
},
|
|
3498
3493
|
{
|
|
@@ -3500,20 +3495,34 @@ var renderVerdantPreServiceSchema = function () { return [
|
|
|
3500
3495
|
name: "Time",
|
|
3501
3496
|
type: "date",
|
|
3502
3497
|
optional: true,
|
|
3503
|
-
groupId: "1. Pre-Service Inspection",
|
|
3498
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3504
3499
|
tabId: "B. Pre-Service",
|
|
3505
3500
|
defaultValue: (0, dayjs_1.default)().toDate(),
|
|
3506
3501
|
},
|
|
3507
3502
|
{
|
|
3508
3503
|
id: "preServiceExistingCrackTiles",
|
|
3509
3504
|
name: "Existing Crack Tiles",
|
|
3505
|
+
description: "If Defect exist, upload to defect images & videos.",
|
|
3510
3506
|
type: "list",
|
|
3511
3507
|
listSelection: ["exist", "non-exist", "done"],
|
|
3512
3508
|
listSelectionLabel: ["Exist", "Non-exist", "Done"],
|
|
3513
3509
|
listView: "radioview",
|
|
3514
3510
|
disabledAutoSelect: true,
|
|
3515
|
-
|
|
3511
|
+
optional: true,
|
|
3512
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3513
|
+
tabId: "B. Pre-Service",
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
id: "preServiceDefectImages",
|
|
3517
|
+
name: "Defect Images & Videos",
|
|
3518
|
+
type: "multipleImage",
|
|
3519
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3520
|
+
fileExtension: "image/*,video/*,.dng",
|
|
3521
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3516
3522
|
tabId: "B. Pre-Service",
|
|
3523
|
+
optional: true,
|
|
3524
|
+
compressfileQuality: 1,
|
|
3525
|
+
maxFileSize: 1.5,
|
|
3517
3526
|
},
|
|
3518
3527
|
{
|
|
3519
3528
|
id: "preServiceSpd",
|
|
@@ -3523,18 +3532,86 @@ var renderVerdantPreServiceSchema = function () { return [
|
|
|
3523
3532
|
listSelectionLabel: ["Exist", "Non-exist", "Done"],
|
|
3524
3533
|
listView: "radioview",
|
|
3525
3534
|
disabledAutoSelect: true,
|
|
3526
|
-
groupId: "1. Pre-Service Inspection",
|
|
3535
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3527
3536
|
tabId: "B. Pre-Service",
|
|
3528
3537
|
},
|
|
3538
|
+
{
|
|
3539
|
+
id: "preServiceWholePanelArrangement",
|
|
3540
|
+
name: "Whole Panel Arrangement",
|
|
3541
|
+
type: "boolean",
|
|
3542
|
+
enableCheckbox: true,
|
|
3543
|
+
defaultValue: false,
|
|
3544
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3545
|
+
tabId: "B. Pre-Service",
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
id: "preServicePanelsBeforeCleaning",
|
|
3549
|
+
name: "Panels Before Cleaning",
|
|
3550
|
+
type: "boolean",
|
|
3551
|
+
enableCheckbox: true,
|
|
3552
|
+
defaultValue: false,
|
|
3553
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3554
|
+
tabId: "B. Pre-Service",
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
id: "preServiceInverterAndDBLocation",
|
|
3558
|
+
name: "Inverter & DB (Distribution Box) Location",
|
|
3559
|
+
type: "boolean",
|
|
3560
|
+
enableCheckbox: true,
|
|
3561
|
+
defaultValue: false,
|
|
3562
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3563
|
+
tabId: "B. Pre-Service",
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
id: "preServiceIrradianceAndTemperature",
|
|
3567
|
+
name: "Irradiance, Temperature & Tilt Angle",
|
|
3568
|
+
type: "boolean",
|
|
3569
|
+
enableCheckbox: true,
|
|
3570
|
+
defaultValue: false,
|
|
3571
|
+
groupId: "1. Pre-Service Inspection (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3572
|
+
tabId: "B. Pre-Service",
|
|
3573
|
+
},
|
|
3574
|
+
{
|
|
3575
|
+
id: "preServiceBriefingDone",
|
|
3576
|
+
name: "Has the client been briefed on the maintenance process, risks, & defects found?",
|
|
3577
|
+
type: "boolean",
|
|
3578
|
+
enableCheckbox: true,
|
|
3579
|
+
defaultValue: false,
|
|
3580
|
+
groupId: "2. Pre-Service Client Briefing",
|
|
3581
|
+
tabId: "B. Pre-Service",
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
id: "preServiceClientBriefingSignature",
|
|
3585
|
+
name: "Service Disclaimer & Warranty Acknowledgement",
|
|
3586
|
+
description: "I (the client) acknowledge that the roof condition has been inspected during the O&M Preventive service.\n\nVerdant Solar provides a *3-month workmanship warranty* for roof leakage from the service date. This warranty only covers leakage caused by the service work and does not cover existing roof defects, aging materials, or normal wear and tear of the system and its components.\n\n*I have read and agree to the above terms*.",
|
|
3587
|
+
type: "signature",
|
|
3588
|
+
groupId: "3. Pre-Service Client Acknowledgement",
|
|
3589
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3590
|
+
imageFileName: "signature.png",
|
|
3591
|
+
tabId: "B. Pre-Service",
|
|
3592
|
+
optional: true,
|
|
3593
|
+
},
|
|
3529
3594
|
]; };
|
|
3530
3595
|
exports.renderVerdantPreServiceSchema = renderVerdantPreServiceSchema;
|
|
3531
3596
|
var renderVerdantPostServiceSchema = function () { return [
|
|
3597
|
+
{
|
|
3598
|
+
id: "postServiceInspectionImages",
|
|
3599
|
+
name: "Post-Service Inspection Images & Videos",
|
|
3600
|
+
type: "multipleImage",
|
|
3601
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3602
|
+
fileExtension: "image/*,video/*,.dng",
|
|
3603
|
+
groupId: "1. Post-Service Status (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3604
|
+
tabId: "C. Post-Service",
|
|
3605
|
+
compressfileQuality: 1,
|
|
3606
|
+
maxFileSize: 1.5,
|
|
3607
|
+
optional: true,
|
|
3608
|
+
},
|
|
3532
3609
|
{
|
|
3533
3610
|
id: "postServiceIrradianceAndTemperatureData",
|
|
3534
3611
|
name: "Post-Service Irradiance & Temperature",
|
|
3535
3612
|
type: "listObject",
|
|
3536
3613
|
listFlexTable: true,
|
|
3537
|
-
groupId: "1. Post-Service Status",
|
|
3614
|
+
groupId: "1. Post-Service Status (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3538
3615
|
tabId: "C. Post-Service",
|
|
3539
3616
|
objectData: [
|
|
3540
3617
|
{ id: "irradiance", name: "Irradiance (W/m²)", type: "number" },
|
|
@@ -3546,7 +3623,7 @@ var renderVerdantPostServiceSchema = function () { return [
|
|
|
3546
3623
|
name: "Post-Service DC Output",
|
|
3547
3624
|
type: "listObject",
|
|
3548
3625
|
listFlexTable: true,
|
|
3549
|
-
groupId: "1. Post-Service Status",
|
|
3626
|
+
groupId: "1. Post-Service Status (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3550
3627
|
tabId: "C. Post-Service",
|
|
3551
3628
|
objectData: [
|
|
3552
3629
|
{
|
|
@@ -3560,10 +3637,20 @@ var renderVerdantPostServiceSchema = function () { return [
|
|
|
3560
3637
|
{
|
|
3561
3638
|
id: "postServiceInverterPowerOutput",
|
|
3562
3639
|
name: "Inverter Power Output (kW)",
|
|
3640
|
+
placeholder: "Reading on inverter LCD display",
|
|
3563
3641
|
type: "number",
|
|
3564
|
-
groupId: "1. Post-Service Status",
|
|
3642
|
+
groupId: "1. Post-Service Status (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3565
3643
|
tabId: "C. Post-Service",
|
|
3566
3644
|
},
|
|
3645
|
+
{
|
|
3646
|
+
id: "postServiceTime",
|
|
3647
|
+
name: "Time",
|
|
3648
|
+
type: "date",
|
|
3649
|
+
optional: true,
|
|
3650
|
+
groupId: "1. Post-Service Status (Provide photo for all inspection points & readings, then ✅ the boxes)",
|
|
3651
|
+
tabId: "C. Post-Service",
|
|
3652
|
+
defaultValue: (0, dayjs_1.default)().toDate(),
|
|
3653
|
+
},
|
|
3567
3654
|
{
|
|
3568
3655
|
id: "postServiceAcGridVoltagePhaseType",
|
|
3569
3656
|
name: "Phase Type",
|
|
@@ -3580,6 +3667,223 @@ var renderVerdantPostServiceSchema = function () { return [
|
|
|
3580
3667
|
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3581
3668
|
tabId: "C. Post-Service",
|
|
3582
3669
|
},
|
|
3670
|
+
// INFO: Single Phase Fields
|
|
3671
|
+
{
|
|
3672
|
+
id: "postServiceSingleRN",
|
|
3673
|
+
name: "R-N (V)",
|
|
3674
|
+
type: "number",
|
|
3675
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3676
|
+
tabId: "C. Post-Service",
|
|
3677
|
+
optional: true,
|
|
3678
|
+
hideWhen: [
|
|
3679
|
+
{
|
|
3680
|
+
type: "!=",
|
|
3681
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3682
|
+
value: "Single Phase",
|
|
3683
|
+
},
|
|
3684
|
+
],
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
id: "postServiceSingleRPE",
|
|
3688
|
+
name: "R-PE (V)",
|
|
3689
|
+
type: "number",
|
|
3690
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3691
|
+
tabId: "C. Post-Service",
|
|
3692
|
+
optional: true,
|
|
3693
|
+
hideWhen: [
|
|
3694
|
+
{
|
|
3695
|
+
type: "!=",
|
|
3696
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3697
|
+
value: "Single Phase",
|
|
3698
|
+
},
|
|
3699
|
+
],
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
id: "postServiceSingleNPE",
|
|
3703
|
+
name: "N-PE (V)",
|
|
3704
|
+
type: "number",
|
|
3705
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3706
|
+
tabId: "C. Post-Service",
|
|
3707
|
+
optional: true,
|
|
3708
|
+
hideWhen: [
|
|
3709
|
+
{
|
|
3710
|
+
type: "!=",
|
|
3711
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3712
|
+
value: "Single Phase",
|
|
3713
|
+
},
|
|
3714
|
+
],
|
|
3715
|
+
},
|
|
3716
|
+
// INFO: Three Phase Fields - Phase-to-Phase
|
|
3717
|
+
{
|
|
3718
|
+
id: "postServiceThreeRY",
|
|
3719
|
+
name: "R-Y (V)",
|
|
3720
|
+
type: "number",
|
|
3721
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3722
|
+
tabId: "C. Post-Service",
|
|
3723
|
+
optional: true,
|
|
3724
|
+
hideWhen: [
|
|
3725
|
+
{
|
|
3726
|
+
type: "!=",
|
|
3727
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3728
|
+
value: "Three Phase",
|
|
3729
|
+
},
|
|
3730
|
+
],
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
id: "postServiceThreeRB",
|
|
3734
|
+
name: "R-B (V)",
|
|
3735
|
+
type: "number",
|
|
3736
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3737
|
+
tabId: "C. Post-Service",
|
|
3738
|
+
optional: true,
|
|
3739
|
+
hideWhen: [
|
|
3740
|
+
{
|
|
3741
|
+
type: "!=",
|
|
3742
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3743
|
+
value: "Three Phase",
|
|
3744
|
+
},
|
|
3745
|
+
],
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
id: "postServiceThreeYB",
|
|
3749
|
+
name: "Y-B (V)",
|
|
3750
|
+
type: "number",
|
|
3751
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3752
|
+
tabId: "C. Post-Service",
|
|
3753
|
+
optional: true,
|
|
3754
|
+
hideWhen: [
|
|
3755
|
+
{
|
|
3756
|
+
type: "!=",
|
|
3757
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3758
|
+
value: "Three Phase",
|
|
3759
|
+
},
|
|
3760
|
+
],
|
|
3761
|
+
},
|
|
3762
|
+
// INFO: Three Phase Fields - Phase-to-Neutral
|
|
3763
|
+
{
|
|
3764
|
+
id: "postServiceThreeRN",
|
|
3765
|
+
name: "R-N (V)",
|
|
3766
|
+
type: "number",
|
|
3767
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3768
|
+
tabId: "C. Post-Service",
|
|
3769
|
+
optional: true,
|
|
3770
|
+
hideWhen: [
|
|
3771
|
+
{
|
|
3772
|
+
type: "!=",
|
|
3773
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3774
|
+
value: "Three Phase",
|
|
3775
|
+
},
|
|
3776
|
+
],
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
id: "postServiceThreeYN",
|
|
3780
|
+
name: "Y-N (V)",
|
|
3781
|
+
type: "number",
|
|
3782
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3783
|
+
tabId: "C. Post-Service",
|
|
3784
|
+
optional: true,
|
|
3785
|
+
hideWhen: [
|
|
3786
|
+
{
|
|
3787
|
+
type: "!=",
|
|
3788
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3789
|
+
value: "Three Phase",
|
|
3790
|
+
},
|
|
3791
|
+
],
|
|
3792
|
+
},
|
|
3793
|
+
{
|
|
3794
|
+
id: "postServiceThreeBN",
|
|
3795
|
+
name: "B-N (V)",
|
|
3796
|
+
type: "number",
|
|
3797
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3798
|
+
tabId: "C. Post-Service",
|
|
3799
|
+
optional: true,
|
|
3800
|
+
hideWhen: [
|
|
3801
|
+
{
|
|
3802
|
+
type: "!=",
|
|
3803
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3804
|
+
value: "Three Phase",
|
|
3805
|
+
},
|
|
3806
|
+
],
|
|
3807
|
+
},
|
|
3808
|
+
// INFO: Three Phase Fields - Phase/Neutral-to-Earth
|
|
3809
|
+
{
|
|
3810
|
+
id: "postServiceThreeRPE",
|
|
3811
|
+
name: "R-PE (V)",
|
|
3812
|
+
type: "number",
|
|
3813
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3814
|
+
tabId: "C. Post-Service",
|
|
3815
|
+
optional: true,
|
|
3816
|
+
hideWhen: [
|
|
3817
|
+
{
|
|
3818
|
+
type: "!=",
|
|
3819
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3820
|
+
value: "Three Phase",
|
|
3821
|
+
},
|
|
3822
|
+
],
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
id: "postServiceThreeYPE",
|
|
3826
|
+
name: "Y-PE (V)",
|
|
3827
|
+
type: "number",
|
|
3828
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3829
|
+
tabId: "C. Post-Service",
|
|
3830
|
+
optional: true,
|
|
3831
|
+
hideWhen: [
|
|
3832
|
+
{
|
|
3833
|
+
type: "!=",
|
|
3834
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3835
|
+
value: "Three Phase",
|
|
3836
|
+
},
|
|
3837
|
+
],
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
id: "postServiceThreeBPE",
|
|
3841
|
+
name: "B-PE (V)",
|
|
3842
|
+
type: "number",
|
|
3843
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3844
|
+
tabId: "C. Post-Service",
|
|
3845
|
+
optional: true,
|
|
3846
|
+
hideWhen: [
|
|
3847
|
+
{
|
|
3848
|
+
type: "!=",
|
|
3849
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3850
|
+
value: "Three Phase",
|
|
3851
|
+
},
|
|
3852
|
+
],
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
id: "postServiceThreeNPE",
|
|
3856
|
+
name: "N-PE (V)",
|
|
3857
|
+
type: "number",
|
|
3858
|
+
groupId: "2. Post-Service AC Grid Voltage Check",
|
|
3859
|
+
tabId: "C. Post-Service",
|
|
3860
|
+
optional: true,
|
|
3861
|
+
hideWhen: [
|
|
3862
|
+
{
|
|
3863
|
+
type: "!=",
|
|
3864
|
+
queryId: "postServiceAcGridVoltagePhaseType",
|
|
3865
|
+
value: "Three Phase",
|
|
3866
|
+
},
|
|
3867
|
+
],
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
id: "postServicePanelsAfterCleaning",
|
|
3871
|
+
name: "Panels After Cleaning",
|
|
3872
|
+
type: "boolean",
|
|
3873
|
+
enableCheckbox: true,
|
|
3874
|
+
defaultValue: false,
|
|
3875
|
+
groupId: "3. Post-Service Checklist",
|
|
3876
|
+
tabId: "C. Post-Service",
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
id: "postServiceIrradianceAndTemperature",
|
|
3880
|
+
name: "Irradiance & Temperature",
|
|
3881
|
+
type: "boolean",
|
|
3882
|
+
enableCheckbox: true,
|
|
3883
|
+
defaultValue: false,
|
|
3884
|
+
groupId: "3. Post-Service Checklist",
|
|
3885
|
+
tabId: "C. Post-Service",
|
|
3886
|
+
},
|
|
3583
3887
|
]; };
|
|
3584
3888
|
exports.renderVerdantPostServiceSchema = renderVerdantPostServiceSchema;
|
|
3585
3889
|
var renderVerdantTechnicalChecklistSchema = function () {
|
|
@@ -3588,8 +3892,52 @@ var renderVerdantTechnicalChecklistSchema = function () {
|
|
|
3588
3892
|
var d = "3. DB Checks";
|
|
3589
3893
|
var m = "4. Monitoring Checks";
|
|
3590
3894
|
var t = "D. 40 Points";
|
|
3591
|
-
return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], createVerdantChecklistItem("panelChecksPanelSurface", "Panel Surface", p, t), true), createVerdantChecklistItem("panelChecksPanelAlignment", "Panel Alignment", p, t), true), createVerdantChecklistItem("panelChecksMountingStructure", "Mounting Structure", p, t), true), createVerdantChecklistItem("inverterChecksInverterPositioning", "Inverter Positioning", i, t), true), createVerdantChecklistItem("inverterChecksInverterLCDScreen", "Inverter LCD Screen", i, t), true), createVerdantChecklistItem("inverterChecksWifiConnection", "WiFi Connection", i, t), true), createVerdantChecklistItem("dbChecksWiringConditionAndConnection", "Wiring Condition", d, t), true), createVerdantChecklistItem("dbChecksMcbAndSPDCondition", "MCB and SPD Condition", d, t), true), createVerdantChecklistItem("monitoringChecksOnlineStatus", "Online Status", m, t), true), createVerdantChecklistItem("monitoringChecksAlarm", "Alarm", m, t), true);
|
|
3895
|
+
return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], createVerdantChecklistItem("panelChecksPanelSurface", "Panel Surface", p, t), true), createVerdantChecklistItem("panelChecksPanelAlignment", "Panel Alignment", p, t), true), createVerdantChecklistItem("panelChecksMountingStructure", "Mounting Structure", p, t), true), createVerdantChecklistItem("panelChecksMidAndEndClamps", "Mid and End Clamps", p, t), true), createVerdantChecklistItem("panelChecksEarthing", "Earthing", p, t), true), createVerdantChecklistItem("panelChecksConduit", "Conduit", p, t), true), createVerdantChecklistItem("panelChecksConcreteBallast", "Concrete Ballast", p, t), true), createVerdantChecklistItem("panelChecksStringNumber", "String Number", p, t), true), createVerdantChecklistItem("panelChecksMc4", "MC4", p, t), true), createVerdantChecklistItem("panelChecksDcCableCondition", "DC Cable Condition", p, t), true), createVerdantChecklistItem("panelChecksIrradiance", "Irradiance", p, t), true), createVerdantChecklistItem("panelChecksPanelTemperature", "Panel Temperature", p, t), true), createVerdantChecklistItem("panelChecksOpenCircuitVoltage", "Open Circuit Voltage", p, t), true), createVerdantChecklistItem("panelChecksShortCircuitCurrent", "Short Circuit Current", p, t), true), createVerdantChecklistItem("inverterChecksInverterPositioning", "Inverter Positioning", i, t), true), createVerdantChecklistItem("inverterChecksInverterLCDScreen", "Inverter LCD Screen", i, t), true), createVerdantChecklistItem("inverterChecksHeatVentilation", "Heat Ventilation", i, t), true), createVerdantChecklistItem("inverterChecksFanVentilation", "Fan Ventilation", i, t), true), createVerdantChecklistItem("inverterChecksInverterTemperature", "Inverter Temperature", i, t), true), createVerdantChecklistItem("inverterChecksStringNumber", "String Number", i, t), true), createVerdantChecklistItem("inverterChecksMc4", "MC4", i, t), true), createVerdantChecklistItem("inverterChecksAcOutputSocket", "AC Output Socket", i, t), true), createVerdantChecklistItem("inverterChecksWifiConnection", "WiFi Connection", i, t), true), createVerdantChecklistItem("inverterChecksDcVoltageReadings", "DC Voltage Readings", i, t), true), createVerdantChecklistItem("inverterChecksGridVoltageReadings", "Grid Voltage Readings", i, t), true), createVerdantChecklistItem("inverterChecksFrequencyReadings", "Frequency Readings", i, t), true), createVerdantChecklistItem("inverterChecksExportPower", "Export Power", i, t), true), createVerdantChecklistItem("inverterChecksNoise", "Noise", i, t), true), createVerdantChecklistItem("dbChecksWiringConditionAndConnection", "Wiring Condition and Connection", d, t), true), createVerdantChecklistItem("dbChecksMcbAndSPDCondition", "MCB and SPD Condition", d, t), true), createVerdantChecklistItem("dbChecksMcbVoltage", "MCB Voltage", d, t), true), createVerdantChecklistItem("dbChecksSpdEarthing", "SPD Earthing", d, t), true), createVerdantChecklistItem("dbChecksAcCableTray", "AC Cable Tray", d, t), true), createVerdantChecklistItem("dbChecksMainSwitch", "Main Switch", d, t), true), createVerdantChecklistItem("dbChecksIncomingGridVoltage", "Incoming Grid Voltage", d, t), true), createVerdantChecklistItem("dbChecksEarthingCable", "Earthing Cable", d, t), true), createVerdantChecklistItem("monitoringChecksOnlineStatus", "Online Status", m, t), true), createVerdantChecklistItem("monitoringChecksAlarm", "Alarm", m, t), true), createVerdantChecklistItem("monitoringChecksSoftwareUpdate", "Software Update", m, t), true), createVerdantChecklistItem("monitoringChecksDeviceFirmwareUpdate", "Device Firmware Update", m, t), true);
|
|
3592
3896
|
};
|
|
3593
3897
|
exports.renderVerdantTechnicalChecklistSchema = renderVerdantTechnicalChecklistSchema;
|
|
3594
|
-
|
|
3898
|
+
var renderVerdantSubmissionSchema = function () { return [
|
|
3899
|
+
{
|
|
3900
|
+
id: "generalImages",
|
|
3901
|
+
name: "Additional Images & Videos",
|
|
3902
|
+
type: "multipleImage",
|
|
3903
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3904
|
+
fileExtension: "image/*,video/*,.dng",
|
|
3905
|
+
groupId: "1. Additional Documentation",
|
|
3906
|
+
tabId: "E. Submission",
|
|
3907
|
+
optional: true,
|
|
3908
|
+
compressfileQuality: 1,
|
|
3909
|
+
maxFileSize: 1.5,
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
id: "reviewedAndReadyForSubmission",
|
|
3913
|
+
name: "Reviewed and Ready for Submission",
|
|
3914
|
+
type: "boolean",
|
|
3915
|
+
enableCheckbox: true,
|
|
3916
|
+
defaultValue: false,
|
|
3917
|
+
groupId: "2. Submission",
|
|
3918
|
+
tabId: "E. Submission",
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
id: "clientSignature",
|
|
3922
|
+
name: "Client Signature",
|
|
3923
|
+
type: "signature",
|
|
3924
|
+
groupId: "3. Signatures",
|
|
3925
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3926
|
+
imageFileName: "signature.png",
|
|
3927
|
+
tabId: "E. Submission",
|
|
3928
|
+
optional: true,
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
id: "contractorSignature",
|
|
3932
|
+
name: "Contractor Signature",
|
|
3933
|
+
type: "signature",
|
|
3934
|
+
groupId: "3. Signatures",
|
|
3935
|
+
imageCollectionName: "verdant-om-maintenance-checklist",
|
|
3936
|
+
imageFileName: "contractorSignature.png",
|
|
3937
|
+
tabId: "E. Submission",
|
|
3938
|
+
optional: true,
|
|
3939
|
+
},
|
|
3940
|
+
]; };
|
|
3941
|
+
exports.renderVerdantSubmissionSchema = renderVerdantSubmissionSchema;
|
|
3942
|
+
exports.VerdantOMChecklistSchema = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], (0, exports.renderVerdantBasicInfoSchema)(), true), (0, exports.renderVerdantPreServiceSchema)(), true), (0, exports.renderVerdantPostServiceSchema)(), true), (0, exports.renderVerdantTechnicalChecklistSchema)(), true), (0, exports.renderVerdantSubmissionSchema)(), true);
|
|
3595
3943
|
//# sourceMappingURL=testSchema.js.map
|