@itwin/presentation-backend 3.5.0-dev.8 → 3.5.1

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 (67) hide show
  1. package/CHANGELOG.md +77 -1
  2. package/lib/cjs/assets/primary-presentation-rules/ElementProperties.PresentationRuleSet.json +14 -14
  3. package/lib/cjs/assets/supplemental-presentation-rules/BisCore.PresentationRuleSet.json +761 -761
  4. package/lib/cjs/assets/supplemental-presentation-rules/Functional.PresentationRuleSet.json +139 -139
  5. package/lib/cjs/presentation-backend/BackendLoggerCategory.d.ts +41 -41
  6. package/lib/cjs/presentation-backend/BackendLoggerCategory.js +50 -50
  7. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -1
  8. package/lib/cjs/presentation-backend/Constants.d.ts +8 -13
  9. package/lib/cjs/presentation-backend/Constants.d.ts.map +1 -1
  10. package/lib/cjs/presentation-backend/Constants.js +36 -43
  11. package/lib/cjs/presentation-backend/Constants.js.map +1 -1
  12. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts +11 -11
  13. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +274 -274
  14. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  15. package/lib/cjs/presentation-backend/NativePlatform.d.ts +82 -83
  16. package/lib/cjs/presentation-backend/NativePlatform.d.ts.map +1 -1
  17. package/lib/cjs/presentation-backend/NativePlatform.js +139 -140
  18. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  19. package/lib/cjs/presentation-backend/Presentation.d.ts +106 -106
  20. package/lib/cjs/presentation-backend/Presentation.js +150 -150
  21. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  22. package/lib/cjs/presentation-backend/PresentationIpcHandler.d.ts +12 -12
  23. package/lib/cjs/presentation-backend/PresentationIpcHandler.js +41 -41
  24. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -1
  25. package/lib/cjs/presentation-backend/PresentationManager.d.ts +436 -401
  26. package/lib/cjs/presentation-backend/PresentationManager.d.ts.map +1 -1
  27. package/lib/cjs/presentation-backend/PresentationManager.js +292 -291
  28. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  29. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts +60 -60
  30. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts.map +1 -1
  31. package/lib/cjs/presentation-backend/PresentationManagerDetail.js +420 -422
  32. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  33. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts +61 -59
  34. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts.map +1 -1
  35. package/lib/cjs/presentation-backend/PresentationRpcImpl.js +365 -364
  36. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  37. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts +104 -104
  38. package/lib/cjs/presentation-backend/RulesetEmbedder.js +282 -282
  39. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  40. package/lib/cjs/presentation-backend/RulesetManager.d.ts +53 -53
  41. package/lib/cjs/presentation-backend/RulesetManager.js +73 -73
  42. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -1
  43. package/lib/cjs/presentation-backend/RulesetVariablesManager.d.ts +140 -140
  44. package/lib/cjs/presentation-backend/RulesetVariablesManager.js +129 -129
  45. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -1
  46. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts +35 -35
  47. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +229 -229
  48. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  49. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts +123 -123
  50. package/lib/cjs/presentation-backend/TemporaryStorage.js +151 -151
  51. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -1
  52. package/lib/cjs/presentation-backend/UpdatesTracker.d.ts +27 -27
  53. package/lib/cjs/presentation-backend/UpdatesTracker.js +54 -54
  54. package/lib/cjs/presentation-backend/UpdatesTracker.js.map +1 -1
  55. package/lib/cjs/presentation-backend/Utils.d.ts +49 -49
  56. package/lib/cjs/presentation-backend/Utils.js +106 -106
  57. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  58. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.d.ts +16 -16
  59. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js +51 -51
  60. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  61. package/lib/cjs/presentation-backend/domain/RulesetElements.d.ts +21 -21
  62. package/lib/cjs/presentation-backend/domain/RulesetElements.js +38 -38
  63. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -1
  64. package/lib/cjs/presentation-backend.d.ts +19 -19
  65. package/lib/cjs/presentation-backend.js +35 -35
  66. package/lib/cjs/presentation-backend.js.map +1 -1
  67. package/package.json +14 -14
