pict-section-form 1.0.121 → 1.0.122

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.
@@ -507,7 +507,7 @@
507
507
  "Pict-Input-AutofillTriggerGroup"
508
508
  ],
509
509
  "AutofillTriggerGroup": {
510
- "TriggerGroup": "Box",
510
+ "TriggerGroupHash": "Box",
511
511
  "MarshalEmptyValues": false,
512
512
  "SelectOptionsRefresh": true
513
513
  },
@@ -756,7 +756,7 @@
756
756
  "Pict-Input-AutofillTriggerGroup"
757
757
  ],
758
758
  "AutofillTriggerGroup": {
759
- "TriggerGroup": "Box",
759
+ "TriggerGroupHash": "Box",
760
760
  "MarshalEmptyValues": false,
761
761
  "TriggerAllInputs": true
762
762
  },
@@ -829,7 +829,7 @@
829
829
  "Pict-Input-AutofillTriggerGroup"
830
830
  ],
831
831
  "AutofillTriggerGroup": {
832
- "TriggerGroup": "Box",
832
+ "TriggerGroupHash": "Box",
833
833
  "MarshalEmptyValues": false,
834
834
  "TriggerAllInputs": true
835
835
  },
@@ -524,7 +524,7 @@
524
524
  ],
525
525
  "AutofillTriggerGroup": [
526
526
  {
527
- "TriggerGroup": "AutoTriggerGroup-FruitSelection-Colors.csv",
527
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Colors.csv",
528
528
  "TriggerAllInputs": true,
529
529
  "SelectOptionsRefresh": true
530
530
  }
@@ -556,7 +556,7 @@
556
556
  "Pict-Input-AutofillTriggerGroup"
557
557
  ],
558
558
  "AutofillTriggerGroup": {
559
- "TriggerGroup": "Box",
559
+ "TriggerGroupHash": "Box",
560
560
  "MarshalEmptyValues": false,
561
561
  "SelectOptionsRefresh": true
562
562
  },
@@ -607,12 +607,12 @@
607
607
  ],
608
608
  "AutofillTriggerGroup": [
609
609
  {
610
- "TriggerGroup": "AutoTriggerGroup-FruitSelection-Colors.csv",
610
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Colors.csv",
611
611
  "TriggerAllInputs": true,
612
612
  "SelectOptionsRefresh": true
613
613
  },
614
614
  {
615
- "TriggerGroup": "AutoTriggerGroup-FruitSelection-Stones.csv",
615
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Stones.csv",
616
616
  "TriggerAllInputs": true,
617
617
  "SelectOptionsRefresh": true
618
618
  }
@@ -671,7 +671,7 @@
671
671
  ],
672
672
  "AutofillTriggerGroup": [
673
673
  {
674
- "TriggerGroup": "AutoTriggerGroup-FruitSelection-Stones.csv",
674
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Stones.csv",
675
675
  "TriggerAllInputs": true,
676
676
  "SelectOptionsRefresh": true
677
677
  }
@@ -1475,7 +1475,7 @@
1475
1475
  "Pict-Input-AutofillTriggerGroup"
1476
1476
  ],
1477
1477
  "AutofillTriggerGroup": {
1478
- "TriggerGroup": "Box",
1478
+ "TriggerGroupHash": "Box",
1479
1479
  "MarshalEmptyValues": false,
1480
1480
  "TriggerAllInputs": true
1481
1481
  },
@@ -1548,7 +1548,7 @@
1548
1548
  "Pict-Input-AutofillTriggerGroup"
1549
1549
  ],
1550
1550
  "AutofillTriggerGroup": {
1551
- "TriggerGroup": "Box",
1551
+ "TriggerGroupHash": "Box",
1552
1552
  "MarshalEmptyValues": false,
1553
1553
  "TriggerAllInputs": true
1554
1554
  },
@@ -518,6 +518,28 @@
518
518
  "id": "Other",
519
519
  "text": "Other"
520
520
  }
521
+ ],
522
+ "Providers": [
523
+ "Pict-Input-AutofillTriggerGroup"
524
+ ],
525
+ "AutofillTriggerGroup": [
526
+ {
527
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Colors.csv",
528
+ "TriggerAllInputs": true,
529
+ "SelectOptionsRefresh": true
530
+ }
531
+ ],
532
+ "ListFilterRules": [
533
+ {
534
+ "Filter": "AutoTriggerGroup-FruitSelection-Colors.csv List Distilling Filter",
535
+ "FilterType": "CrossMap",
536
+ "JoinListAddressGlobal": true,
537
+ "IgnoreEmpty": true,
538
+ "JoinListValueAddress": "GUIDColors",
539
+ "ExternalValueAddress": "GUIDFruitSelection",
540
+ "JoinListAddress": "View.sectionDefinition.Intersections.Colors.FruitSelectionColorsJoin",
541
+ "FilterToValueAddress": "FruitSelection"
542
+ }
521
543
  ]
