@itwin/presentation-backend 4.0.0-dev.77 → 4.0.0-dev.80

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.
Files changed (26) hide show
  1. package/lib/cjs/assets/primary-presentation-rules/ElementProperties.PresentationRuleSet.json +14 -14
  2. package/lib/cjs/assets/supplemental-presentation-rules/BisCore.PresentationRuleSet.json +764 -764
  3. package/lib/cjs/assets/supplemental-presentation-rules/Functional.PresentationRuleSet.json +139 -139
  4. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -1
  5. package/lib/cjs/presentation-backend/Constants.js.map +1 -1
  6. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +12 -12
  7. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  8. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  9. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  10. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -1
  11. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  12. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  13. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  14. package/lib/cjs/presentation-backend/RulesetEmbedder.js +3 -3
  15. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  16. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -1
  17. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -1
  18. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +16 -16
  19. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  20. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -1
  21. package/lib/cjs/presentation-backend/UpdatesTracker.js.map +1 -1
  22. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  23. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  24. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -1
  25. package/lib/cjs/presentation-backend.js.map +1 -1
  26. package/package.json +12 -12
@@ -1,764 +1,764 @@
1
- {
2
- "$schema": "../../../common/Ruleset.schema.json",
3
- "id": "BisCore",
4
- "supplementationInfo": {
5
- "supplementationPurpose": "BisCore specific customization rules"
6
- },
7
- "requiredSchemas": [
8
- {
9
- "name": "BisCore"
10
- }
11
- ],
12
- "rules": [
13
- {
14
- "ruleType": "InstanceLabelOverride",
15
- "onlyIfNotHandled": true,
16
- "class": {
17
- "schemaName": "BisCore",
18
- "className": "GeometricElement"
19
- },
20
- "values": [
21
- {
22
- "specType": "Property",
23
- "propertyName": "CodeValue"
24
- },
25
- {
26
- "specType": "Composite",
27
- "separator": " ",
28
- "parts": [
29
- {
30
- "spec": {
31
- "specType": "Property",
32
- "propertyName": "UserLabel"
33
- },
34
- "isRequired": true
35
- },
36
- {
37
- "spec": {
38
- "specType": "Composite",
39
- "separator": "",
40
- "parts": [
41
- {
42
- "spec": {
43
- "specType": "String",
44
- "value": "["
45
- }
46
- },
47
- {
48
- "spec": {
49
- "specType": "BriefcaseId"
50
- }
51
- },
52
- {
53
- "spec": {
54
- "specType": "String",
55
- "value": "-"
56
- }
57
- },
58
- {
59
- "spec": {
60
- "specType": "LocalId"
61
- }
62
- },
63
- {
64
- "spec": {
65
- "specType": "String",
66
- "value": "]"
67
- }
68
- }
69
- ]
70
- }
71
- }
72
- ]
73
- },
74
- {
75
- "specType": "Composite",
76
- "separator": " ",
77
- "parts": [
78
- {
79
- "spec": {
80
- "specType": "ClassLabel"
81
- },
82
- "isRequired": true
83
- },
84
- {
85
- "spec": {
86
- "specType": "Composite",
87
- "separator": "",
88
- "parts": [
89
- {
90
- "spec": {
91
- "specType": "String",
92
- "value": "["
93
- }
94
- },
95
- {
96
- "spec": {
97
- "specType": "BriefcaseId"
98
- }
99
- },
100
- {
101
- "spec": {
102
- "specType": "String",
103
- "value": "-"
104
- }
105
- },
106
- {
107
- "spec": {
108
- "specType": "LocalId"
109
- }
110
- },
111
- {
112
- "spec": {
113
- "specType": "String",
114
- "value": "]"
115
- }
116
- }
117
- ]
118
- }
119
- }
120
- ]
121
- }
122
- ]
123
- },
124
- {
125
- "ruleType": "InstanceLabelOverride",
126
- "onlyIfNotHandled": true,
127
- "class": {
128
- "schemaName": "BisCore",
129
- "className": "Element"
130
- },
131
- "values": [
132
- {
133
- "specType": "Property",
134
- "propertyName": "UserLabel"
135
- },
136
- {
137
- "specType": "Property",
138
- "propertyName": "CodeValue"
139
- },
140
- {
141
- "specType": "Composite",
142
- "separator": " ",
143
- "parts": [
144
- {
145
- "spec": {
146
- "specType": "ClassLabel"
147
- },
148
- "isRequired": true
149
- },
150
- {
151
- "spec": {
152
- "specType": "Composite",
153
- "separator": "",
154
- "parts": [
155
- {
156
- "spec": {
157
- "specType": "String",
158
- "value": "["
159
- }
160
- },
161
- {
162
- "spec": {
163
- "specType": "BriefcaseId"
164
- }
165
- },
166
- {
167
- "spec": {
168
- "specType": "String",
169
- "value": "-"
170
- }
171
- },
172
- {
173
- "spec": {
174
- "specType": "LocalId"
175
- }
176
- },
177
- {
178
- "spec": {
179
- "specType": "String",
180
- "value": "]"
181
- }
182
- }
183
- ]
184
- }
185
- }
186
- ]
187
- }
188
- ]
189
- },
190
- {
191
- "ruleType": "InstanceLabelOverride",
192
- "onlyIfNotHandled": true,
193
- "class": {
194
- "schemaName": "BisCore",
195
- "className": "RepositoryModel"
196
- },
197
- "values": [
198
- {
199
- "specType": "RelatedInstanceLabel",
200
- "pathToRelatedInstance": {
201
- "relationship": {
202
- "schemaName": "BisCore",
203
- "className": "ModelModelsElement"
204
- },
205
- "direction": "Forward",
206
- "targetClass": {
207
- "schemaName": "BisCore",
208
- "className": "Subject"
209
- }
210
- }
211
- }
212
- ]
213
- },
214
- {
215
- "ruleType": "InstanceLabelOverride",
216
- "onlyIfNotHandled": true,
217
- "class": {
218
- "schemaName": "BisCore",
219
- "className": "Model"
220
- },
221
- "values": [
222
- {
223
- "specType": "RelatedInstanceLabel",
224
- "pathToRelatedInstance": {
225
- "relationship": {
226
- "schemaName": "BisCore",
227
- "className": "ModelModelsElement"
228
- },
229
- "direction": "Forward"
230
- }
231
- }
232
- ]
233
- },
234
- {
235
- "ruleType": "ContentModifier",
236
- "class": {
237
- "schemaName": "BisCore",
238
- "className": "Element"
239
- },
240
- "propertyCategories": [
241
- {
242
- "id": "source_information",
243
- "label": "Source Information",
244
- "parentId": {
245
- "type": "Root"
246
- },
247
- "autoExpand": true
248
- },
249
- {
250
- "id": "model_source",
251
- "label": "Model Source",
252
- "parentId": "source_information",
253
- "autoExpand": true
254
- }
255
- ],
256
- "relatedProperties": [
257
- {
258
- "propertiesSource": {
259
- "relationship": {
260
- "schemaName": "BisCore",
261
- "className": "ElementOwnsUniqueAspect"
262
- },
263
- "direction": "Forward"
264
- },
265
- "handleTargetClassPolymorphically": true,
266
- "relationshipMeaning": "SameInstance",
267
- "skipIfDuplicate": true
268
- },
269
- {
270
- "propertiesSource": {
271
- "relationship": {
272
- "schemaName": "BisCore",
273
- "className": "ElementOwnsMultiAspects"
274
- },
275
- "direction": "Forward"
276
- },
277
- "handleTargetClassPolymorphically": true,
278
- "relationshipMeaning": "SameInstance",
279
- "skipIfDuplicate": true
280
- },
281
- {
282
- "propertiesSource": {
283
- "relationship": {
284
- "schemaName": "BisCore",
285
- "className": "ElementHasLinks"
286
- },
287
- "direction": "Forward"
288
- },
289
- "handleTargetClassPolymorphically": true,
290
- "relationshipMeaning": "RelatedInstance",
291
- "skipIfDuplicate": true
292
- },
293
- {
294
- "propertiesSource": {
295
- "relationship": {
296
- "schemaName": "BisCore",
297
- "className": "ElementGroupsMembers"
298
- },
299
- "targetClass": {
300
- "schemaName": "BisCore",
301
- "className": "GroupInformationElement"
302
- },
303
- "direction": "Backward"
304
- },
305
- "handleTargetClassPolymorphically": true,
306
- "relationshipMeaning": "RelatedInstance",
307
- "nestedRelatedProperties": [
308
- {
309
- "propertiesSource": {
310
- "relationship": {
311
- "schemaName": "BisCore",
312
- "className": "ElementHasLinks"
313
- },
314
- "direction": "Forward"
315
- },
316
- "handleTargetClassPolymorphically": true,
317
- "autoExpand": true,
318
- "relationshipMeaning": "RelatedInstance"
319
- }
320
- ],
321
- "skipIfDuplicate": true
322
- },
323
- {
324
- "propertiesSource": [
325
- {
326
- "relationship": {
327
- "schemaName": "BisCore",
328
- "className": "ModelContainsElements"
329
- },
330
- "direction": "Backward"
331
- },
332
- {
333
- "relationship": {
334
- "schemaName": "BisCore",
335
- "className": "ModelModelsElement"
336
- },
337
- "direction": "Forward"
338
- },
339
- {
340
- "relationship": {
341
- "schemaName": "BisCore",
342
- "className": "ElementHasLinks"
343
- },
344
- "targetClass": {
345
- "schemaName": "BisCore",
346
- "className": "RepositoryLink"
347
- },
348
- "direction": "Forward"
349
- }
350
- ],
351
- "properties": [
352
- {
353
- "name": "Url",
354
- "overridesPriority": 1001,
355
- "labelOverride": "Path",
356
- "categoryId": "model_source",
357
- "isDisplayed": true
358
- },
359
- {
360
- "name": "UserLabel",
361
- "overridesPriority": 1001,
362
- "labelOverride": "Name",
363
- "categoryId": "model_source",
364
- "isDisplayed": true
365
- }
366
- ],
367
- "relationshipMeaning": "SameInstance",
368
- "skipIfDuplicate": true
369
- }
370
- ]
371
- },
372
- {
373
- "ruleType": "ContentModifier",
374
- "requiredSchemas": [
375
- {
376
- "name": "BisCore",
377
- "minVersion": "1.0.2"
378
- }
379
- ],
380
- "class": {
381
- "schemaName": "BisCore",
382
- "className": "Element"
383
- },
384
- "propertyCategories": [
385
- {
386
- "id": "source_information",
387
- "label": "Source Information"
388
- }
389
- ],
390
- "relatedProperties": [
391
- {
392
- "relationshipMeaning": "SameInstance",
393
- "propertiesSource": [
394
- {
395
- "relationship": {
396
- "schemaName": "BisCore",
397
- "className": "ElementOwnsMultiAspects"
398
- },
399
- "direction": "Forward",
400
- "targetClass": {
401
- "schemaName": "BisCore",
402
- "className": "ExternalSourceAspect"
403
- }
404
- }
405
- ],
406
- "instanceFilter": "this.Kind <> \"Relationship\"",
407
- "properties": [
408
- {
409
- "name": "Identifier",
410
- "overridesPriority": 1001,
411
- "categoryId": "source_information",
412
- "labelOverride": "Source Element ID",
413
- "isDisplayed": true
414
- }
415
- ],
416
- "skipIfDuplicate": true
417
- }
418
- ]
419
- },
420
- {
421
- "ruleType": "ContentModifier",
422
- "requiredSchemas": [
423
- {
424
- "name": "BisCore",
425
- "minVersion": "1.0.13"
426
- }
427
- ],
428
- "class": {
429
- "schemaName": "BisCore",
430
- "className": "Element"
431
- },
432
- "propertyCategories": [
433
- {
434
- "id": "source_information",
435
- "label": "Source Information",
436
- "parentId": {
437
- "type": "Root"
438
- },
439
- "autoExpand": true
440
- },
441
- {
442
- "id": "secondary_sources",
443
- "label": "Secondary Sources",
444
- "parentId": "source_information",
445
- "autoExpand": true
446
- }
447
- ],
448
- "relatedProperties": [
449
- {
450
- "relationshipMeaning": "SameInstance",
451
- "propertiesSource": [
452
- {
453
- "relationship": {
454
- "schemaName": "BisCore",
455
- "className": "ElementOwnsMultiAspects"
456
- },
457
- "direction": "Forward",
458
- "targetClass": {
459
- "schemaName": "BisCore",
460
- "className": "ExternalSourceAspect"
461
- }
462
- }
463
- ],
464
- "instanceFilter": "this.Kind <> \"Relationship\"",
465
- "properties": "_none_",
466
- "autoExpand": true,
467
- "nestedRelatedProperties": [
468
- {
469
- "relationshipMeaning": "SameInstance",
470
- "autoExpand": true,
471
- "propertiesSource": [
472
- {
473
- "relationship": {
474
- "schemaName": "BisCore",
475
- "className": "ElementIsFromSource"
476
- },
477
- "direction": "Forward"
478
- },
479
- {
480
- "relationship": {
481
- "schemaName": "BisCore",
482
- "className": "ExternalSourceIsInRepository"
483
- },
484
- "direction": "Forward"
485
- }
486
- ],
487
- "properties": [
488
- {
489
- "name": "UserLabel",
490
- "categoryId": "source_information",
491
- "labelOverride": "Name",
492
- "isDisplayed": true
493
- },
494
- {
495
- "name": "Url",
496
- "categoryId": "source_information",
497
- "labelOverride": "Path"
498
- }
499
- ],
500
- "skipIfDuplicate": true
501
- },
502
- {
503
- "relationshipMeaning": "SameInstance",
504
- "autoExpand": true,
505
- "propertiesSource": [
506
- {
507
- "relationship": {
508
- "schemaName": "BisCore",
509
- "className": "ElementIsFromSource"
510
- },
511
- "direction": "Forward",
512
- "targetClass": {
513
- "schemaName": "BisCore",
514
- "className": "ExternalSourceGroup"
515
- }
516
- },
517
- {
518
- "relationship": {
519
- "schemaName": "BisCore",
520
- "className": "ExternalSourceGroupGroupsSources"
521
- },
522
- "direction": "Forward"
523
- },
524
- {
525
- "relationship": {
526
- "schemaName": "BisCore",
527
- "className": "ExternalSourceIsInRepository"
528
- },
529
- "direction": "Forward"
530
- }
531
- ],
532
- "properties": [
533
- {
534
- "name": "UserLabel",
535
- "categoryId": "secondary_sources",
536
- "labelOverride": "Name",
537
- "isDisplayed": true
538
- },
539
- {
540
- "name": "Url",
541
- "categoryId": "secondary_sources",
542
- "labelOverride": "Path"
543
- }
544
- ],
545
- "skipIfDuplicate": true
546
- }
547
- ],
548
- "skipIfDuplicate": true
549
- }
550
- ]
551
- },
552
- {
553
- "ruleType": "ContentModifier",
554
- "class": {
555
- "schemaName": "BisCore",
556
- "className": "GeometricElement3d"
557
- },
558
- "relatedProperties": [
559
- {
560
- "propertiesSource": {
561
- "relationship": {
562
- "schemaName": "BisCore",
563
- "className": "GeometricElement3dHasTypeDefinition"
564
- },
565
- "direction": "Forward"
566
- },
567
- "handleTargetClassPolymorphically": true,
568
- "relationshipMeaning": "RelatedInstance",
569
- "nestedRelatedProperties": [
570
- {
571
- "propertiesSource": {
572
- "relationship": {
573
- "schemaName": "BisCore",
574
- "className": "ElementOwnsUniqueAspect"
575
- },
576
- "direction": "Forward"
577
- },
578
- "handleTargetClassPolymorphically": true,
579
- "relationshipMeaning": "SameInstance"
580
- },
581
- {
582
- "propertiesSource": {
583
- "relationship": {
584
- "schemaName": "BisCore",
585
- "className": "ElementOwnsMultiAspects"
586
- },
587
- "direction": "Forward"
588
- },
589
- "handleTargetClassPolymorphically": true,
590
- "relationshipMeaning": "SameInstance"
591
- }
592
- ],
593
- "skipIfDuplicate": true
594
- }
595
- ]
596
- },
597
- {
598
- "ruleType": "ContentModifier",
599
- "class": {
600
- "schemaName": "BisCore",
601
- "className": "GeometricElement2d"
602
- },
603
- "relatedProperties": [
604
- {
605
- "propertiesSource": {
606
- "relationship": {
607
- "schemaName": "BisCore",
608
- "className": "GeometricElement2dHasTypeDefinition"
609
- },
610
- "direction": "Forward"
611
- },
612
- "handleTargetClassPolymorphically": true,
613
- "relationshipMeaning": "RelatedInstance",
614
- "nestedRelatedProperties": [
615
- {
616
- "propertiesSource": {
617
- "relationship": {
618
- "schemaName": "BisCore",
619
- "className": "ElementOwnsUniqueAspect"
620
- },
621
- "direction": "Forward"
622
- },
623
- "handleTargetClassPolymorphically": true,
624
- "relationshipMeaning": "SameInstance"
625
- },
626
- {
627
- "propertiesSource": {
628
- "relationship": {
629
- "schemaName": "BisCore",
630
- "className": "ElementOwnsMultiAspects"
631
- },
632
- "direction": "Forward"
633
- },
634
- "handleTargetClassPolymorphically": true,
635
- "relationshipMeaning": "SameInstance"
636
- }
637
- ],
638
- "skipIfDuplicate": true
639
- }
640
- ]
641
- },
642
- {
643
- "ruleType": "ContentModifier",
644
- "class": {
645
- "schemaName": "BisCore",
646
- "className": "DrawingGraphic"
647
- },
648
- "relatedProperties": [
649
- {
650
- "propertiesSource": {
651
- "relationship": {
652
- "schemaName": "BisCore",
653
- "className": "DrawingGraphicRepresentsElement"
654
- },
655
- "direction": "Forward"
656
- },
657
- "handleTargetClassPolymorphically": true,
658
- "relationshipMeaning": "RelatedInstance",
659
- "skipIfDuplicate": true
660
- }
661
- ]
662
- },
663
- {
664
- "ruleType": "ContentModifier",
665
- "class": {
666
- "schemaName": "BisCore",
667
- "className": "GraphicalElement3d"
668
- },
669
- "relatedProperties": [
670
- {
671
- "propertiesSource": {
672
- "relationship": {
673
- "schemaName": "BisCore",
674
- "className": "GraphicalElement3dRepresentsElement"
675
- },
676
- "direction": "Forward"
677
- },
678
- "handleTargetClassPolymorphically": true,
679
- "relationshipMeaning": "RelatedInstance",
680
- "skipIfDuplicate": true
681
- }
682
- ]
683
- },
684
- {
685
- "ruleType": "ContentModifier",
686
- "class": {
687
- "schemaName": "BisCore",
688
- "className": "TypeDefinitionElement"
689
- },
690
- "propertyOverrides": [
691
- {
692
- "name": "IsPrivate",
693
- "isDisplayed": false
694
- },
695
- {
696
- "name": "Recipe",
697
- "isDisplayed": false
698
- }
699
- ]
700
- },
701
- {
702
- "ruleType": "ContentModifier",
703
- "requiredSchemas": [
704
- {
705
- "name": "BisCore",
706
- "minVersion": "1.0.11"
707
- }
708
- ],
709
- "class": {
710
- "schemaName": "BisCore",
711
- "className": "PhysicalType"
712
- },
713
- "propertyOverrides": [
714
- {
715
- "name": "PhysicalMaterial",
716
- "labelOverride": "Physical Material"
717
- }
718
- ]
719
- },
720
- {
721
- "ruleType": "ContentModifier",
722
- "class": {
723
- "schemaName": "BisCore",
724
- "className": "LinkElement"
725
- },
726
- "propertyOverrides": [
727
- {
728
- "isDisplayed": false,
729
- "name": "CodeValue"
730
- },
731
- {
732
- "name": "UserLabel",
733
- "isDisplayed": false
734
- }
735
- ]
736
- },
737
- {
738
- "ruleType": "ContentModifier",
739
- "class": {
740
- "schemaName": "BisCore",
741
- "className": "UrlLink"
742
- },
743
- "propertyOverrides": [
744
- {
745
- "isDisplayed": false,
746
- "name": "Description"
747
- }
748
- ]
749
- },
750
- {
751
- "ruleType": "ContentModifier",
752
- "class": {
753
- "schemaName": "BisCore",
754
- "className": "EmbeddedFileLink"
755
- },
756
- "propertyOverrides": [
757
- {
758
- "isDisplayed": false,
759
- "name": "Description"
760
- }
761
- ]
762
- }
763
- ]
764
- }
1
+ {
2
+ "$schema": "../../../common/Ruleset.schema.json",
3
+ "id": "BisCore",
4
+ "supplementationInfo": {
5
+ "supplementationPurpose": "BisCore specific customization rules"
6
+ },
7
+ "requiredSchemas": [
8
+ {
9
+ "name": "BisCore"
10
+ }
11
+ ],
12
+ "rules": [
13
+ {
14
+ "ruleType": "InstanceLabelOverride",
15
+ "onlyIfNotHandled": true,
16
+ "class": {
17
+ "schemaName": "BisCore",
18
+ "className": "GeometricElement"
19
+ },
20
+ "values": [
21
+ {
22
+ "specType": "Property",
23
+ "propertyName": "CodeValue"
24
+ },
25
+ {
26
+ "specType": "Composite",
27
+ "separator": " ",
28
+ "parts": [
29
+ {
30
+ "spec": {
31
+ "specType": "Property",
32
+ "propertyName": "UserLabel"
33
+ },
34
+ "isRequired": true
35
+ },
36
+ {
37
+ "spec": {
38
+ "specType": "Composite",
39
+ "separator": "",
40
+ "parts": [
41
+ {
42
+ "spec": {
43
+ "specType": "String",
44
+ "value": "["
45
+ }
46
+ },
47
+ {
48
+ "spec": {
49
+ "specType": "BriefcaseId"
50
+ }
51
+ },
52
+ {
53
+ "spec": {
54
+ "specType": "String",
55
+ "value": "-"
56
+ }
57
+ },
58
+ {
59
+ "spec": {
60
+ "specType": "LocalId"
61
+ }
62
+ },
63
+ {
64
+ "spec": {
65
+ "specType": "String",
66
+ "value": "]"
67
+ }
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "specType": "Composite",
76
+ "separator": " ",
77
+ "parts": [
78
+ {
79
+ "spec": {
80
+ "specType": "ClassLabel"
81
+ },
82
+ "isRequired": true
83
+ },
84
+ {
85
+ "spec": {
86
+ "specType": "Composite",
87
+ "separator": "",
88
+ "parts": [
89
+ {
90
+ "spec": {
91
+ "specType": "String",
92
+ "value": "["
93
+ }
94
+ },
95
+ {
96
+ "spec": {
97
+ "specType": "BriefcaseId"
98
+ }
99
+ },
100
+ {
101
+ "spec": {
102
+ "specType": "String",
103
+ "value": "-"
104
+ }
105
+ },
106
+ {
107
+ "spec": {
108
+ "specType": "LocalId"
109
+ }
110
+ },
111
+ {
112
+ "spec": {
113
+ "specType": "String",
114
+ "value": "]"
115
+ }
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "ruleType": "InstanceLabelOverride",
126
+ "onlyIfNotHandled": true,
127
+ "class": {
128
+ "schemaName": "BisCore",
129
+ "className": "Element"
130
+ },
131
+ "values": [
132
+ {
133
+ "specType": "Property",
134
+ "propertyName": "UserLabel"
135
+ },
136
+ {
137
+ "specType": "Property",
138
+ "propertyName": "CodeValue"
139
+ },
140
+ {
141
+ "specType": "Composite",
142
+ "separator": " ",
143
+ "parts": [
144
+ {
145
+ "spec": {
146
+ "specType": "ClassLabel"
147
+ },
148
+ "isRequired": true
149
+ },
150
+ {
151
+ "spec": {
152
+ "specType": "Composite",
153
+ "separator": "",
154
+ "parts": [
155
+ {
156
+ "spec": {
157
+ "specType": "String",
158
+ "value": "["
159
+ }
160
+ },
161
+ {
162
+ "spec": {
163
+ "specType": "BriefcaseId"
164
+ }
165
+ },
166
+ {
167
+ "spec": {
168
+ "specType": "String",
169
+ "value": "-"
170
+ }
171
+ },
172
+ {
173
+ "spec": {
174
+ "specType": "LocalId"
175
+ }
176
+ },
177
+ {
178
+ "spec": {
179
+ "specType": "String",
180
+ "value": "]"
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "ruleType": "InstanceLabelOverride",
192
+ "onlyIfNotHandled": true,
193
+ "class": {
194
+ "schemaName": "BisCore",
195
+ "className": "RepositoryModel"
196
+ },
197
+ "values": [
198
+ {
199
+ "specType": "RelatedInstanceLabel",
200
+ "pathToRelatedInstance": {
201
+ "relationship": {
202
+ "schemaName": "BisCore",
203
+ "className": "ModelModelsElement"
204
+ },
205
+ "direction": "Forward",
206
+ "targetClass": {
207
+ "schemaName": "BisCore",
208
+ "className": "Subject"
209
+ }
210
+ }
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "ruleType": "InstanceLabelOverride",
216
+ "onlyIfNotHandled": true,
217
+ "class": {
218
+ "schemaName": "BisCore",
219
+ "className": "Model"
220
+ },
221
+ "values": [
222
+ {
223
+ "specType": "RelatedInstanceLabel",
224
+ "pathToRelatedInstance": {
225
+ "relationship": {
226
+ "schemaName": "BisCore",
227
+ "className": "ModelModelsElement"
228
+ },
229
+ "direction": "Forward"
230
+ }
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "ruleType": "ContentModifier",
236
+ "class": {
237
+ "schemaName": "BisCore",
238
+ "className": "Element"
239
+ },
240
+ "propertyCategories": [
241
+ {
242
+ "id": "source_information",
243
+ "label": "Source Information",
244
+ "parentId": {
245
+ "type": "Root"
246
+ },
247
+ "autoExpand": true
248
+ },
249
+ {
250
+ "id": "model_source",
251
+ "label": "Model Source",
252
+ "parentId": "source_information",
253
+ "autoExpand": true
254
+ }
255
+ ],
256
+ "relatedProperties": [
257
+ {
258
+ "propertiesSource": {
259
+ "relationship": {
260
+ "schemaName": "BisCore",
261
+ "className": "ElementOwnsUniqueAspect"
262
+ },
263
+ "direction": "Forward"
264
+ },
265
+ "handleTargetClassPolymorphically": true,
266
+ "relationshipMeaning": "SameInstance",
267
+ "skipIfDuplicate": true
268
+ },
269
+ {
270
+ "propertiesSource": {
271
+ "relationship": {
272
+ "schemaName": "BisCore",
273
+ "className": "ElementOwnsMultiAspects"
274
+ },
275
+ "direction": "Forward"
276
+ },
277
+ "handleTargetClassPolymorphically": true,
278
+ "relationshipMeaning": "SameInstance",
279
+ "skipIfDuplicate": true
280
+ },
281
+ {
282
+ "propertiesSource": {
283
+ "relationship": {
284
+ "schemaName": "BisCore",
285
+ "className": "ElementHasLinks"
286
+ },
287
+ "direction": "Forward"
288
+ },
289
+ "handleTargetClassPolymorphically": true,
290
+ "relationshipMeaning": "RelatedInstance",
291
+ "skipIfDuplicate": true
292
+ },
293
+ {
294
+ "propertiesSource": {
295
+ "relationship": {
296
+ "schemaName": "BisCore",
297
+ "className": "ElementGroupsMembers"
298
+ },
299
+ "targetClass": {
300
+ "schemaName": "BisCore",
301
+ "className": "GroupInformationElement"
302
+ },
303
+ "direction": "Backward"
304
+ },
305
+ "handleTargetClassPolymorphically": true,
306
+ "relationshipMeaning": "RelatedInstance",
307
+ "nestedRelatedProperties": [
308
+ {
309
+ "propertiesSource": {
310
+ "relationship": {
311
+ "schemaName": "BisCore",
312
+ "className": "ElementHasLinks"
313
+ },
314
+ "direction": "Forward"
315
+ },
316
+ "handleTargetClassPolymorphically": true,
317
+ "autoExpand": true,
318
+ "relationshipMeaning": "RelatedInstance"
319
+ }
320
+ ],
321
+ "skipIfDuplicate": true
322
+ },
323
+ {
324
+ "propertiesSource": [
325
+ {
326
+ "relationship": {
327
+ "schemaName": "BisCore",
328
+ "className": "ModelContainsElements"
329
+ },
330
+ "direction": "Backward"
331
+ },
332
+ {
333
+ "relationship": {
334
+ "schemaName": "BisCore",
335
+ "className": "ModelModelsElement"
336
+ },
337
+ "direction": "Forward"
338
+ },
339
+ {
340
+ "relationship": {
341
+ "schemaName": "BisCore",
342
+ "className": "ElementHasLinks"
343
+ },
344
+ "targetClass": {
345
+ "schemaName": "BisCore",
346
+ "className": "RepositoryLink"
347
+ },
348
+ "direction": "Forward"
349
+ }
350
+ ],
351
+ "properties": [
352
+ {
353
+ "name": "Url",
354
+ "overridesPriority": 1001,
355
+ "labelOverride": "Path",
356
+ "categoryId": "model_source",
357
+ "isDisplayed": true
358
+ },
359
+ {
360
+ "name": "UserLabel",
361
+ "overridesPriority": 1001,
362
+ "labelOverride": "Name",
363
+ "categoryId": "model_source",
364
+ "isDisplayed": true
365
+ }
366
+ ],
367
+ "relationshipMeaning": "SameInstance",
368
+ "skipIfDuplicate": true
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "ruleType": "ContentModifier",
374
+ "requiredSchemas": [
375
+ {
376
+ "name": "BisCore",
377
+ "minVersion": "1.0.2"
378
+ }
379
+ ],
380
+ "class": {
381
+ "schemaName": "BisCore",
382
+ "className": "Element"
383
+ },
384
+ "propertyCategories": [
385
+ {
386
+ "id": "source_information",
387
+ "label": "Source Information"
388
+ }
389
+ ],
390
+ "relatedProperties": [
391
+ {
392
+ "relationshipMeaning": "SameInstance",
393
+ "propertiesSource": [
394
+ {
395
+ "relationship": {
396
+ "schemaName": "BisCore",
397
+ "className": "ElementOwnsMultiAspects"
398
+ },
399
+ "direction": "Forward",
400
+ "targetClass": {
401
+ "schemaName": "BisCore",
402
+ "className": "ExternalSourceAspect"
403
+ }
404
+ }
405
+ ],
406
+ "instanceFilter": "this.Kind <> \"Relationship\"",
407
+ "properties": [
408
+ {
409
+ "name": "Identifier",
410
+ "overridesPriority": 1001,
411
+ "categoryId": "source_information",
412
+ "labelOverride": "Source Element ID",
413
+ "isDisplayed": true
414
+ }
415
+ ],
416
+ "skipIfDuplicate": true
417
+ }
418
+ ]
419
+ },
420
+ {
421
+ "ruleType": "ContentModifier",
422
+ "requiredSchemas": [
423
+ {
424
+ "name": "BisCore",
425
+ "minVersion": "1.0.13"
426
+ }
427
+ ],
428
+ "class": {
429
+ "schemaName": "BisCore",
430
+ "className": "Element"
431
+ },
432
+ "propertyCategories": [
433
+ {
434
+ "id": "source_information",
435
+ "label": "Source Information",
436
+ "parentId": {
437
+ "type": "Root"
438
+ },
439
+ "autoExpand": true
440
+ },
441
+ {
442
+ "id": "secondary_sources",
443
+ "label": "Secondary Sources",
444
+ "parentId": "source_information",
445
+ "autoExpand": true
446
+ }
447
+ ],
448
+ "relatedProperties": [
449
+ {
450
+ "relationshipMeaning": "SameInstance",
451
+ "propertiesSource": [
452
+ {
453
+ "relationship": {
454
+ "schemaName": "BisCore",
455
+ "className": "ElementOwnsMultiAspects"
456
+ },
457
+ "direction": "Forward",
458
+ "targetClass": {
459
+ "schemaName": "BisCore",
460
+ "className": "ExternalSourceAspect"
461
+ }
462
+ }
463
+ ],
464
+ "instanceFilter": "this.Kind <> \"Relationship\"",
465
+ "properties": "_none_",
466
+ "autoExpand": true,
467
+ "nestedRelatedProperties": [
468
+ {
469
+ "relationshipMeaning": "SameInstance",
470
+ "autoExpand": true,
471
+ "propertiesSource": [
472
+ {
473
+ "relationship": {
474
+ "schemaName": "BisCore",
475
+ "className": "ElementIsFromSource"
476
+ },
477
+ "direction": "Forward"
478
+ },
479
+ {
480
+ "relationship": {
481
+ "schemaName": "BisCore",
482
+ "className": "ExternalSourceIsInRepository"
483
+ },
484
+ "direction": "Forward"
485
+ }
486
+ ],
487
+ "properties": [
488
+ {
489
+ "name": "UserLabel",
490
+ "categoryId": "source_information",
491
+ "labelOverride": "Name",
492
+ "isDisplayed": true
493
+ },
494
+ {
495
+ "name": "Url",
496
+ "categoryId": "source_information",
497
+ "labelOverride": "Path"
498
+ }
499
+ ],
500
+ "skipIfDuplicate": true
501
+ },
502
+ {
503
+ "relationshipMeaning": "SameInstance",
504
+ "autoExpand": true,
505
+ "propertiesSource": [
506
+ {
507
+ "relationship": {
508
+ "schemaName": "BisCore",
509
+ "className": "ElementIsFromSource"
510
+ },
511
+ "direction": "Forward",
512
+ "targetClass": {
513
+ "schemaName": "BisCore",
514
+ "className": "ExternalSourceGroup"
515
+ }
516
+ },
517
+ {
518
+ "relationship": {
519
+ "schemaName": "BisCore",
520
+ "className": "ExternalSourceGroupGroupsSources"
521
+ },
522
+ "direction": "Forward"
523
+ },
524
+ {
525
+ "relationship": {
526
+ "schemaName": "BisCore",
527
+ "className": "ExternalSourceIsInRepository"
528
+ },
529
+ "direction": "Forward"
530
+ }
531
+ ],
532
+ "properties": [
533
+ {
534
+ "name": "UserLabel",
535
+ "categoryId": "secondary_sources",
536
+ "labelOverride": "Name",
537
+ "isDisplayed": true
538
+ },
539
+ {
540
+ "name": "Url",
541
+ "categoryId": "secondary_sources",
542
+ "labelOverride": "Path"
543
+ }
544
+ ],
545
+ "skipIfDuplicate": true
546
+ }
547
+ ],
548
+ "skipIfDuplicate": true
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "ruleType": "ContentModifier",
554
+ "class": {
555
+ "schemaName": "BisCore",
556
+ "className": "GeometricElement3d"
557
+ },
558
+ "relatedProperties": [
559
+ {
560
+ "propertiesSource": {
561
+ "relationship": {
562
+ "schemaName": "BisCore",
563
+ "className": "GeometricElement3dHasTypeDefinition"
564
+ },
565
+ "direction": "Forward"
566
+ },
567
+ "handleTargetClassPolymorphically": true,
568
+ "relationshipMeaning": "RelatedInstance",
569
+ "nestedRelatedProperties": [
570
+ {
571
+ "propertiesSource": {
572
+ "relationship": {
573
+ "schemaName": "BisCore",
574
+ "className": "ElementOwnsUniqueAspect"
575
+ },
576
+ "direction": "Forward"
577
+ },
578
+ "handleTargetClassPolymorphically": true,
579
+ "relationshipMeaning": "SameInstance"
580
+ },
581
+ {
582
+ "propertiesSource": {
583
+ "relationship": {
584
+ "schemaName": "BisCore",
585
+ "className": "ElementOwnsMultiAspects"
586
+ },
587
+ "direction": "Forward"
588
+ },
589
+ "handleTargetClassPolymorphically": true,
590
+ "relationshipMeaning": "SameInstance"
591
+ }
592
+ ],
593
+ "skipIfDuplicate": true
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "ruleType": "ContentModifier",
599
+ "class": {
600
+ "schemaName": "BisCore",
601
+ "className": "GeometricElement2d"
602
+ },
603
+ "relatedProperties": [
604
+ {
605
+ "propertiesSource": {
606
+ "relationship": {
607
+ "schemaName": "BisCore",
608
+ "className": "GeometricElement2dHasTypeDefinition"
609
+ },
610
+ "direction": "Forward"
611
+ },
612
+ "handleTargetClassPolymorphically": true,
613
+ "relationshipMeaning": "RelatedInstance",
614
+ "nestedRelatedProperties": [
615
+ {
616
+ "propertiesSource": {
617
+ "relationship": {
618
+ "schemaName": "BisCore",
619
+ "className": "ElementOwnsUniqueAspect"
620
+ },
621
+ "direction": "Forward"
622
+ },
623
+ "handleTargetClassPolymorphically": true,
624
+ "relationshipMeaning": "SameInstance"
625
+ },
626
+ {
627
+ "propertiesSource": {
628
+ "relationship": {
629
+ "schemaName": "BisCore",
630
+ "className": "ElementOwnsMultiAspects"
631
+ },
632
+ "direction": "Forward"
633
+ },
634
+ "handleTargetClassPolymorphically": true,
635
+ "relationshipMeaning": "SameInstance"
636
+ }
637
+ ],
638
+ "skipIfDuplicate": true
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ "ruleType": "ContentModifier",
644
+ "class": {
645
+ "schemaName": "BisCore",
646
+ "className": "DrawingGraphic"
647
+ },
648
+ "relatedProperties": [
649
+ {
650
+ "propertiesSource": {
651
+ "relationship": {
652
+ "schemaName": "BisCore",
653
+ "className": "DrawingGraphicRepresentsElement"
654
+ },
655
+ "direction": "Forward"
656
+ },
657
+ "handleTargetClassPolymorphically": true,
658
+ "relationshipMeaning": "RelatedInstance",
659
+ "skipIfDuplicate": true
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "ruleType": "ContentModifier",
665
+ "class": {
666
+ "schemaName": "BisCore",
667
+ "className": "GraphicalElement3d"
668
+ },
669
+ "relatedProperties": [
670
+ {
671
+ "propertiesSource": {
672
+ "relationship": {
673
+ "schemaName": "BisCore",
674
+ "className": "GraphicalElement3dRepresentsElement"
675
+ },
676
+ "direction": "Forward"
677
+ },
678
+ "handleTargetClassPolymorphically": true,
679
+ "relationshipMeaning": "RelatedInstance",
680
+ "skipIfDuplicate": true
681
+ }
682
+ ]
683
+ },
684
+ {
685
+ "ruleType": "ContentModifier",
686
+ "class": {
687
+ "schemaName": "BisCore",
688
+ "className": "TypeDefinitionElement"
689
+ },
690
+ "propertyOverrides": [
691
+ {
692
+ "name": "IsPrivate",
693
+ "isDisplayed": false
694
+ },
695
+ {
696
+ "name": "Recipe",
697
+ "isDisplayed": false
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "ruleType": "ContentModifier",
703
+ "requiredSchemas": [
704
+ {
705
+ "name": "BisCore",
706
+ "minVersion": "1.0.11"
707
+ }
708
+ ],
709
+ "class": {
710
+ "schemaName": "BisCore",
711
+ "className": "PhysicalType"
712
+ },
713
+ "propertyOverrides": [
714
+ {
715
+ "name": "PhysicalMaterial",
716
+ "labelOverride": "Physical Material"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "ruleType": "ContentModifier",
722
+ "class": {
723
+ "schemaName": "BisCore",
724
+ "className": "LinkElement"
725
+ },
726
+ "propertyOverrides": [
727
+ {
728
+ "isDisplayed": false,
729
+ "name": "CodeValue"
730
+ },
731
+ {
732
+ "name": "UserLabel",
733
+ "isDisplayed": false
734
+ }
735
+ ]
736
+ },
737
+ {
738
+ "ruleType": "ContentModifier",
739
+ "class": {
740
+ "schemaName": "BisCore",
741
+ "className": "UrlLink"
742
+ },
743
+ "propertyOverrides": [
744
+ {
745
+ "isDisplayed": false,
746
+ "name": "Description"
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "ruleType": "ContentModifier",
752
+ "class": {
753
+ "schemaName": "BisCore",
754
+ "className": "EmbeddedFileLink"
755
+ },
756
+ "propertyOverrides": [
757
+ {
758
+ "isDisplayed": false,
759
+ "name": "Description"
760
+ }
761
+ ]
762
+ }
763
+ ]
764
+ }