@itwin/presentation-backend 4.0.0-dev.60 → 4.0.0-dev.63

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 +761 -761
  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 +14 -14
@@ -1,762 +1,762 @@
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
- },
501
- {
502
- "relationshipMeaning": "SameInstance",
503
- "autoExpand": true,
504
- "propertiesSource": [
505
- {
506
- "relationship": {
507
- "schemaName": "BisCore",
508
- "className": "ElementIsFromSource"
509
- },
510
- "direction": "Forward",
511
- "targetClass": {
512
- "schemaName": "BisCore",
513
- "className": "ExternalSourceGroup"
514
- }
515
- },
516
- {
517
- "relationship": {
518
- "schemaName": "BisCore",
519
- "className": "ExternalSourceGroupGroupsSources"
520
- },
521
- "direction": "Forward"
522
- },
523
- {
524
- "relationship": {
525
- "schemaName": "BisCore",
526
- "className": "ExternalSourceIsInRepository"
527
- },
528
- "direction": "Forward"
529
- }
530
- ],
531
- "properties": [
532
- {
533
- "name": "UserLabel",
534
- "categoryId": "secondary_sources",
535
- "labelOverride": "Name",
536
- "isDisplayed": true
537
- },
538
- {
539
- "name": "Url",
540
- "categoryId": "secondary_sources",
541
- "labelOverride": "Path"
542
- }
543
- ]
544
- }
545
- ],
546
- "skipIfDuplicate": true
547
- }
548
- ]
549
- },
550
- {
551
- "ruleType": "ContentModifier",
552
- "class": {
553
- "schemaName": "BisCore",
554
- "className": "GeometricElement3d"
555
- },
556
- "relatedProperties": [
557
- {
558
- "propertiesSource": {
559
- "relationship": {
560
- "schemaName": "BisCore",
561
- "className": "GeometricElement3dHasTypeDefinition"
562
- },
563
- "direction": "Forward"
564
- },
565
- "handleTargetClassPolymorphically": true,
566
- "relationshipMeaning": "RelatedInstance",
567
- "nestedRelatedProperties": [
568
- {
569
- "propertiesSource": {
570
- "relationship": {
571
- "schemaName": "BisCore",
572
- "className": "ElementOwnsUniqueAspect"
573
- },
574
- "direction": "Forward"
575
- },
576
- "handleTargetClassPolymorphically": true,
577
- "relationshipMeaning": "SameInstance"
578
- },
579
- {
580
- "propertiesSource": {
581
- "relationship": {
582
- "schemaName": "BisCore",
583
- "className": "ElementOwnsMultiAspects"
584
- },
585
- "direction": "Forward"
586
- },
587
- "handleTargetClassPolymorphically": true,
588
- "relationshipMeaning": "SameInstance"
589
- }
590
- ],
591
- "skipIfDuplicate": true
592
- }
593
- ]
594
- },
595
- {
596
- "ruleType": "ContentModifier",
597
- "class": {
598
- "schemaName": "BisCore",
599
- "className": "GeometricElement2d"
600
- },
601
- "relatedProperties": [
602
- {
603
- "propertiesSource": {
604
- "relationship": {
605
- "schemaName": "BisCore",
606
- "className": "GeometricElement2dHasTypeDefinition"
607
- },
608
- "direction": "Forward"
609
- },
610
- "handleTargetClassPolymorphically": true,
611
- "relationshipMeaning": "RelatedInstance",
612
- "nestedRelatedProperties": [
613
- {
614
- "propertiesSource": {
615
- "relationship": {
616
- "schemaName": "BisCore",
617
- "className": "ElementOwnsUniqueAspect"
618
- },
619
- "direction": "Forward"
620
- },
621
- "handleTargetClassPolymorphically": true,
622
- "relationshipMeaning": "SameInstance"
623
- },
624
- {
625
- "propertiesSource": {
626
- "relationship": {
627
- "schemaName": "BisCore",
628
- "className": "ElementOwnsMultiAspects"
629
- },
630
- "direction": "Forward"
631
- },
632
- "handleTargetClassPolymorphically": true,
633
- "relationshipMeaning": "SameInstance"
634
- }
635
- ],
636
- "skipIfDuplicate": true
637
- }
638
- ]
639
- },
640
- {
641
- "ruleType": "ContentModifier",
642
- "class": {
643
- "schemaName": "BisCore",
644
- "className": "DrawingGraphic"
645
- },
646
- "relatedProperties": [
647
- {
648
- "propertiesSource": {
649
- "relationship": {
650
- "schemaName": "BisCore",
651
- "className": "DrawingGraphicRepresentsElement"
652
- },
653
- "direction": "Forward"
654
- },
655
- "handleTargetClassPolymorphically": true,
656
- "relationshipMeaning": "RelatedInstance",
657
- "skipIfDuplicate": true
658
- }
659
- ]
660
- },
661
- {
662
- "ruleType": "ContentModifier",
663
- "class": {
664
- "schemaName": "BisCore",
665
- "className": "GraphicalElement3d"
666
- },
667
- "relatedProperties": [
668
- {
669
- "propertiesSource": {
670
- "relationship": {
671
- "schemaName": "BisCore",
672
- "className": "GraphicalElement3dRepresentsElement"
673
- },
674
- "direction": "Forward"
675
- },
676
- "handleTargetClassPolymorphically": true,
677
- "relationshipMeaning": "RelatedInstance",
678
- "skipIfDuplicate": true
679
- }
680
- ]
681
- },
682
- {
683
- "ruleType": "ContentModifier",
684
- "class": {
685
- "schemaName": "BisCore",
686
- "className": "TypeDefinitionElement"
687
- },
688
- "propertyOverrides": [
689
- {
690
- "name": "IsPrivate",
691
- "isDisplayed": false
692
- },
693
- {
694
- "name": "Recipe",
695
- "isDisplayed": false
696
- }
697
- ]
698
- },
699
- {
700
- "ruleType": "ContentModifier",
701
- "requiredSchemas": [
702
- {
703
- "name": "BisCore",
704
- "minVersion": "1.0.11"
705
- }
706
- ],
707
- "class": {
708
- "schemaName": "BisCore",
709
- "className": "PhysicalType"
710
- },
711
- "propertyOverrides": [
712
- {
713
- "name": "PhysicalMaterial",
714
- "labelOverride": "Physical Material"
715
- }
716
- ]
717
- },
718
- {
719
- "ruleType": "ContentModifier",
720
- "class": {
721
- "schemaName": "BisCore",
722
- "className": "LinkElement"
723
- },
724
- "propertyOverrides": [
725
- {
726
- "isDisplayed": false,
727
- "name": "CodeValue"
728
- },
729
- {
730
- "name": "UserLabel",
731
- "isDisplayed": false
732
- }
733
- ]
734
- },
735
- {
736
- "ruleType": "ContentModifier",
737
- "class": {
738
- "schemaName": "BisCore",
739
- "className": "UrlLink"
740
- },
741
- "propertyOverrides": [
742
- {
743
- "isDisplayed": false,
744
- "name": "Description"
745
- }
746
- ]
747
- },
748
- {
749
- "ruleType": "ContentModifier",
750
- "class": {
751
- "schemaName": "BisCore",
752
- "className": "EmbeddedFileLink"
753
- },
754
- "propertyOverrides": [
755
- {
756
- "isDisplayed": false,
757
- "name": "Description"
758
- }
759
- ]
760
- }
761
- ]
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
+ },
501
+ {
502
+ "relationshipMeaning": "SameInstance",
503
+ "autoExpand": true,
504
+ "propertiesSource": [
505
+ {
506
+ "relationship": {
507
+ "schemaName": "BisCore",
508
+ "className": "ElementIsFromSource"
509
+ },
510
+ "direction": "Forward",
511
+ "targetClass": {
512
+ "schemaName": "BisCore",
513
+ "className": "ExternalSourceGroup"
514
+ }
515
+ },
516
+ {
517
+ "relationship": {
518
+ "schemaName": "BisCore",
519
+ "className": "ExternalSourceGroupGroupsSources"
520
+ },
521
+ "direction": "Forward"
522
+ },
523
+ {
524
+ "relationship": {
525
+ "schemaName": "BisCore",
526
+ "className": "ExternalSourceIsInRepository"
527
+ },
528
+ "direction": "Forward"
529
+ }
530
+ ],
531
+ "properties": [
532
+ {
533
+ "name": "UserLabel",
534
+ "categoryId": "secondary_sources",
535
+ "labelOverride": "Name",
536
+ "isDisplayed": true
537
+ },
538
+ {
539
+ "name": "Url",
540
+ "categoryId": "secondary_sources",
541
+ "labelOverride": "Path"
542
+ }
543
+ ]
544
+ }
545
+ ],
546
+ "skipIfDuplicate": true
547
+ }
548
+ ]
549
+ },
550
+ {
551
+ "ruleType": "ContentModifier",
552
+ "class": {
553
+ "schemaName": "BisCore",
554
+ "className": "GeometricElement3d"
555
+ },
556
+ "relatedProperties": [
557
+ {
558
+ "propertiesSource": {
559
+ "relationship": {
560
+ "schemaName": "BisCore",
561
+ "className": "GeometricElement3dHasTypeDefinition"
562
+ },
563
+ "direction": "Forward"
564
+ },
565
+ "handleTargetClassPolymorphically": true,
566
+ "relationshipMeaning": "RelatedInstance",
567
+ "nestedRelatedProperties": [
568
+ {
569
+ "propertiesSource": {
570
+ "relationship": {
571
+ "schemaName": "BisCore",
572
+ "className": "ElementOwnsUniqueAspect"
573
+ },
574
+ "direction": "Forward"
575
+ },
576
+ "handleTargetClassPolymorphically": true,
577
+ "relationshipMeaning": "SameInstance"
578
+ },
579
+ {
580
+ "propertiesSource": {
581
+ "relationship": {
582
+ "schemaName": "BisCore",
583
+ "className": "ElementOwnsMultiAspects"
584
+ },
585
+ "direction": "Forward"
586
+ },
587
+ "handleTargetClassPolymorphically": true,
588
+ "relationshipMeaning": "SameInstance"
589
+ }
590
+ ],
591
+ "skipIfDuplicate": true
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "ruleType": "ContentModifier",
597
+ "class": {
598
+ "schemaName": "BisCore",
599
+ "className": "GeometricElement2d"
600
+ },
601
+ "relatedProperties": [
602
+ {
603
+ "propertiesSource": {
604
+ "relationship": {
605
+ "schemaName": "BisCore",
606
+ "className": "GeometricElement2dHasTypeDefinition"
607
+ },
608
+ "direction": "Forward"
609
+ },
610
+ "handleTargetClassPolymorphically": true,
611
+ "relationshipMeaning": "RelatedInstance",
612
+ "nestedRelatedProperties": [
613
+ {
614
+ "propertiesSource": {
615
+ "relationship": {
616
+ "schemaName": "BisCore",
617
+ "className": "ElementOwnsUniqueAspect"
618
+ },
619
+ "direction": "Forward"
620
+ },
621
+ "handleTargetClassPolymorphically": true,
622
+ "relationshipMeaning": "SameInstance"
623
+ },
624
+ {
625
+ "propertiesSource": {
626
+ "relationship": {
627
+ "schemaName": "BisCore",
628
+ "className": "ElementOwnsMultiAspects"
629
+ },
630
+ "direction": "Forward"
631
+ },
632
+ "handleTargetClassPolymorphically": true,
633
+ "relationshipMeaning": "SameInstance"
634
+ }
635
+ ],
636
+ "skipIfDuplicate": true
637
+ }
638
+ ]
639
+ },
640
+ {
641
+ "ruleType": "ContentModifier",
642
+ "class": {
643
+ "schemaName": "BisCore",
644
+ "className": "DrawingGraphic"
645
+ },
646
+ "relatedProperties": [
647
+ {
648
+ "propertiesSource": {
649
+ "relationship": {
650
+ "schemaName": "BisCore",
651
+ "className": "DrawingGraphicRepresentsElement"
652
+ },
653
+ "direction": "Forward"
654
+ },
655
+ "handleTargetClassPolymorphically": true,
656
+ "relationshipMeaning": "RelatedInstance",
657
+ "skipIfDuplicate": true
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ "ruleType": "ContentModifier",
663
+ "class": {
664
+ "schemaName": "BisCore",
665
+ "className": "GraphicalElement3d"
666
+ },
667
+ "relatedProperties": [
668
+ {
669
+ "propertiesSource": {
670
+ "relationship": {
671
+ "schemaName": "BisCore",
672
+ "className": "GraphicalElement3dRepresentsElement"
673
+ },
674
+ "direction": "Forward"
675
+ },
676
+ "handleTargetClassPolymorphically": true,
677
+ "relationshipMeaning": "RelatedInstance",
678
+ "skipIfDuplicate": true
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "ruleType": "ContentModifier",
684
+ "class": {
685
+ "schemaName": "BisCore",
686
+ "className": "TypeDefinitionElement"
687
+ },
688
+ "propertyOverrides": [
689
+ {
690
+ "name": "IsPrivate",
691
+ "isDisplayed": false
692
+ },
693
+ {
694
+ "name": "Recipe",
695
+ "isDisplayed": false
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "ruleType": "ContentModifier",
701
+ "requiredSchemas": [
702
+ {
703
+ "name": "BisCore",
704
+ "minVersion": "1.0.11"
705
+ }
706
+ ],
707
+ "class": {
708
+ "schemaName": "BisCore",
709
+ "className": "PhysicalType"
710
+ },
711
+ "propertyOverrides": [
712
+ {
713
+ "name": "PhysicalMaterial",
714
+ "labelOverride": "Physical Material"
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "ruleType": "ContentModifier",
720
+ "class": {
721
+ "schemaName": "BisCore",
722
+ "className": "LinkElement"
723
+ },
724
+ "propertyOverrides": [
725
+ {
726
+ "isDisplayed": false,
727
+ "name": "CodeValue"
728
+ },
729
+ {
730
+ "name": "UserLabel",
731
+ "isDisplayed": false
732
+ }
733
+ ]
734
+ },
735
+ {
736
+ "ruleType": "ContentModifier",
737
+ "class": {
738
+ "schemaName": "BisCore",
739
+ "className": "UrlLink"
740
+ },
741
+ "propertyOverrides": [
742
+ {
743
+ "isDisplayed": false,
744
+ "name": "Description"
745
+ }
746
+ ]
747
+ },
748
+ {
749
+ "ruleType": "ContentModifier",
750
+ "class": {
751
+ "schemaName": "BisCore",
752
+ "className": "EmbeddedFileLink"
753
+ },
754
+ "propertyOverrides": [
755
+ {
756
+ "isDisplayed": false,
757
+ "name": "Description"
758
+ }
759
+ ]
760
+ }
761
+ ]
762
762
  }