522
544
  }
523
545
  },
@@ -534,7 +556,7 @@
534
556
  "Pict-Input-AutofillTriggerGroup"
535
557
  ],
536
558
  "AutofillTriggerGroup": {
537
- "TriggerGroup": "Box",
559
+ "TriggerGroupHash": "Box",
538
560
  "MarshalEmptyValues": false,
539
561
  "SelectOptionsRefresh": true
540
562
  },
@@ -579,6 +601,43 @@
579
601
  "id": "Tomato",
580
602
  "text": "An Heirloom of Rapid Descent"
581
603
  }
604
+ ],
605
+ "Providers": [
606
+ "Pict-Input-AutofillTriggerGroup"
607
+ ],
608
+ "AutofillTriggerGroup": [
609
+ {
610
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Colors.csv",
611
+ "TriggerAllInputs": true,
612
+ "SelectOptionsRefresh": true
613
+ },
614
+ {
615
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Stones.csv",
616
+ "TriggerAllInputs": true,
617
+ "SelectOptionsRefresh": true
618
+ }
619
+ ],
620
+ "ListFilterRules": [
621
+ {
622
+ "Filter": "AutoTriggerGroup-FruitSelection-Colors.csv List Distilling Filter",
623
+ "FilterType": "CrossMap",
624
+ "JoinListAddressGlobal": true,
625
+ "IgnoreEmpty": true,
626
+ "JoinListValueAddress": "GUIDFruitSelection",
627
+ "ExternalValueAddress": "GUIDColors",
628
+ "JoinListAddress": "View.sectionDefinition.Intersections.FruitSelection.FruitSelectionColorsJoin",
629
+ "FilterToValueAddress": "Colors"
630
+ },
631
+ {
632
+ "Filter": "AutoTriggerGroup-FruitSelection-Stones.csv List Distilling Filter",
633
+ "FilterType": "CrossMap",
634
+ "JoinListAddressGlobal": true,
635
+ "IgnoreEmpty": true,
636
+ "JoinListValueAddress": "GUIDFruitSelection",
637
+ "ExternalValueAddress": "GUIDStones",
638
+ "JoinListAddress": "View.sectionDefinition.Intersections.FruitSelection.FruitSelectionStonesJoin",
639
+ "FilterToValueAddress": "Stones"
640
+ }
582
641
  ]
583
642
  }
584
643
  },
@@ -606,6 +665,28 @@
606
665
  "id": "None",
607
666
  "text": "No Seeds to Speak Of"
608
667
  }
668
+ ],
669
+ "Providers": [
670
+ "Pict-Input-AutofillTriggerGroup"
671
+ ],
672
+ "AutofillTriggerGroup": [
673
+ {
674
+ "TriggerGroupHash": "AutoTriggerGroup-FruitSelection-Stones.csv",
675
+ "TriggerAllInputs": true,
676
+ "SelectOptionsRefresh": true
677
+ }
678
+ ],
679
+ "ListFilterRules": [
680
+ {
681
+ "Filter": "AutoTriggerGroup-FruitSelection-Stones.csv List Distilling Filter",
682
+ "FilterType": "CrossMap",
683
+ "JoinListAddressGlobal": true,
684
+ "IgnoreEmpty": true,
685
+ "JoinListValueAddress": "GUIDStones",
686
+ "ExternalValueAddress": "GUIDFruitSelection",
687
+ "JoinListAddress": "View.sectionDefinition.Intersections.Stones.FruitSelectionStonesJoin",
688
+ "FilterToValueAddress": "FruitSelection"
689
+ }
609
690
  ]
610
691
  }
611
692
  }
@@ -1109,7 +1190,273 @@
1109
1190
  "Sorted": false,
1110
1191
  "UpdateFrequency": "Always"
1111
1192
  }