@@ -1,139 +1,139 @@
1
- {
2
- "$schema": "../../../common/Ruleset.schema.json",
3
- "id": "Functional",
4
- "supplementationInfo": {
5
- "supplementationPurpose": "Functional specific customization rules"
6
- },
7
- "requiredSchemas": [
8
- {
9
- "name": "BisCore"
10
- },
11
- {
12
- "name": "Functional"
13
- }
14
- ],
15
- "rules": [
16
- {
17
- "ruleType": "ContentModifier",
18
- "class": {
19
- "schemaName": "Functional",
20
- "className": "FunctionalElement"
21
- },
22
- "relatedProperties": [
23
- {
24
- "propertiesSource": {
25
- "relationship": {
26
- "schemaName": "Functional",
27
- "className": "FunctionalElementIsOfType"
28
- },
29
- "direction": "Forward"
30
- },
31
- "handleTargetClassPolymorphically": true,
32
- "relationshipMeaning": "RelatedInstance",
33
- "nestedRelatedProperties": [
34
- {
35
- "propertiesSource": {
36
- "relationship": {
37
- "schemaName": "BisCore",
38
- "className": "ElementOwnsUniqueAspect"
39
- },
40
- "direction": "Forward"
41
- },
42
- "handleTargetClassPolymorphically": true,
43
- "relationshipMeaning": "SameInstance"
44
- },
45
- {
46
- "propertiesSource": {
47
- "relationship": {
48
- "schemaName": "BisCore",
49
- "className": "ElementOwnsMultiAspects"
50
- },
51
- "direction": "Forward"
52
- },
53
- "handleTargetClassPolymorphically": true,
54
- "relationshipMeaning": "SameInstance"
55
- }
56
- ]
57
- }
58
- ]
59
- },
60
- {
61
- "ruleType": "Content",
62
- "condition": "ContentDisplayType = \"Graphics\" ANDALSO SelectedNode.IsOfClass(\"FunctionalElement\", \"Functional\")",
63
- "onlyIfNotHandled": true,
64
- "specifications": [
65
- {
66
- "specType": "ContentRelatedInstances",
67
- "relationshipPaths": [
68
- [
69
- {
70
- "relationship": {
71
- "schemaName": "BisCore",
72
- "className": "ElementOwnsChildElements"
73
- },
74
- "direction": "Forward",
75
- "targetClass": {
76
- "schemaName": "Functional",
77
- "className": "FunctionalElement"
78
- },
79
- "count": "*"
80
- },
81
- {
82
- "relationship": {
83
- "schemaName": "Functional",
84
- "className": "PhysicalElementFulfillsFunction"
85
- },
86
- "direction": "Backward"
87
- },
88
- {
89
- "relationship": {
90
- "schemaName": "BisCore",
91
- "className": "ElementOwnsChildElements"
92
- },
93
- "direction": "Forward",
94
- "targetClass": {
95
- "schemaName": "BisCore",
96
- "className": "GeometricElement"
97
- },
98
- "count": "*"
99
- }
100
- ],
101
- [
102
- {
103
- "relationship": {
104
- "schemaName": "BisCore",
105
- "className": "ElementOwnsChildElements"
106
- },
107
- "direction": "Forward",
108
- "targetClass": {
109
- "schemaName": "Functional",
110
- "className": "FunctionalElement"
111
- },
112
- "count": "*"
113
- },
114
- {
115
- "relationship": {
116
- "schemaName": "Functional",
117
- "className": "DrawingGraphicRepresentsFunctionalElement"
118
- },
119
- "direction": "Backward"
120
- },
121
- {
122
- "relationship": {
123
- "schemaName": "BisCore",
124
- "className": "ElementOwnsChildElements"
125
- },
126
- "direction": "Forward",
127
- "targetClass": {
128
- "schemaName": "BisCore",
129
- "className": "GeometricElement"
130
- },
131
- "count": "*"
132
- }
133
- ]
134
- ]
135
- }
136
- ]
137
- }
138
- ]
139
- }
1
+ {
2
+ "$schema": "../../../common/Ruleset.schema.json",
3
+ "id": "Functional",
4
+ "supplementationInfo": {
5
+ "supplementationPurpose": "Functional specific customization rules"
6
+ },
7
+ "requiredSchemas": [
8
+ {
9
+ "name": "BisCore"
10
+ },
11
+ {
12
+ "name": "Functional"
13
+ }
14
+ ],
15
+ "rules": [
16
+ {
17
+ "ruleType": "ContentModifier",
18
+ "class": {
19
+ "schemaName": "Functional",
20
+ "className": "FunctionalElement"
21
+ },
22
+ "relatedProperties": [
23
+ {
24
+ "propertiesSource": {
25
+ "relationship": {
26
+ "schemaName": "Functional",
27
+ "className": "FunctionalElementIsOfType"
28
+ },
29
+ "direction": "Forward"
30
+ },
31
+ "handleTargetClassPolymorphically": true,
32
+ "relationshipMeaning": "RelatedInstance",
33
+ "nestedRelatedProperties": [
34
+ {
35
+ "propertiesSource": {
36
+ "relationship": {
37
+ "schemaName": "BisCore",
38
+ "className": "ElementOwnsUniqueAspect"
39
+ },
40
+ "direction": "Forward"
41
+ },
42
+ "handleTargetClassPolymorphically": true,
43
+ "relationshipMeaning": "SameInstance"
44
+ },
45
+ {
46
+ "propertiesSource": {
47
+ "relationship": {
48
+ "schemaName": "BisCore",
49
+ "className": "ElementOwnsMultiAspects"
50
+ },
51
+ "direction": "Forward"
52
+ },
53
+ "handleTargetClassPolymorphically": true,
54
+ "relationshipMeaning": "SameInstance"
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "ruleType": "Content",
62
+ "condition": "ContentDisplayType = \"Graphics\" ANDALSO SelectedNode.IsOfClass(\"FunctionalElement\", \"Functional\")",
63
+ "onlyIfNotHandled": true,
64
+ "specifications": [
65
+ {
66
+ "specType": "ContentRelatedInstances",
67
+ "relationshipPaths": [
68
+ [
69
+ {
70
+ "relationship": {
71
+ "schemaName": "BisCore",
72
+ "className": "ElementOwnsChildElements"
73
+ },
74
+ "direction": "Forward",
75
+ "targetClass": {
76
+ "schemaName": "Functional",
77
+ "className": "FunctionalElement"
78
+ },
79
+ "count": "*"
80
+ },
81
+ {
82
+ "relationship": {
83
+ "schemaName": "Functional",
84
+ "className": "PhysicalElementFulfillsFunction"
85
+ },
86
+ "direction": "Backward"
87
+ },
88
+ {
89
+ "relationship": {
90
+ "schemaName": "BisCore",
91
+ "className": "ElementOwnsChildElements"
92
+ },
93
+ "direction": "Forward",
94
+ "targetClass": {
95
+ "schemaName": "BisCore",
96
+ "className": "GeometricElement"
97
+ },
98
+ "count": "*"
99
+ }
100
+ ],
101
+ [
102
+ {
103
+ "relationship": {
104
+ "schemaName": "BisCore",
105
+ "className": "ElementOwnsChildElements"
106
+ },
107
+ "direction": "Forward",
108
+ "targetClass": {
109
+ "schemaName": "Functional",
110
+ "className": "FunctionalElement"
111
+ },
112
+ "count": "*"
113
+ },
114
+ {
115
+ "relationship": {
116
+ "schemaName": "Functional",
117
+ "className": "DrawingGraphicRepresentsFunctionalElement"
118
+ },
119
+ "direction": "Backward"
120
+ },
121
+ {
122
+ "relationship": {
123
+ "schemaName": "BisCore",
124
+ "className": "ElementOwnsChildElements"
125
+ },
126
+ "direction": "Forward",
127
+ "targetClass": {
128
+ "schemaName": "BisCore",
129
+ "className": "GeometricElement"
130
+ },
131
+ "count": "*"
132
+ }
133
+ ]
134
+ ]
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ }
@@ -1,42 +1,42 @@
1
- /** @packageDocumentation
2
- * @module Logging
3
- */
4
- /**
5
- * Logger categories used by this package
6
- * @note All logger categories in this package start with the `presentation-backend` prefix.
7
- * @see [Logger]($bentley)
8
- * @public
9
- */
10
- export declare enum PresentationBackendLoggerCategory {
11
- Package = "presentation-backend",
12
- /** The logger category used by the [[PresentationManager]] class and other related classes. */
13
- PresentationManager = "presentation-backend.PresentationManager",
14
- /** The logger category used by Presentation RPC implementation. */
15
- Rpc = "presentation-backend.Rpc",
16
- /** The logger category used by Presentation IPC implementation. */
17
- Ipc = "presentation-backend.Ipc"
18
- }
19
- /**
20
- * Logger categories used by this package
21
- * @note Logger categories used by the [[PresentationManager]] native addon.
22
- * @see [Logger]($bentley)
23
- * @public
24
- */
25
- export declare enum PresentationBackendNativeLoggerCategory {
26
- ECObjects = "ECObjects",
27
- ECObjects_ECExpressions = "ECObjects.ECExpressions",
28
- ECObjects_ECExpressions_Parse = "ECObjects.ECExpressions.Parse",
29
- ECObjects_ECExpressions_Evaluate = "ECObjects.ECExpressions.Evaluate",
30
- ECPresentation = "ECPresentation",
31
- ECPresentation_Connections = "ECPresentation.Connections",
32
- ECPresentation_Localization = "ECPresentation.Localization",
33
- ECPresentation_RulesEngine = "ECPresentation.RulesEngine",
34
- ECPresentation_RulesEngine_Content = "ECPresentation.RulesEngine.Content",
35
- ECPresentation_RulesEngine_Localization = "ECPresentation.RulesEngine.Localization",
36
- ECPresentation_RulesEngine_Navigation = "ECPresentation.RulesEngine.Navigation",
37
- ECPresentation_RulesEngine_Navigation_Cache = "ECPresentation.RulesEngine.Navigation.Cache",
38
- ECPresentation_RulesEngine_Threads = "ECPresentation.RulesEngine.Threads",
39
- ECPresentation_RulesEngine_Update = "ECPresentation.RulesEngine.Update",
40
- ECPresentation_RulesEngine_RulesetVariables = "ECPresentation.RulesEngine.RulesetVariables"
41
- }
1
+ /** @packageDocumentation
2
+ * @module Logging
3
+ */
4
+ /**
5
+ * Logger categories used by this package
6
+ * @note All logger categories in this package start with the `presentation-backend` prefix.
7
+ * @see [Logger]($bentley)
8
+ * @public
9
+ */
10
+ export declare enum PresentationBackendLoggerCategory {
11
+ Package = "presentation-backend",
12
+ /** The logger category used by the [[PresentationManager]] class and other related classes. */
13
+ PresentationManager = "presentation-backend.PresentationManager",
14
+ /** The logger category used by Presentation RPC implementation. */
15
+ Rpc = "presentation-backend.Rpc",
16
+ /** The logger category used by Presentation IPC implementation. */
17
+ Ipc = "presentation-backend.Ipc"
18
+ }
19
+ /**
20
+ * Logger categories used by this package
21
+ * @note Logger categories used by the [[PresentationManager]] native addon.
22
+ * @see [Logger]($bentley)
23
+ * @public
24
+ */
25
+ export declare enum PresentationBackendNativeLoggerCategory {
26
+ ECObjects = "ECObjects",
27
+ ECObjects_ECExpressions = "ECObjects.ECExpressions",
28
+ ECObjects_ECExpressions_Parse = "ECObjects.ECExpressions.Parse",
29
+ ECObjects_ECExpressions_Evaluate = "ECObjects.ECExpressions.Evaluate",
30
+ ECPresentation = "ECPresentation",
31
+ ECPresentation_Connections = "ECPresentation.Connections",
32
+ ECPresentation_Localization = "ECPresentation.Localization",
33
+ ECPresentation_RulesEngine = "ECPresentation.RulesEngine",
34
+ ECPresentation_RulesEngine_Content = "ECPresentation.RulesEngine.Content",
35
+ ECPresentation_RulesEngine_Localization = "ECPresentation.RulesEngine.Localization",
36
+ ECPresentation_RulesEngine_Navigation = "ECPresentation.RulesEngine.Navigation",
37
+ ECPresentation_RulesEngine_Navigation_Cache = "ECPresentation.RulesEngine.Navigation.Cache",
38
+ ECPresentation_RulesEngine_Threads = "ECPresentation.RulesEngine.Threads",
39
+ ECPresentation_RulesEngine_Update = "ECPresentation.RulesEngine.Update",
40
+ ECPresentation_RulesEngine_RulesetVariables = "ECPresentation.RulesEngine.RulesetVariables"
41
+ }
42
42
  //# sourceMappingURL=BackendLoggerCategory.d.ts.map
@@ -1,51 +1,51 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Logging
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PresentationBackendNativeLoggerCategory = exports.PresentationBackendLoggerCategory = void 0;
11
- /**
12
- * Logger categories used by this package
13
- * @note All logger categories in this package start with the `presentation-backend` prefix.
14
- * @see [Logger]($bentley)
15
- * @public
16
- */
17
- var PresentationBackendLoggerCategory;
18
- (function (PresentationBackendLoggerCategory) {
19
- PresentationBackendLoggerCategory["Package"] = "presentation-backend";
20
- /** The logger category used by the [[PresentationManager]] class and other related classes. */
21
- PresentationBackendLoggerCategory["PresentationManager"] = "presentation-backend.PresentationManager";
22
- /** The logger category used by Presentation RPC implementation. */
23
- PresentationBackendLoggerCategory["Rpc"] = "presentation-backend.Rpc";
24
- /** The logger category used by Presentation IPC implementation. */
25
- PresentationBackendLoggerCategory["Ipc"] = "presentation-backend.Ipc";
26
- })(PresentationBackendLoggerCategory = exports.PresentationBackendLoggerCategory || (exports.PresentationBackendLoggerCategory = {}));
27
- /**
28
- * Logger categories used by this package
29
- * @note Logger categories used by the [[PresentationManager]] native addon.
30
- * @see [Logger]($bentley)
31
- * @public
32
- */
33
- var PresentationBackendNativeLoggerCategory;
34
- (function (PresentationBackendNativeLoggerCategory) {
35
- PresentationBackendNativeLoggerCategory["ECObjects"] = "ECObjects";
36
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions"] = "ECObjects.ECExpressions";
37
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Parse"] = "ECObjects.ECExpressions.Parse";
38
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Evaluate"] = "ECObjects.ECExpressions.Evaluate";
39
- PresentationBackendNativeLoggerCategory["ECPresentation"] = "ECPresentation";
40
- PresentationBackendNativeLoggerCategory["ECPresentation_Connections"] = "ECPresentation.Connections";
41
- PresentationBackendNativeLoggerCategory["ECPresentation_Localization"] = "ECPresentation.Localization";
42
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine"] = "ECPresentation.RulesEngine";
43
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Content"] = "ECPresentation.RulesEngine.Content";
44
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Localization"] = "ECPresentation.RulesEngine.Localization";
45
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation"] = "ECPresentation.RulesEngine.Navigation";
46
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation_Cache"] = "ECPresentation.RulesEngine.Navigation.Cache";
47
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Threads"] = "ECPresentation.RulesEngine.Threads";
48
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Update"] = "ECPresentation.RulesEngine.Update";
49
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_RulesetVariables"] = "ECPresentation.RulesEngine.RulesetVariables";
50
- })(PresentationBackendNativeLoggerCategory = exports.PresentationBackendNativeLoggerCategory || (exports.PresentationBackendNativeLoggerCategory = {}));
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Logging
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PresentationBackendNativeLoggerCategory = exports.PresentationBackendLoggerCategory = void 0;
11
+ /**
12
+ * Logger categories used by this package
13
+ * @note All logger categories in this package start with the `presentation-backend` prefix.
14
+ * @see [Logger]($bentley)
15
+ * @public
16
+ */
17
+ var PresentationBackendLoggerCategory;
18
+ (function (PresentationBackendLoggerCategory) {
19
+ PresentationBackendLoggerCategory["Package"] = "presentation-backend";
20
+ /** The logger category used by the [[PresentationManager]] class and other related classes. */
21
+ PresentationBackendLoggerCategory["PresentationManager"] = "presentation-backend.PresentationManager";
22
+ /** The logger category used by Presentation RPC implementation. */
23
+ PresentationBackendLoggerCategory["Rpc"] = "presentation-backend.Rpc";
24
+ /** The logger category used by Presentation IPC implementation. */
25
+ PresentationBackendLoggerCategory["Ipc"] = "presentation-backend.Ipc";
26
+ })(PresentationBackendLoggerCategory = exports.PresentationBackendLoggerCategory || (exports.PresentationBackendLoggerCategory = {}));
27
+ /**
28
+ * Logger categories used by this package
29
+ * @note Logger categories used by the [[PresentationManager]] native addon.
30
+ * @see [Logger]($bentley)
31
+ * @public
32
+ */
33
+ var PresentationBackendNativeLoggerCategory;
34
+ (function (PresentationBackendNativeLoggerCategory) {
35
+ PresentationBackendNativeLoggerCategory["ECObjects"] = "ECObjects";
36
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions"] = "ECObjects.ECExpressions";
37
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Parse"] = "ECObjects.ECExpressions.Parse";
38
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Evaluate"] = "ECObjects.ECExpressions.Evaluate";
39
+ PresentationBackendNativeLoggerCategory["ECPresentation"] = "ECPresentation";
40
+ PresentationBackendNativeLoggerCategory["ECPresentation_Connections"] = "ECPresentation.Connections";
41
+ PresentationBackendNativeLoggerCategory["ECPresentation_Localization"] = "ECPresentation.Localization";
42
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine"] = "ECPresentation.RulesEngine";
43
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Content"] = "ECPresentation.RulesEngine.Content";
44
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Localization"] = "ECPresentation.RulesEngine.Localization";
45
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation"] = "ECPresentation.RulesEngine.Navigation";
46
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation_Cache"] = "ECPresentation.RulesEngine.Navigation.Cache";
47
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Threads"] = "ECPresentation.RulesEngine.Threads";
48
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Update"] = "ECPresentation.RulesEngine.Update";
49
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_RulesetVariables"] = "ECPresentation.RulesEngine.RulesetVariables";
50
+ })(PresentationBackendNativeLoggerCategory = exports.PresentationBackendNativeLoggerCategory || (exports.PresentationBackendNativeLoggerCategory = {}));
51
51
  //# sourceMappingURL=BackendLoggerCategory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackendLoggerCategory.js","sourceRoot":"","sources":["../../../src/presentation-backend/BackendLoggerCategory.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH;;;;;GAKG;AACH,IAAY,iCAWX;AAXD,WAAY,iCAAiC;IAC3C,qEAAgC,CAAA;IAEhC,+FAA+F;IAC/F,qGAAgE,CAAA;IAEhE,mEAAmE;IACnE,qEAAgC,CAAA;IAEhC,mEAAmE;IACnE,qEAAgC,CAAA;AAClC,CAAC,EAXW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAW5C;AAED;;;;;GAKG;AACH,IAAY,uCAiBX;AAjBD,WAAY,uCAAuC;IACjD,kEAAuB,CAAA;IACvB,8FAAmD,CAAA;IACnD,0GAA+D,CAAA;IAC/D,gHAAqE,CAAA;IAErE,4EAAiC,CAAA;IACjC,oGAAyD,CAAA;IACzD,sGAA2D,CAAA;IAC3D,oGAAyD,CAAA;IACzD,oHAAyE,CAAA;IACzE,8HAAmF,CAAA;IACnF,0HAA+E,CAAA;IAC/E,sIAA2F,CAAA;IAC3F,oHAAyE,CAAA;IACzE,kHAAuE,CAAA;IACvE,sIAA2F,CAAA;AAC7F,CAAC,EAjBW,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QAiBlD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Logging\r\n */\r\n\r\n/**\r\n * Logger categories used by this package\r\n * @note All logger categories in this package start with the `presentation-backend` prefix.\r\n * @see [Logger]($bentley)\r\n * @public\r\n */\r\nexport enum PresentationBackendLoggerCategory {\r\n Package = \"presentation-backend\",\r\n\r\n /** The logger category used by the [[PresentationManager]] class and other related classes. */\r\n PresentationManager = \"presentation-backend.PresentationManager\",\r\n\r\n /** The logger category used by Presentation RPC implementation. */\r\n Rpc = \"presentation-backend.Rpc\",\r\n\r\n /** The logger category used by Presentation IPC implementation. */\r\n Ipc = \"presentation-backend.Ipc\",\r\n}\r\n\r\n/**\r\n * Logger categories used by this package\r\n * @note Logger categories used by the [[PresentationManager]] native addon.\r\n * @see [Logger]($bentley)\r\n * @public\r\n */\r\nexport enum PresentationBackendNativeLoggerCategory {\r\n ECObjects = \"ECObjects\",\r\n ECObjects_ECExpressions = \"ECObjects.ECExpressions\",\r\n ECObjects_ECExpressions_Parse = \"ECObjects.ECExpressions.Parse\",\r\n ECObjects_ECExpressions_Evaluate = \"ECObjects.ECExpressions.Evaluate\",\r\n\r\n ECPresentation = \"ECPresentation\",\r\n ECPresentation_Connections = \"ECPresentation.Connections\",\r\n ECPresentation_Localization = \"ECPresentation.Localization\",\r\n ECPresentation_RulesEngine = \"ECPresentation.RulesEngine\",\r\n ECPresentation_RulesEngine_Content = \"ECPresentation.RulesEngine.Content\",\r\n ECPresentation_RulesEngine_Localization = \"ECPresentation.RulesEngine.Localization\",\r\n ECPresentation_RulesEngine_Navigation = \"ECPresentation.RulesEngine.Navigation\",\r\n ECPresentation_RulesEngine_Navigation_Cache = \"ECPresentation.RulesEngine.Navigation.Cache\",\r\n ECPresentation_RulesEngine_Threads = \"ECPresentation.RulesEngine.Threads\",\r\n ECPresentation_RulesEngine_Update = \"ECPresentation.RulesEngine.Update\",\r\n ECPresentation_RulesEngine_RulesetVariables = \"ECPresentation.RulesEngine.RulesetVariables\",\r\n}\r\n"]}
1
+ {"version":3,"file":"BackendLoggerCategory.js","sourceRoot":"","sources":["../../../src/presentation-backend/BackendLoggerCategory.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH;;;;;GAKG;AACH,IAAY,iCAWX;AAXD,WAAY,iCAAiC;IAC3C,qEAAgC,CAAA;IAEhC,+FAA+F;IAC/F,qGAAgE,CAAA;IAEhE,mEAAmE;IACnE,qEAAgC,CAAA;IAEhC,mEAAmE;IACnE,qEAAgC,CAAA;AAClC,CAAC,EAXW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAW5C;AAED;;;;;GAKG;AACH,IAAY,uCAiBX;AAjBD,WAAY,uCAAuC;IACjD,kEAAuB,CAAA;IACvB,8FAAmD,CAAA;IACnD,0GAA+D,CAAA;IAC/D,gHAAqE,CAAA;IAErE,4EAAiC,CAAA;IACjC,oGAAyD,CAAA;IACzD,sGAA2D,CAAA;IAC3D,oGAAyD,CAAA;IACzD,oHAAyE,CAAA;IACzE,8HAAmF,CAAA;IACnF,0HAA+E,CAAA;IAC/E,sIAA2F,CAAA;IAC3F,oHAAyE,CAAA;IACzE,kHAAuE,CAAA;IACvE,sIAA2F,CAAA;AAC7F,CAAC,EAjBW,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QAiBlD","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Logging\n */\n\n/**\n * Logger categories used by this package\n * @note All logger categories in this package start with the `presentation-backend` prefix.\n * @see [Logger]($bentley)\n * @public\n */\nexport enum PresentationBackendLoggerCategory {\n Package = \"presentation-backend\",\n\n /** The logger category used by the [[PresentationManager]] class and other related classes. */\n PresentationManager = \"presentation-backend.PresentationManager\",\n\n /** The logger category used by Presentation RPC implementation. */\n Rpc = \"presentation-backend.Rpc\",\n\n /** The logger category used by Presentation IPC implementation. */\n Ipc = \"presentation-backend.Ipc\",\n}\n\n/**\n * Logger categories used by this package\n * @note Logger categories used by the [[PresentationManager]] native addon.\n * @see [Logger]($bentley)\n * @public\n */\nexport enum PresentationBackendNativeLoggerCategory {\n ECObjects = \"ECObjects\",\n ECObjects_ECExpressions = \"ECObjects.ECExpressions\",\n ECObjects_ECExpressions_Parse = \"ECObjects.ECExpressions.Parse\",\n ECObjects_ECExpressions_Evaluate = \"ECObjects.ECExpressions.Evaluate\",\n\n ECPresentation = \"ECPresentation\",\n ECPresentation_Connections = \"ECPresentation.Connections\",\n ECPresentation_Localization = \"ECPresentation.Localization\",\n ECPresentation_RulesEngine = \"ECPresentation.RulesEngine\",\n ECPresentation_RulesEngine_Content = \"ECPresentation.RulesEngine.Content\",\n ECPresentation_RulesEngine_Localization = \"ECPresentation.RulesEngine.Localization\",\n ECPresentation_RulesEngine_Navigation = \"ECPresentation.RulesEngine.Navigation\",\n ECPresentation_RulesEngine_Navigation_Cache = \"ECPresentation.RulesEngine.Navigation.Cache\",\n ECPresentation_RulesEngine_Threads = \"ECPresentation.RulesEngine.Threads\",\n ECPresentation_RulesEngine_Update = \"ECPresentation.RulesEngine.Update\",\n ECPresentation_RulesEngine_RulesetVariables = \"ECPresentation.RulesEngine.RulesetVariables\",\n}\n"]}
@@ -1,14 +1,9 @@
1
- /** @packageDocumentation
2
- * @module Core
3
- */
4
- /**
5
- * Path to presentation-backend assets root directory.
6
- * @internal
7
- */
8
- export declare const PRESENTATION_BACKEND_ASSETS_ROOT: string;
9
- /**
10
- * Path to presentation-common assets root directory.
11
- * @internal
12
- */
13
- export declare const PRESENTATION_COMMON_ASSETS_ROOT: string;
1
+ /** @packageDocumentation
2
+ * @module Core
3
+ */
4
+ /**
5
+ * Path to presentation-backend assets root directory.
6
+ * @internal
7
+ */
8
+ export declare const PRESENTATION_BACKEND_ASSETS_ROOT: string;
14
9
  //# sourceMappingURL=Constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":"AAIA;;GAEG;AAKH;;;GAGG;AAEH,eAAO,MAAM,gCAAgC,QAA0H,CAAC;AAExK;;;GAGG;AAEH,eAAO,MAAM,+BAA+B,QAAuJ,CAAC"}
1
+ {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;GAGG;AAEH,eAAO,MAAM,gCAAgC,QAA0H,CAAC"}
@@ -1,44 +1,37 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Core
8
- */
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PRESENTATION_COMMON_ASSETS_ROOT = exports.PRESENTATION_BACKEND_ASSETS_ROOT = void 0;
30
- const path = __importStar(require("path"));
31
- const presentation_common_1 = require("@itwin/presentation-common");
32
- /**
33
- * Path to presentation-backend assets root directory.
34
- * @internal
35
- */
36
- // istanbul ignore next
37
- exports.PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf("presentation-backend")) ? path.join(__dirname, "../assets") : path.join(__dirname, "assets");
38
- /**
39
- * Path to presentation-common assets root directory.
40
- * @internal
41
- */
42
- // istanbul ignore next
43
- exports.PRESENTATION_COMMON_ASSETS_ROOT = (-1 !== presentation_common_1.PRESENTATION_COMMON_ROOT.indexOf("presentation-common")) ? path.join(presentation_common_1.PRESENTATION_COMMON_ROOT, "../assets") : path.join(__dirname, "assets");
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Core
8
+ */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PRESENTATION_BACKEND_ASSETS_ROOT = void 0;
30
+ const path = __importStar(require("path"));
31
+ /**
32
+ * Path to presentation-backend assets root directory.
33
+ * @internal
34
+ */
35
+ // istanbul ignore next
36
+ exports.PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf("presentation-backend")) ? path.join(__dirname, "../assets") : path.join(__dirname, "assets");
44
37
  //# sourceMappingURL=Constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;;;;;;;;;;;;;;;;;AAEH,2CAA6B;AAC7B,oEAAsE;AAEtE;;;GAGG;AACH,uBAAuB;AACV,QAAA,gCAAgC,GAAG,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAExK;;;GAGG;AACH,uBAAuB;AACV,QAAA,+BAA+B,GAAG,CAAC,CAAC,CAAC,KAAK,8CAAwB,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,8CAAwB,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport * as path from \"path\";\r\nimport { PRESENTATION_COMMON_ROOT } from \"@itwin/presentation-common\";\r\n\r\n/**\r\n * Path to presentation-backend assets root directory.\r\n * @internal\r\n */\r\n// istanbul ignore next\r\nexport const PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf(\"presentation-backend\")) ? path.join(__dirname, \"../assets\") : path.join(__dirname, \"assets\");\r\n\r\n/**\r\n * Path to presentation-common assets root directory.\r\n * @internal\r\n */\r\n// istanbul ignore next\r\nexport const PRESENTATION_COMMON_ASSETS_ROOT = (-1 !== PRESENTATION_COMMON_ROOT.indexOf(\"presentation-common\")) ? path.join(PRESENTATION_COMMON_ROOT, \"../assets\") : path.join(__dirname, \"assets\");\r\n"]}
1
+ {"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;;;;;;;;;;;;;;;;;AAEH,2CAA6B;AAE7B;;;GAGG;AACH,uBAAuB;AACV,QAAA,gCAAgC,GAAG,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Core\n */\n\nimport * as path from \"path\";\n\n/**\n * Path to presentation-backend assets root directory.\n * @internal\n */\n// istanbul ignore next\nexport const PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf(\"presentation-backend\")) ? path.join(__dirname, \"../assets\") : path.join(__dirname, \"assets\");\n"]}
@@ -1,12 +1,12 @@
1
- /** @packageDocumentation
2
- * @module Core
3
- */
4
- import { IModelDb } from "@itwin/core-backend";
5
- import { Content, ElementProperties } from "@itwin/presentation-common";
6
- /** @internal */
7
- export declare const buildElementsProperties: (content: Content | undefined) => ElementProperties[];
8
- /** @internal */
9
- export declare function getElementsCount(db: IModelDb, classNames?: string[]): number;
10
- /** @internal */
11
- export declare function iterateElementIds(db: IModelDb, classNames?: string[], limit?: number): Generator<Map<string, string[]>, void, unknown>;
1
+ /** @packageDocumentation
2
+ * @module Core
3
+ */
4
+ import { IModelDb } from "@itwin/core-backend";
5
+ import { Content, ElementProperties } from "@itwin/presentation-common";
6
+ /** @internal */
7
+ export declare const buildElementsProperties: (content: Content | undefined) => ElementProperties[];
8
+ /** @internal */
9
+ export declare function getElementsCount(db: IModelDb, classNames?: string[]): number;
10
+ /** @internal */
11
+ export declare function iterateElementIds(db: IModelDb, classNames?: string[], limit?: number): Generator<Map<string, string[]>, void, unknown>;
12
12
  //# sourceMappingURL=ElementPropertiesHelper.d.ts.map