1112
- ]
1193
+ ],
1194
+ "Intersections": {
1195
+ "FruitSelection": {
1196
+ "FruitSelectionColorsJoin": {
1197
+ "L-Apple-T-Red": {
1198
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Red",
1199
+ "GUIDFruitSelection": "Apple",
1200
+ "GUIDColors": "Red"
1201
+ },
1202
+ "L-Apple-T-Green": {
1203
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Green",
1204
+ "GUIDFruitSelection": "Apple",
1205
+ "GUIDColors": "Green"
1206
+ },
1207
+ "L-Apple-T-Yellow": {
1208
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Yellow",
1209
+ "GUIDFruitSelection": "Apple",
1210
+ "GUIDColors": "Yellow"
1211
+ },
1212
+ "L-Apple-T-Other": {
1213
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Other",
1214
+ "GUIDFruitSelection": "Apple",
1215
+ "GUIDColors": "Other"
1216
+ },
1217
+ "L-Kiwi-T-Green": {
1218
+ "GUIDFruitSelectionColorsJoin": "L-Kiwi-T-Green",
1219
+ "GUIDFruitSelection": "Kiwi",
1220
+ "GUIDColors": "Green"
1221
+ },
1222
+ "L-Tangerine-T-Orange": {
1223
+ "GUIDFruitSelectionColorsJoin": "L-Tangerine-T-Orange",
1224
+ "GUIDFruitSelection": "Tangerine",
1225
+ "GUIDColors": "Orange"
1226
+ },
1227
+ "L-Tangerine-T-Yellow": {
1228
+ "GUIDFruitSelectionColorsJoin": "L-Tangerine-T-Yellow",
1229
+ "GUIDFruitSelection": "Tangerine",
1230
+ "GUIDColors": "Yellow"
1231
+ },
1232
+ "L-Orange-T-Orange": {
1233
+ "GUIDFruitSelectionColorsJoin": "L-Orange-T-Orange",
1234
+ "GUIDFruitSelection": "Orange",
1235
+ "GUIDColors": "Orange"
1236
+ },
1237
+ "L-Watermelon-T-Green": {
1238
+ "GUIDFruitSelectionColorsJoin": "L-Watermelon-T-Green",
1239
+ "GUIDFruitSelection": "Watermelon",
1240
+ "GUIDColors": "Green"
1241
+ },
1242
+ "L-Watermelon-T-Blue": {
1243
+ "GUIDFruitSelectionColorsJoin": "L-Watermelon-T-Blue",
1244
+ "GUIDFruitSelection": "Watermelon",
1245
+ "GUIDColors": "Blue"
1246
+ },
1247
+ "L-Tomato-T-Red": {
1248
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Red",
1249
+ "GUIDFruitSelection": "Tomato",
1250
+ "GUIDColors": "Red"
1251
+ },
1252
+ "L-Tomato-T-Green": {
1253
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Green",
1254
+ "GUIDFruitSelection": "Tomato",
1255
+ "GUIDColors": "Green"
1256
+ },
1257
+ "L-Tomato-T-Blue": {
1258
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Blue",
1259
+ "GUIDFruitSelection": "Tomato",
1260
+ "GUIDColors": "Blue"
1261
+ },
1262
+ "L-Tomato-T-Orange": {
1263
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Orange",
1264
+ "GUIDFruitSelection": "Tomato",
1265
+ "GUIDColors": "Orange"
1266
+ },
1267
+ "L-Tomato-T-Yellow": {
1268
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Yellow",
1269
+ "GUIDFruitSelection": "Tomato",
1270
+ "GUIDColors": "Yellow"
1271
+ },
1272
+ "L-Tomato-T-Other": {
1273
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Other",
1274
+ "GUIDFruitSelection": "Tomato",
1275
+ "GUIDColors": "Other"
1276
+ }
1277
+ },
1278
+ "FruitSelectionStonesJoin": {
1279
+ "L-Apple-T-None": {
1280
+ "GUIDFruitSelectionStonesJoin": "L-Apple-T-None",
1281
+ "GUIDFruitSelection": "Apple",
1282
+ "GUIDStones": "None"
1283
+ },
1284
+ "L-Kiwi-T-None": {
1285
+ "GUIDFruitSelectionStonesJoin": "L-Kiwi-T-None",
1286
+ "GUIDFruitSelection": "Kiwi",
1287
+ "GUIDStones": "None"
1288
+ },
1289
+ "L-Tangerine-T-Small": {
1290
+ "GUIDFruitSelectionStonesJoin": "L-Tangerine-T-Small",
1291
+ "GUIDFruitSelection": "Tangerine",
1292
+ "GUIDStones": "Small"
1293
+ },
1294
+ "L-Tangerine-T-None": {
1295
+ "GUIDFruitSelectionStonesJoin": "L-Tangerine-T-None",
1296
+ "GUIDFruitSelection": "Tangerine",
1297
+ "GUIDStones": "None"
1298
+ },
1299
+ "L-Orange-T-Small": {
1300
+ "GUIDFruitSelectionStonesJoin": "L-Orange-T-Small",
1301
+ "GUIDFruitSelection": "Orange",
1302
+ "GUIDStones": "Small"
1303
+ },
1304
+ "L-Orange-T-None": {
1305
+ "GUIDFruitSelectionStonesJoin": "L-Orange-T-None",
1306
+ "GUIDFruitSelection": "Orange",
1307
+ "GUIDStones": "None"
1308
+ },
1309
+ "L-Watermelon-T-None": {
1310
+ "GUIDFruitSelectionStonesJoin": "L-Watermelon-T-None",
1311
+ "GUIDFruitSelection": "Watermelon",
1312
+ "GUIDStones": "None"
1313
+ },
1314
+ "L-Tomato-T-None": {
1315
+ "GUIDFruitSelectionStonesJoin": "L-Tomato-T-None",
1316
+ "GUIDFruitSelection": "Tomato",
1317
+ "GUIDStones": "None"
1318
+ },
1319
+ "L-Peach-T-Large": {
1320
+ "GUIDFruitSelectionStonesJoin": "L-Peach-T-Large",
1321
+ "GUIDFruitSelection": "Peach",
1322
+ "GUIDStones": "Large"
1323
+ }
1324
+ }
1325
+ },
1326
+ "Colors": {
1327
+ "FruitSelectionColorsJoin": {
1328
+ "L-Apple-T-Red": {
1329
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Red",
1330
+ "GUIDFruitSelection": "Apple",
1331
+ "GUIDColors": "Red"
1332
+ },
1333
+ "L-Apple-T-Green": {
1334
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Green",
1335
+ "GUIDFruitSelection": "Apple",
1336
+ "GUIDColors": "Green"
1337
+ },
1338
+ "L-Apple-T-Yellow": {
1339
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Yellow",
1340
+ "GUIDFruitSelection": "Apple",
1341
+ "GUIDColors": "Yellow"
1342
+ },
1343
+ "L-Apple-T-Other": {
1344
+ "GUIDFruitSelectionColorsJoin": "L-Apple-T-Other",
1345
+ "GUIDFruitSelection": "Apple",
1346
+ "GUIDColors": "Other"
1347
+ },
1348
+ "L-Kiwi-T-Green": {
1349
+ "GUIDFruitSelectionColorsJoin": "L-Kiwi-T-Green",
1350
+ "GUIDFruitSelection": "Kiwi",
1351
+ "GUIDColors": "Green"
1352
+ },
1353
+ "L-Tangerine-T-Orange": {
1354
+ "GUIDFruitSelectionColorsJoin": "L-Tangerine-T-Orange",
1355
+ "GUIDFruitSelection": "Tangerine",
1356
+ "GUIDColors": "Orange"
1357
+ },
1358
+ "L-Tangerine-T-Yellow": {
1359
+ "GUIDFruitSelectionColorsJoin": "L-Tangerine-T-Yellow",
1360
+ "GUIDFruitSelection": "Tangerine",
1361
+ "GUIDColors": "Yellow"
1362
+ },
1363
+ "L-Orange-T-Orange": {
1364
+ "GUIDFruitSelectionColorsJoin": "L-Orange-T-Orange",
1365
+ "GUIDFruitSelection": "Orange",
1366
+ "GUIDColors": "Orange"
1367
+ },
1368
+ "L-Watermelon-T-Green": {
1369
+ "GUIDFruitSelectionColorsJoin": "L-Watermelon-T-Green",
1370
+ "GUIDFruitSelection": "Watermelon",
1371
+ "GUIDColors": "Green"
1372
+ },
1373
+ "L-Watermelon-T-Blue": {
1374
+ "GUIDFruitSelectionColorsJoin": "L-Watermelon-T-Blue",
1375
+ "GUIDFruitSelection": "Watermelon",
1376
+ "GUIDColors": "Blue"
1377
+ },
1378
+ "L-Tomato-T-Red": {
1379
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Red",
1380
+ "GUIDFruitSelection": "Tomato",
1381
+ "GUIDColors": "Red"
1382
+ },
1383
+ "L-Tomato-T-Green": {
1384
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Green",
1385
+ "GUIDFruitSelection": "Tomato",
1386
+ "GUIDColors": "Green"
1387
+ },
1388
+ "L-Tomato-T-Blue": {
1389
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Blue",
1390
+ "GUIDFruitSelection": "Tomato",
1391
+ "GUIDColors": "Blue"
1392
+ },
1393
+ "L-Tomato-T-Orange": {
1394
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Orange",
1395
+ "GUIDFruitSelection": "Tomato",
1396
+ "GUIDColors": "Orange"
1397
+ },
1398
+ "L-Tomato-T-Yellow": {
1399
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Yellow",
1400
+ "GUIDFruitSelection": "Tomato",
1401
+ "GUIDColors": "Yellow"
1402
+ },
1403
+ "L-Tomato-T-Other": {
1404
+ "GUIDFruitSelectionColorsJoin": "L-Tomato-T-Other",
1405
+ "GUIDFruitSelection": "Tomato",
1406
+ "GUIDColors": "Other"
1407
+ }
1408
+ }
1409
+ },
1410
+ "Stones": {
1411
+ "FruitSelectionStonesJoin": {
1412
+ "L-Apple-T-None": {
1413
+ "GUIDFruitSelectionStonesJoin": "L-Apple-T-None",
1414
+ "GUIDFruitSelection": "Apple",
1415
+ "GUIDStones": "None"
1416
+ },
1417
+ "L-Kiwi-T-None": {
1418
+ "GUIDFruitSelectionStonesJoin": "L-Kiwi-T-None",
1419
+ "GUIDFruitSelection": "Kiwi",
1420
+ "GUIDStones": "None"
1421
+ },
1422
+ "L-Tangerine-T-Small": {
1423
+ "GUIDFruitSelectionStonesJoin": "L-Tangerine-T-Small",
1424
+ "GUIDFruitSelection": "Tangerine",
1425
+ "GUIDStones": "Small"
1426
+ },
1427
+ "L-Tangerine-T-None": {
1428
+ "GUIDFruitSelectionStonesJoin": "L-Tangerine-T-None",
1429
+ "GUIDFruitSelection": "Tangerine",
1430
+ "GUIDStones": "None"
1431
+ },
1432
+ "L-Orange-T-Small": {
1433
+ "GUIDFruitSelectionStonesJoin": "L-Orange-T-Small",
1434
+ "GUIDFruitSelection": "Orange",
1435
+ "GUIDStones": "Small"
1436
+ },
1437
+ "L-Orange-T-None": {
1438
+ "GUIDFruitSelectionStonesJoin": "L-Orange-T-None",
1439
+ "GUIDFruitSelection": "Orange",
1440
+ "GUIDStones": "None"
1441
+ },
1442
+ "L-Watermelon-T-None": {
1443
+ "GUIDFruitSelectionStonesJoin": "L-Watermelon-T-None",
1444
+ "GUIDFruitSelection": "Watermelon",
1445
+ "GUIDStones": "None"
1446
+ },
1447
+ "L-Tomato-T-None": {
1448
+ "GUIDFruitSelectionStonesJoin": "L-Tomato-T-None",
1449
+ "GUIDFruitSelection": "Tomato",
1450
+ "GUIDStones": "None"
1451
+ },
1452
+ "L-Peach-T-Large": {
1453
+ "GUIDFruitSelectionStonesJoin": "L-Peach-T-Large",
1454
+ "GUIDFruitSelection": "Peach",
1455
+ "GUIDStones": "Large"
1456
+ }
1457
+ }
1458
+ }
1459
+ }
1113
1460
  }
1114
1461
  ],
1115
1462
  "ReferenceManifests": {
@@ -1128,7 +1475,7 @@
1128
1475
  "Pict-Input-AutofillTriggerGroup"
1129
1476
  ],
1130
1477
  "AutofillTriggerGroup": {
1131
- "TriggerGroup": "Box",
1478
+ "TriggerGroupHash": "Box",
1132
1479
  "MarshalEmptyValues": false,
1133
1480
  "TriggerAllInputs": true
1134
1481
  },
@@ -1201,7 +1548,7 @@
1201
1548
  "Pict-Input-AutofillTriggerGroup"
1202
1549
  ],
1203
1550
  "AutofillTriggerGroup": {
1204
- "TriggerGroup": "Box",
1551
+ "TriggerGroupHash": "Box",
1205
1552
  "MarshalEmptyValues": false,
1206
1553
  "TriggerAllInputs": true
1207
1554
  },
@@ -289,7 +289,7 @@ module.exports.default_configuration.pict_configuration = {
289
289
  Providers: ["Pict-Input-AutofillTriggerGroup"],
290
290
  AutofillTriggerGroup:
291
291
  {
292
- TriggerGroupName: "BookTriggerGroup",
292
+ TriggerGroupHash: "BookTriggerGroup",
293
293
  TriggerAddress: "AppData.CurrentAuthor.Name",
294
294
  MarshalEmptyValues: true
295
295
  }
@@ -316,7 +316,7 @@ module.exports.default_configuration.pict_configuration = {
316
316
  Providers: ["Pict-Input-Select", "Pict-Input-AutofillTriggerGroup"],
317
317
  AutofillTriggerGroup:
318
318
  {
319
- TriggerGroupName: "BookTriggerGroup",
319
+ TriggerGroupHash: "BookTriggerGroup",
320
320
  SelectOptionsRefresh: true
321
321
  }
322
322
  }
@@ -697,7 +697,7 @@ module.exports.default_configuration.pict_configuration = {
697
697
  Providers: ["Pict-Input-AutofillTriggerGroup"],
698
698
  AutofillTriggerGroup:
699
699
  {
700
- TriggerGroupName: "BookTriggerGroup",
700
+ TriggerGroupHash: "BookTriggerGroup",
701
701
  TriggerAddress: "AppData.CurrentAuthor.Name",
702
702
  MarshalEmptyValues: true
703
703
  }
@@ -122,7 +122,7 @@ module.exports.default_configuration.pict_configuration = (
122
122
  Providers: ["Pict-Input-AutofillTriggerGroup"],
123
123
  AutofillTriggerGroup:
124
124
  {
125
- TriggerGroupName: "BookTriggerGroup",
125
+ TriggerGroupHash: "BookTriggerGroup",
126
126
  TriggerAddress: "AppData.CurrentAuthor.Name",
127
127
  MarshalEmptyValues: true
128
128
  }
@@ -149,7 +149,7 @@ module.exports.default_configuration.pict_configuration = (
149
149
  Providers: ["Pict-Input-Select", "Pict-Input-AutofillTriggerGroup"],
150
150
  AutofillTriggerGroup:
151
151
  {
152
- TriggerGroupName: "BookTriggerGroup",
152
+ TriggerGroupHash: "BookTriggerGroup",
153
153
  SelectOptionsRefresh: true
154
154
  }
155
155
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "GulpExecutions": [
3
+ {
4
+ "Hash": "default",
5
+ "Name": "Default standard build.",
6
+ "BuildFileLabel": "",
7
+ "BrowsersListRC": "since 2022"
8
+ }]
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.121",
3
+ "version": "1.0.122",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -149,7 +149,7 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
149
149
 
150
150
  setGroupVisibility(pSectionHash, pGroupHash, pVisible)
151
151
  {
152
- if (pVisible)
152
+ if (pVisible != "0")
153
153
  {
154
154
  return this.showGroup(pSectionHash, pGroupHash);
155
155
  }
@@ -284,7 +284,7 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
284
284
  return true;
285
285
  }
286
286
 
287
- let tmpInputView = this.pict.views.PictFormMetacontroller.getInputViewFromHash(pSectionHash)
287
+ let tmpInputView = this.pict.views.PictFormMetacontroller.getSectionViewFromHash(pSectionHash)
288
288
 
289
289
  if (!tmpInputView)
290
290
  {
@@ -300,14 +300,19 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
300
300
  return false;
301
301
  }
302
302
 
303
- let tmpElementSet = this.pict.ContentAssignment.getElement(`#INPUT-${tmpInput.formID}`);
303
+ let tmpElementSet = this.pict.ContentAssignment.getElement(`#${tmpInput.Macro.RawHTMLID}`);
304
304
 
305
305
  if (tmpElementSet.length < 1)
306
306
  {
307
- this.log.warn(`PictDynamicFormsInformary: colorInput could not find input element with section hash [${pSectionHash}] input [${pInputHash}] selector [#INPUT-${tmpInput.formID}].`);
307
+ this.log.warn(`PictDynamicFormsInformary: colorInput could not find input element with section hash [${pSectionHash}] input [${pInputHash}] selector [${ tmpElementSet[0].id}].`);
308
308
  return false;
309
309
  }
310
310
 
311
+ // if there's a parent element, use that instead and we can color the whole input container area
312
+ if (tmpElementSet[0].parentElement)
313
+ {
314
+ tmpElementSet = [ tmpElementSet[0].parentElement ];
315
+ }
311
316
  let tmpElement = tmpElementSet[0];
312
317
  tmpElement.style.backgroundColor = pColor;
313
318
 
@@ -15,7 +15,7 @@ const libPictSectionInputExtension = require('../Pict-Provider-InputExtension.js
15
15
  Providers: ["Pict-Input-AutofillTriggerGroup"],
16
16
  AutofillTriggerGroup:
17
17
  {
18
- TriggerGroupName: "Author",
18
+ TriggerGroupHash: "Author",
19
19
  TriggerAddress: "AppData.CurrentAuthor.Name",
20
20
  MarshalEmptyValues: true
21
21
  }
@@ -56,9 +56,9 @@ class CustomInputHandler extends libPictSectionInputExtension
56
56
  autoFillFromAddressList(pView, pInput, pTriggerGroupInfo, pHTMLSelector)
57
57
  {
58
58
  // First sanity check the triggergroupinfo
59
- if (!('TriggerGroupName' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerGroupName) != 'string'))
59
+ if (!('TriggerGroupHash' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerGroupHash) != 'string'))
60
60
  {
61
- this.log.warn(`AutofillTriggerGroup failed to autofill because a TriggerGroupName string is not present.`);
61
+ this.log.warn(`AutofillTriggerGroup failed to autofill because a TriggerGroupHash string is not present.`);
62
62
  return false;
63
63
  }
64
64
  if (!('TriggerAddress' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerAddress) != 'string'))
@@ -82,9 +82,9 @@ class CustomInputHandler extends libPictSectionInputExtension
82
82
  autoFillFromAddressListTabular(pView, pInput, pTriggerGroupInfo, pHTMLSelector, pRowIndex)
83
83
  {
84
84
  // First sanity check the triggergroupinfo
85
- if (!('TriggerGroupName' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerGroupName) != 'string'))
85
+ if (!('TriggerGroupHash' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerGroupHash) != 'string'))
86
86
  {
87
- this.log.warn(`AutofillTriggerGroup failed to autofill because a TriggerGroupName string is not present.`);
87
+ this.log.warn(`AutofillTriggerGroup failed to autofill because a TriggerGroupHash string is not present.`);
88
88
  return false;
89
89
  }
90
90
  if (!('TriggerAddress' in pTriggerGroupInfo) || (typeof(pTriggerGroupInfo.TriggerAddress) != 'string'))
@@ -122,9 +122,10 @@ class CustomInputHandler extends libPictSectionInputExtension
122
122
  {
123
123
  for (let i = 0; i < tmpTriggerGroupConfigurations.length; i++)
124
124
  {
125
- if (tmpTriggerGroupConfigurations[i].TriggerAllInputs)
125
+ const tmpGroupConfig = tmpTriggerGroupConfigurations[i];
126
+ if (tmpGroupConfig.TriggerAllInputs)
126
127
  {
127
- this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`AFTG-ODC-${this.pict.getUUID()}`);
128
+ this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`TriggerGroup:${tmpGroupConfig.TriggerGroupHash}:DataChange:${pInput.Hash || pInput.DataAddress}:${this.pict.getUUID()}`);
128
129
  }
129
130
  }
130
131
  }
@@ -148,9 +149,10 @@ class CustomInputHandler extends libPictSectionInputExtension
148
149
  {
149
150
  for (let i = 0; i < tmpTriggerGroupConfigurations.length; i++)
150
151
  {
151
- if (tmpTriggerGroupConfigurations[i].TriggerAllInputs)
152
+ const tmpGroupConfig = tmpTriggerGroupConfigurations[i];
153
+ if (tmpGroupConfig.TriggerAllInputs)
152
154
  {
153
- this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`AFTG-ODC-${this.pict.getUUID()}`);
155
+ this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`TriggerGroup:${tmpGroupConfig.TriggerGroupHash}:DataChange:${pInput.Hash || pInput.DataAddress}:${this.pict.getUUID()}`);
154
156
  }
155
157
  }
156
158
  }
@@ -160,11 +162,15 @@ class CustomInputHandler extends libPictSectionInputExtension
160
162
  // This input extension only responds to events
161
163
  onEvent(pView, pInput, pValue, pHTMLSelector, pEvent)
162
164
  {
163
- // Get all inputs that are in this autofill trigger group
164
- let tmpEventGUID = (typeof(pEvent) === 'string') ? pEvent : this.pict.getUUID();
165
+ const tmpPayload = typeof pValue === 'string' ? pEvent : '';
166
+ let [ tmpType, tmpGroupHash, tmpEvent, tmpInputHash, tmpEventGUID ] = tmpPayload.split(':');
167
+ if (!tmpEventGUID)
168
+ {
169
+ tmpEventGUID = this.pict.getUUID();
170
+ }
165
171
 
166
172
  let tmpAutoFillTriggerGroups = pInput.PictForm.AutofillTriggerGroup;
167
- if (!tmpAutoFillTriggerGroups)
173
+ if (!tmpAutoFillTriggerGroups || tmpType !== 'TriggerGroup' || (pInput.Hash || pInput.DataAddress) == tmpInputHash)
168
174
  {
169
175
  return super.onEvent(pView, pInput, pValue, pHTMLSelector, pEvent);
170
176
  }
@@ -175,6 +181,10 @@ class CustomInputHandler extends libPictSectionInputExtension
175
181
  for (let i = 0; i < tmpAutoFillTriggerGroups.length; i++)
176
182
  {
177
183
  let tmpAutoFillTriggerGroup = tmpAutoFillTriggerGroups[i];
184
+ if (tmpAutoFillTriggerGroup.TriggerGroupHash !== tmpGroupHash)
185
+ {
186
+ continue;
187
+ }
178
188
 
179
189
  //FIXME: why is this check here? revisit
180
190
  if ('TriggerAddress' in tmpAutoFillTriggerGroup)
@@ -199,12 +209,17 @@ class CustomInputHandler extends libPictSectionInputExtension
199
209
 
200
210
  onEventTabular(pView, pInput, pValue, pHTMLSelector, pRowIndex, pEvent)
201
211
  {
202
- let tmpEventGUID = (typeof(pEvent) === 'string') ? pEvent : this.pict.getUUID();
212
+ const tmpPayload = typeof pValue === 'string' ? pEvent : '';
213
+ let [ tmpType, tmpGroupHash, tmpEvent, tmpInputHash, tmpEventGUID ] = tmpPayload.split(':');
214
+ if (!tmpEventGUID)
215
+ {
216
+ tmpEventGUID = this.pict.getUUID();
217
+ }
203
218
 
204
- if (!pInput.PictForm.hasOwnProperty('AutofillTriggerGroup'))
219
+ if (!pInput.PictForm.AutofillTriggerGroup || tmpType !== 'TriggerGroup' || (pInput.Hash || pInput.DataAddress) == tmpInputHash)
205
220
  {
206
221
  // Do nothing for now -- this is the triggering element
207
- return;
222
+ return super.onEventTabular(pView, pInput, pValue, pHTMLSelector, pRowIndex, pEvent);
208
223
  }
209
224
  let tmpAutoFillTriggerGroups = pInput.PictForm.AutofillTriggerGroup;
210
225
  if (!Array.isArray(tmpAutoFillTriggerGroups))
@@ -213,6 +228,10 @@ class CustomInputHandler extends libPictSectionInputExtension
213
228
  }
214
229
  for (const tmpAutoFillTriggerGroup of tmpAutoFillTriggerGroups)
215
230
  {
231
+ if (tmpAutoFillTriggerGroup.TriggerGroupHash !== tmpGroupHash)
232
+ {
233
+ continue;
234
+ }
216
235
  //FIXME: why is this flow different from non-tabular? revisit
217
236
  if (!tmpAutoFillTriggerGroup.SelectOptionsRefresh)
218
237
  {
@@ -248,7 +248,7 @@ class CustomInputHandler extends libPictSectionInputExtension
248
248
  if (tmpInput.PictForm.EntityBundleTriggerGroup && this.pict.views.PictFormMetacontroller)
249
249
  {
250
250
  // Trigger the autofill global event
251
- this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`AutoFill-${tmpInput.PictForm.EntityBundleTriggerGroup}`);
251
+ this.pict.views.PictFormMetacontroller.triggerGlobalInputEvent(`TriggerGroup:${tmpInput.PictForm.EntityBundleTriggerGroup}:BundleLoad:${pInput.Hash || pInput.DataAddress}:${this.pict.getUUID()}`);
252
252
  }
253
253
  if (tmpInput.PictForm.EntityBundleTriggerMetacontrollerSolve && this.pict.views.PictFormMetacontroller)
254
254
  {
@@ -446,7 +446,7 @@ class ManifestFactory extends libFableServiceProviderBase
446
446
  tmpDescriptor.PictForm.Providers.push('Pict-Input-AutofillTriggerGroup');
447
447
  tmpDescriptor.PictForm.AutofillTriggerGroup = (
448
448
  {
449
- TriggerGroup: tmpRecord.TriggerGroup,
449
+ TriggerGroupHash: tmpRecord.TriggerGroup,
450
450
  MarshalEmptyValues: tmpRecord.MarshalEmptyValues ? true : false
451
451
  });
452
452
 
@@ -14,7 +14,7 @@ export = CustomInputHandler;
14
14
  Providers: ["Pict-Input-AutofillTriggerGroup"],
15
15
  AutofillTriggerGroup:
16
16
  {
17
- TriggerGroupName: "Author",
17
+ TriggerGroupHash: "Author",
18
18
  TriggerAddress: "AppData.CurrentAuthor.Name",
19
19
  MarshalEmptyValues: true
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-Input-AutofillTriggerGroup.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAKV,oDAYC;IAED,sGAwBC;IAED,6HAwBC;IAGD;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAgBf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAgBf;IAGD,wFAqCC;IAED,+GAuCC;CACD"}
1
+ {"version":3,"file":"Pict-Provider-Input-AutofillTriggerGroup.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAKV,oDAYC;IAED,sGAwBC;IAED,6HAwBC;IAGD;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAiBf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAiBf;IAGD,wFA6CC;IAED,+GAgDC;CACD"}
@@ -202,7 +202,7 @@ class ImportExtraDataCSVCommand extends libPictCommandLineUtility.ServiceCommand
202
202
  let tmpGeneratedTriggerGroup = (
203
203
  {
204
204
  // This is the trigger group name used to bind all the inputs together
205
- TriggerGroup: tmpGeneratedTriggerGroupName,
205
+ TriggerGroupHash: tmpGeneratedTriggerGroupName,
206
206
  // This flags the input to update other inputs when the value changes
207
207
  TriggerAllInputs: true
208
208
  });
@@ -474,4 +474,4 @@ class ImportExtraDataCSVCommand extends libPictCommandLineUtility.ServiceCommand
474
474
  };
475
475
  }
476
476
 
477
- module.exports = ImportExtraDataCSVCommand;
477
+ module.exports = ImportExtraDataCSVCommand;