@itwin/presentation-common 5.0.0-dev.8 → 5.0.0-dev.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -1
- package/Ruleset.schema.json +3 -258
- package/lib/cjs/presentation-common/AsyncTasks.d.ts +4 -4
- package/lib/cjs/presentation-common/AsyncTasks.d.ts.map +1 -1
- package/lib/cjs/presentation-common/AsyncTasks.js +5 -6
- package/lib/cjs/presentation-common/AsyncTasks.js.map +1 -1
- package/lib/cjs/presentation-common/EC.d.ts +36 -80
- package/lib/cjs/presentation-common/EC.d.ts.map +1 -1
- package/lib/cjs/presentation-common/EC.js +1 -97
- package/lib/cjs/presentation-common/EC.js.map +1 -1
- package/lib/cjs/presentation-common/ElementProperties.js +16 -9
- package/lib/cjs/presentation-common/ElementProperties.js.map +1 -1
- package/lib/cjs/presentation-common/Error.d.ts +2 -0
- package/lib/cjs/presentation-common/Error.d.ts.map +1 -1
- package/lib/cjs/presentation-common/Error.js +2 -0
- package/lib/cjs/presentation-common/Error.js.map +1 -1
- package/lib/cjs/presentation-common/KeySet.d.ts +2 -2
- package/lib/cjs/presentation-common/KeySet.d.ts.map +1 -1
- package/lib/cjs/presentation-common/KeySet.js +9 -11
- package/lib/cjs/presentation-common/KeySet.js.map +1 -1
- package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js +4 -1
- package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
- package/lib/cjs/presentation-common/LabelDefinition.d.ts +0 -48
- package/lib/cjs/presentation-common/LabelDefinition.d.ts.map +1 -1
- package/lib/cjs/presentation-common/LabelDefinition.js +1 -44
- package/lib/cjs/presentation-common/LabelDefinition.js.map +1 -1
- package/lib/cjs/presentation-common/LocalizationHelper.js +1 -0
- package/lib/cjs/presentation-common/LocalizationHelper.js.map +1 -1
- package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts +31 -10
- package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
- package/lib/cjs/presentation-common/PresentationManagerOptions.js +0 -5
- package/lib/cjs/presentation-common/PresentationManagerOptions.js.map +1 -1
- package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts +9 -9
- package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
- package/lib/cjs/presentation-common/PresentationRpcInterface.js +36 -21
- package/lib/cjs/presentation-common/PresentationRpcInterface.js.map +1 -1
- package/lib/cjs/presentation-common/RegisteredRuleset.d.ts +3 -2
- package/lib/cjs/presentation-common/RegisteredRuleset.d.ts.map +1 -1
- package/lib/cjs/presentation-common/RegisteredRuleset.js +9 -1
- package/lib/cjs/presentation-common/RegisteredRuleset.js.map +1 -1
- package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts +9 -12
- package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
- package/lib/cjs/presentation-common/RpcRequestsHandler.js +37 -30
- package/lib/cjs/presentation-common/RpcRequestsHandler.js.map +1 -1
- package/lib/cjs/presentation-common/RulesetVariables.d.ts +1 -46
- package/lib/cjs/presentation-common/RulesetVariables.d.ts.map +1 -1
- package/lib/cjs/presentation-common/RulesetVariables.js.map +1 -1
- package/lib/cjs/presentation-common/Update.d.ts +2 -79
- package/lib/cjs/presentation-common/Update.d.ts.map +1 -1
- package/lib/cjs/presentation-common/Update.js +1 -104
- package/lib/cjs/presentation-common/Update.js.map +1 -1
- package/lib/cjs/presentation-common/Utils.d.ts +21 -0
- package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
- package/lib/cjs/presentation-common/Utils.js +57 -0
- package/lib/cjs/presentation-common/Utils.js.map +1 -1
- package/lib/cjs/presentation-common/content/Content.d.ts +0 -7
- package/lib/cjs/presentation-common/content/Content.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Content.js +5 -10
- package/lib/cjs/presentation-common/content/Content.js.map +1 -1
- package/lib/cjs/presentation-common/content/ContentTraverser.d.ts +1 -1
- package/lib/cjs/presentation-common/content/ContentTraverser.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/ContentTraverser.js +116 -28
- package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
- package/lib/cjs/presentation-common/content/Descriptor.d.ts +2 -31
- package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Descriptor.js +68 -22
- package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
- package/lib/cjs/presentation-common/content/Fields.d.ts +151 -27
- package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Fields.js +264 -140
- package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
- package/lib/cjs/presentation-common/content/Item.d.ts +26 -31
- package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Item.js +52 -67
- package/lib/cjs/presentation-common/content/Item.js.map +1 -1
- package/lib/cjs/presentation-common/content/Property.d.ts +2 -12
- package/lib/cjs/presentation-common/content/Property.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Property.js +0 -18
- package/lib/cjs/presentation-common/content/Property.js.map +1 -1
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.js +3 -0
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.js.map +1 -1
- package/lib/cjs/presentation-common/content/Value.d.ts +5 -107
- package/lib/cjs/presentation-common/content/Value.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Value.js +1 -215
- package/lib/cjs/presentation-common/content/Value.js.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
- package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js +0 -23
- package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/Key.d.ts +0 -83
- package/lib/cjs/presentation-common/hierarchy/Key.d.ts.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/Key.js +6 -24
- package/lib/cjs/presentation-common/hierarchy/Key.js.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/Node.d.ts +4 -107
- package/lib/cjs/presentation-common/hierarchy/Node.d.ts.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/Node.js +0 -99
- package/lib/cjs/presentation-common/hierarchy/Node.js.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
- package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/NodePathElement.js +0 -117
- package/lib/cjs/presentation-common/hierarchy/NodePathElement.js.map +1 -1
- package/lib/cjs/presentation-common/rules/Rule.d.ts +0 -14
- package/lib/cjs/presentation-common/rules/Rule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/Rule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +0 -7
- package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +1 -5
- package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +2 -28
- package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/GroupingRule.js +1 -15
- package/lib/cjs/presentation-common/rules/customization/GroupingRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +2 -0
- package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +0 -9
- package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/selection/SelectionScope.d.ts +3 -0
- package/lib/cjs/presentation-common/selection/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/presentation-common/selection/SelectionScope.js +1 -0
- package/lib/cjs/presentation-common/selection/SelectionScope.js.map +1 -1
- package/lib/cjs/presentation-common.d.ts +1 -5
- package/lib/cjs/presentation-common.d.ts.map +1 -1
- package/lib/cjs/presentation-common.js +6 -5
- package/lib/cjs/presentation-common.js.map +1 -1
- package/lib/esm/presentation-common/AsyncTasks.d.ts +4 -4
- package/lib/esm/presentation-common/AsyncTasks.d.ts.map +1 -1
- package/lib/esm/presentation-common/AsyncTasks.js +5 -6
- package/lib/esm/presentation-common/AsyncTasks.js.map +1 -1
- package/lib/esm/presentation-common/EC.d.ts +36 -80
- package/lib/esm/presentation-common/EC.d.ts.map +1 -1
- package/lib/esm/presentation-common/EC.js +0 -96
- package/lib/esm/presentation-common/EC.js.map +1 -1
- package/lib/esm/presentation-common/ElementProperties.js +16 -9
- package/lib/esm/presentation-common/ElementProperties.js.map +1 -1
- package/lib/esm/presentation-common/Error.d.ts +2 -0
- package/lib/esm/presentation-common/Error.d.ts.map +1 -1
- package/lib/esm/presentation-common/Error.js +2 -0
- package/lib/esm/presentation-common/Error.js.map +1 -1
- package/lib/esm/presentation-common/KeySet.d.ts +2 -2
- package/lib/esm/presentation-common/KeySet.d.ts.map +1 -1
- package/lib/esm/presentation-common/KeySet.js +9 -11
- package/lib/esm/presentation-common/KeySet.js.map +1 -1
- package/lib/esm/presentation-common/KoqPropertyValueFormatter.js +5 -2
- package/lib/esm/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
- package/lib/esm/presentation-common/LabelDefinition.d.ts +0 -48
- package/lib/esm/presentation-common/LabelDefinition.d.ts.map +1 -1
- package/lib/esm/presentation-common/LabelDefinition.js +0 -43
- package/lib/esm/presentation-common/LabelDefinition.js.map +1 -1
- package/lib/esm/presentation-common/LocalizationHelper.js +1 -0
- package/lib/esm/presentation-common/LocalizationHelper.js.map +1 -1
- package/lib/esm/presentation-common/PresentationManagerOptions.d.ts +31 -10
- package/lib/esm/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
- package/lib/esm/presentation-common/PresentationManagerOptions.js +0 -4
- package/lib/esm/presentation-common/PresentationManagerOptions.js.map +1 -1
- package/lib/esm/presentation-common/PresentationRpcInterface.d.ts +9 -9
- package/lib/esm/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
- package/lib/esm/presentation-common/PresentationRpcInterface.js +38 -22
- package/lib/esm/presentation-common/PresentationRpcInterface.js.map +1 -1
- package/lib/esm/presentation-common/RegisteredRuleset.d.ts +3 -2
- package/lib/esm/presentation-common/RegisteredRuleset.d.ts.map +1 -1
- package/lib/esm/presentation-common/RegisteredRuleset.js +9 -1
- package/lib/esm/presentation-common/RegisteredRuleset.js.map +1 -1
- package/lib/esm/presentation-common/RpcRequestsHandler.d.ts +9 -12
- package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
- package/lib/esm/presentation-common/RpcRequestsHandler.js +39 -32
- package/lib/esm/presentation-common/RpcRequestsHandler.js.map +1 -1
- package/lib/esm/presentation-common/RulesetVariables.d.ts +1 -46
- package/lib/esm/presentation-common/RulesetVariables.d.ts.map +1 -1
- package/lib/esm/presentation-common/RulesetVariables.js.map +1 -1
- package/lib/esm/presentation-common/Update.d.ts +2 -79
- package/lib/esm/presentation-common/Update.d.ts.map +1 -1
- package/lib/esm/presentation-common/Update.js +0 -103
- package/lib/esm/presentation-common/Update.js.map +1 -1
- package/lib/esm/presentation-common/Utils.d.ts +21 -0
- package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
- package/lib/esm/presentation-common/Utils.js +54 -0
- package/lib/esm/presentation-common/Utils.js.map +1 -1
- package/lib/esm/presentation-common/content/Content.d.ts +0 -7
- package/lib/esm/presentation-common/content/Content.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Content.js +5 -10
- package/lib/esm/presentation-common/content/Content.js.map +1 -1
- package/lib/esm/presentation-common/content/ContentTraverser.d.ts +1 -1
- package/lib/esm/presentation-common/content/ContentTraverser.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/ContentTraverser.js +117 -29
- package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
- package/lib/esm/presentation-common/content/Descriptor.d.ts +2 -31
- package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Descriptor.js +68 -22
- package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
- package/lib/esm/presentation-common/content/Fields.d.ts +151 -27
- package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Fields.js +264 -140
- package/lib/esm/presentation-common/content/Fields.js.map +1 -1
- package/lib/esm/presentation-common/content/Item.d.ts +26 -31
- package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Item.js +52 -67
- package/lib/esm/presentation-common/content/Item.js.map +1 -1
- package/lib/esm/presentation-common/content/Property.d.ts +2 -12
- package/lib/esm/presentation-common/content/Property.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Property.js +0 -18
- package/lib/esm/presentation-common/content/Property.js.map +1 -1
- package/lib/esm/presentation-common/content/PropertyValueFormatter.js +3 -0
- package/lib/esm/presentation-common/content/PropertyValueFormatter.js.map +1 -1
- package/lib/esm/presentation-common/content/Value.d.ts +5 -107
- package/lib/esm/presentation-common/content/Value.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Value.js +0 -214
- package/lib/esm/presentation-common/content/Value.js.map +1 -1
- package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
- package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
- package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js +1 -22
- package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
- package/lib/esm/presentation-common/hierarchy/Key.d.ts +0 -83
- package/lib/esm/presentation-common/hierarchy/Key.d.ts.map +1 -1
- package/lib/esm/presentation-common/hierarchy/Key.js +6 -24
- package/lib/esm/presentation-common/hierarchy/Key.js.map +1 -1
- package/lib/esm/presentation-common/hierarchy/Node.d.ts +4 -107
- package/lib/esm/presentation-common/hierarchy/Node.d.ts.map +1 -1
- package/lib/esm/presentation-common/hierarchy/Node.js +1 -98
- package/lib/esm/presentation-common/hierarchy/Node.js.map +1 -1
- package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
- package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
- package/lib/esm/presentation-common/hierarchy/NodePathElement.js +1 -116
- package/lib/esm/presentation-common/hierarchy/NodePathElement.js.map +1 -1
- package/lib/esm/presentation-common/rules/Rule.d.ts +0 -14
- package/lib/esm/presentation-common/rules/Rule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/Rule.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +0 -7
- package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +1 -5
- package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +2 -28
- package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/customization/GroupingRule.js +0 -14
- package/lib/esm/presentation-common/rules/customization/GroupingRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +2 -0
- package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +0 -9
- package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/selection/SelectionScope.d.ts +3 -0
- package/lib/esm/presentation-common/selection/SelectionScope.d.ts.map +1 -1
- package/lib/esm/presentation-common/selection/SelectionScope.js +1 -0
- package/lib/esm/presentation-common/selection/SelectionScope.js.map +1 -1
- package/lib/esm/presentation-common.d.ts +1 -5
- package/lib/esm/presentation-common.d.ts.map +1 -1
- package/lib/esm/presentation-common.js +1 -5
- package/lib/esm/presentation-common.js.map +1 -1
- package/package.json +17 -18
- package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
- package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js +0 -10
- package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
- package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js +0 -10
- package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
- package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/LabelOverride.js +0 -10
- package/lib/cjs/presentation-common/rules/customization/LabelOverride.js.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
- package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
- package/lib/cjs/presentation-common/rules/customization/StyleOverride.js +0 -10
- package/lib/cjs/presentation-common/rules/customization/StyleOverride.js.map +0 -1
- package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
- package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
- package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js +0 -9
- package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
- package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
- package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
- package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js +0 -9
- package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
- package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
- package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
- package/lib/esm/presentation-common/rules/customization/LabelOverride.js +0 -9
- package/lib/esm/presentation-common/rules/customization/LabelOverride.js.map +0 -1
- package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
- package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
- package/lib/esm/presentation-common/rules/customization/StyleOverride.js +0 -9
- package/lib/esm/presentation-common/rules/customization/StyleOverride.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
# Change Log - @itwin/presentation-common
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 11 Mar 2025 15:27:53 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.10.10
|
|
6
|
+
Tue, 11 Mar 2025 15:25:11 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 4.10.9
|
|
11
|
+
Tue, 11 Mar 2025 05:17:33 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
14
|
+
|
|
15
|
+
## 4.10.8
|
|
16
|
+
Thu, 06 Mar 2025 14:13:37 GMT
|
|
17
|
+
|
|
18
|
+
_Version update only_
|
|
19
|
+
|
|
20
|
+
## 4.10.7
|
|
21
|
+
Tue, 18 Feb 2025 17:27:03 GMT
|
|
22
|
+
|
|
23
|
+
_Version update only_
|
|
24
|
+
|
|
25
|
+
## 4.10.6
|
|
26
|
+
Fri, 24 Jan 2025 08:02:40 GMT
|
|
27
|
+
|
|
28
|
+
_Version update only_
|
|
29
|
+
|
|
30
|
+
## 4.10.5
|
|
31
|
+
Tue, 21 Jan 2025 21:56:45 GMT
|
|
32
|
+
|
|
33
|
+
_Version update only_
|
|
34
|
+
|
|
35
|
+
## 4.10.4
|
|
36
|
+
Mon, 13 Jan 2025 14:06:43 GMT
|
|
37
|
+
|
|
38
|
+
_Version update only_
|
|
39
|
+
|
|
40
|
+
## 4.10.3
|
|
41
|
+
Mon, 06 Jan 2025 14:00:13 GMT
|
|
42
|
+
|
|
43
|
+
_Version update only_
|
|
44
|
+
|
|
45
|
+
## 4.10.2
|
|
46
|
+
Thu, 21 Nov 2024 15:22:20 GMT
|
|
47
|
+
|
|
48
|
+
_Version update only_
|
|
4
49
|
|
|
5
50
|
## 4.10.1
|
|
6
51
|
Thu, 14 Nov 2024 18:11:00 GMT
|
package/Ruleset.schema.json
CHANGED
|
@@ -72,63 +72,6 @@
|
|
|
72
72
|
],
|
|
73
73
|
"type": "object"
|
|
74
74
|
},
|
|
75
|
-
"CheckBoxRule": {
|
|
76
|
-
"additionalProperties": false,
|
|
77
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
78
|
-
"description": "CheckBox rules provide a way to create a checkbox for specific types of ECInstance's.",
|
|
79
|
-
"properties": {
|
|
80
|
-
"condition": {
|
|
81
|
-
"description": "Defines a condition for the rule, which needs to be met in order to execute it. Condition\nis an ECExpression, which can use\na limited set of symbols.",
|
|
82
|
-
"type": "string"
|
|
83
|
-
},
|
|
84
|
-
"defaultValue": {
|
|
85
|
-
"description": "Default value to use for the check box state\n\nNote: Only makes sense when *not* bound to an ECProperty.",
|
|
86
|
-
"type": "boolean"
|
|
87
|
-
},
|
|
88
|
-
"isEnabled": {
|
|
89
|
-
"description": "Indicates whether check box is enabled or disabled.",
|
|
90
|
-
"type": [
|
|
91
|
-
"string",
|
|
92
|
-
"boolean"
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
"onlyIfNotHandled": {
|
|
96
|
-
"description": "Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule\npriorities and definition order). This allows adding fallback rules which can be overriden by higher-priority rules.",
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"priority": {
|
|
100
|
-
"description": "Defines the order in which rules are handled, higher number means the rule is handled first. If priorities are\nequal, the rules are handled in the order they're defined.",
|
|
101
|
-
"type": "integer"
|
|
102
|
-
},
|
|
103
|
-
"propertyName": {
|
|
104
|
-
"description": "Name of boolean type ECProperty which is bound with the check box state. When set, property\nvalue gets bound to checkbox state.",
|
|
105
|
-
"minLength": 1,
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"requiredSchemas": {
|
|
109
|
-
"description": "A list of ECSchema requirements that need to be met for the rule to be used.",
|
|
110
|
-
"items": {
|
|
111
|
-
"$ref": "#/definitions/RequiredSchemaSpecification"
|
|
112
|
-
},
|
|
113
|
-
"type": "array"
|
|
114
|
-
},
|
|
115
|
-
"ruleType": {
|
|
116
|
-
"description": "Used for serializing to JSON.",
|
|
117
|
-
"enum": [
|
|
118
|
-
"CheckBox"
|
|
119
|
-
],
|
|
120
|
-
"type": "string"
|
|
121
|
-
},
|
|
122
|
-
"useInversedPropertyValue": {
|
|
123
|
-
"description": "Should property value be inversed for the check box state.\n\nNote: Only makes sense when bound to an ECProperty.",
|
|
124
|
-
"type": "boolean"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"required": [
|
|
128
|
-
"ruleType"
|
|
129
|
-
],
|
|
130
|
-
"type": "object"
|
|
131
|
-
},
|
|
132
75
|
"ChildNodeRule": {
|
|
133
76
|
"additionalProperties": false,
|
|
134
77
|
"description": "Child node rules are used to define child nodes in a hierarchy.",
|
|
@@ -315,11 +258,6 @@
|
|
|
315
258
|
},
|
|
316
259
|
"type": "array"
|
|
317
260
|
},
|
|
318
|
-
"showImages": {
|
|
319
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
320
|
-
"description": "Should image IDs be calculated for the returned instances. When `true`, `ImageIdOverride` rules get applied when\ncreating the content.",
|
|
321
|
-
"type": "boolean"
|
|
322
|
-
},
|
|
323
261
|
"specType": {
|
|
324
262
|
"description": "Used for serializing to JSON.",
|
|
325
263
|
"enum": [
|
|
@@ -460,11 +398,6 @@
|
|
|
460
398
|
},
|
|
461
399
|
"type": "array"
|
|
462
400
|
},
|
|
463
|
-
"showImages": {
|
|
464
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
465
|
-
"description": "Should image IDs be calculated for the returned instances. When `true`, `ImageIdOverride` rules get applied when\ncreating the content.",
|
|
466
|
-
"type": "boolean"
|
|
467
|
-
},
|
|
468
401
|
"specType": {
|
|
469
402
|
"description": "Used for serializing to JSON.",
|
|
470
403
|
"enum": [
|
|
@@ -571,6 +504,7 @@
|
|
|
571
504
|
"type": "boolean"
|
|
572
505
|
},
|
|
573
506
|
"imageId": {
|
|
507
|
+
"deprecated": "in 5.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
574
508
|
"description": "Specifies node's image ID. If set, the ID is assigned to `Node.imageId` and it's\nup to the UI component to decide what to do with it.",
|
|
575
509
|
"type": "string"
|
|
576
510
|
},
|
|
@@ -717,32 +651,20 @@
|
|
|
717
651
|
{
|
|
718
652
|
"$ref": "#/definitions/NodeArtifactsRule"
|
|
719
653
|
},
|
|
720
|
-
{
|
|
721
|
-
"$ref": "#/definitions/CheckBoxRule"
|
|
722
|
-
},
|
|
723
654
|
{
|
|
724
655
|
"$ref": "#/definitions/ExtendedDataRule"
|
|
725
656
|
},
|
|
726
657
|
{
|
|
727
658
|
"$ref": "#/definitions/GroupingRule"
|
|
728
659
|
},
|
|
729
|
-
{
|
|
730
|
-
"$ref": "#/definitions/ImageIdOverride"
|
|
731
|
-
},
|
|
732
660
|
{
|
|
733
661
|
"$ref": "#/definitions/InstanceLabelOverride"
|
|
734
662
|
},
|
|
735
|
-
{
|
|
736
|
-
"$ref": "#/definitions/LabelOverride"
|
|
737
|
-
},
|
|
738
663
|
{
|
|
739
664
|
"$ref": "#/definitions/PropertySortingRule"
|
|
740
665
|
},
|
|
741
666
|
{
|
|
742
667
|
"$ref": "#/definitions/DisabledSortingRule"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"$ref": "#/definitions/StyleOverride"
|
|
746
668
|
}
|
|
747
669
|
],
|
|
748
670
|
"description": "Customization rules allow customizing each node or content item separately.\nMost of the rules have a `condition` property which uses ECExpressions\nfor conditional rule filtering.\n\n**Nested customization rules:**\n\nCustomization rules may be specified at ruleset level, in which case they're\napplied to all content produced by the ruleset, or nested under navigation rules,\nin which case they're applied only for nodes created by those rules.\n\n**Customization rule priorities:**\n\nCustomization rules have a `priority` attribute which defines the order in which they're applied. If priorities match,\nrules engine looks at the nesting level - the deeper the rule is nested, the higher is its `priority`.\nIf the nesting levels also match, the rule defined first wins."
|
|
@@ -988,49 +910,6 @@
|
|
|
988
910
|
],
|
|
989
911
|
"type": "object"
|
|
990
912
|
},
|
|
991
|
-
"ImageIdOverride": {
|
|
992
|
-
"additionalProperties": false,
|
|
993
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
994
|
-
"description": "ImageId override rules allow setting an image ID to specific types of ECInstances.",
|
|
995
|
-
"properties": {
|
|
996
|
-
"condition": {
|
|
997
|
-
"description": "Defines a condition for the rule, which needs to be met in order to execute it. Condition\nis an ECExpression, which can use\na limited set of symbols.",
|
|
998
|
-
"type": "string"
|
|
999
|
-
},
|
|
1000
|
-
"imageIdExpression": {
|
|
1001
|
-
"description": "An expression whose result becomes the image ID. This is\nan ECExpression, so ID can be\ndefined/formatted dynamically based on the context - for example ECInstance property value.",
|
|
1002
|
-
"minLength": 1,
|
|
1003
|
-
"type": "string"
|
|
1004
|
-
},
|
|
1005
|
-
"onlyIfNotHandled": {
|
|
1006
|
-
"description": "Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule\npriorities and definition order). This allows adding fallback rules which can be overriden by higher-priority rules.",
|
|
1007
|
-
"type": "boolean"
|
|
1008
|
-
},
|
|
1009
|
-
"priority": {
|
|
1010
|
-
"description": "Defines the order in which rules are handled, higher number means the rule is handled first. If priorities are\nequal, the rules are handled in the order they're defined.",
|
|
1011
|
-
"type": "integer"
|
|
1012
|
-
},
|
|
1013
|
-
"requiredSchemas": {
|
|
1014
|
-
"description": "A list of ECSchema requirements that need to be met for the rule to be used.",
|
|
1015
|
-
"items": {
|
|
1016
|
-
"$ref": "#/definitions/RequiredSchemaSpecification"
|
|
1017
|
-
},
|
|
1018
|
-
"type": "array"
|
|
1019
|
-
},
|
|
1020
|
-
"ruleType": {
|
|
1021
|
-
"description": "Used for serializing to JSON.",
|
|
1022
|
-
"enum": [
|
|
1023
|
-
"ImageIdOverride"
|
|
1024
|
-
],
|
|
1025
|
-
"type": "string"
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
"required": [
|
|
1029
|
-
"imageIdExpression",
|
|
1030
|
-
"ruleType"
|
|
1031
|
-
],
|
|
1032
|
-
"type": "object"
|
|
1033
|
-
},
|
|
1034
913
|
"InstanceLabelOverride": {
|
|
1035
914
|
"additionalProperties": false,
|
|
1036
915
|
"description": "Instance label override rule provides a way to set instance label to one of its property values,\nother attributes and/or combination of them.",
|
|
@@ -1302,11 +1181,6 @@
|
|
|
1302
1181
|
"additionalProperties": false,
|
|
1303
1182
|
"description": "Returns nodes for instances of specific ECClasses.",
|
|
1304
1183
|
"properties": {
|
|
1305
|
-
"arePolymorphic": {
|
|
1306
|
-
"deprecated": "in 3.x. The attribute was replaced by `arePolymorphic` attribute specified individually for each class definition\nunder `classes` and `excludedClasses` attributes. At the moment, to keep backwards compatibility, this attribute acts\nas a fallback value in case the flag is not specified individually for a class definition.",
|
|
1307
|
-
"description": "Tells whether selecting instances from ECClasses specified in `classes` and `excludedClasses`\nattributes should be polymorphic or not.",
|
|
1308
|
-
"type": "boolean"
|
|
1309
|
-
},
|
|
1310
1184
|
"classes": {
|
|
1311
1185
|
"anyOf": [
|
|
1312
1186
|
{
|
|
@@ -1408,53 +1282,6 @@
|
|
|
1408
1282
|
],
|
|
1409
1283
|
"type": "object"
|
|
1410
1284
|
},
|
|
1411
|
-
"LabelOverride": {
|
|
1412
|
-
"additionalProperties": false,
|
|
1413
|
-
"deprecated": "in 3.x. Use `InstanceLabelOverride` rule instead.",
|
|
1414
|
-
"description": "Label override rules provide advanced ways to override instance labels and descriptions in\nexchange of some performance penalty.",
|
|
1415
|
-
"properties": {
|
|
1416
|
-
"condition": {
|
|
1417
|
-
"description": "Defines a condition for the rule, which needs to be met in order to execute it. Condition\nis an ECExpression, which can use\na limited set of symbols.",
|
|
1418
|
-
"type": "string"
|
|
1419
|
-
},
|
|
1420
|
-
"description": {
|
|
1421
|
-
"description": "An expression whose result becomes the description. This is\nan ECExpression, so\ndescription can be defined/formatted dynamically based on the context - for example\nECInstance property value. May be localized.",
|
|
1422
|
-
"minLength": 1,
|
|
1423
|
-
"type": "string"
|
|
1424
|
-
},
|
|
1425
|
-
"label": {
|
|
1426
|
-
"description": "An expression whose result becomes the label. This is\nan ECExpression, so label\ncan be defined/formatted dynamically based on the context - for example\nECInstance property value. May be localized.",
|
|
1427
|
-
"minLength": 1,
|
|
1428
|
-
"type": "string"
|
|
1429
|
-
},
|
|
1430
|
-
"onlyIfNotHandled": {
|
|
1431
|
-
"description": "Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule\npriorities and definition order). This allows adding fallback rules which can be overriden by higher-priority rules.",
|
|
1432
|
-
"type": "boolean"
|
|
1433
|
-
},
|
|
1434
|
-
"priority": {
|
|
1435
|
-
"description": "Defines the order in which rules are handled, higher number means the rule is handled first. If priorities are\nequal, the rules are handled in the order they're defined.",
|
|
1436
|
-
"type": "integer"
|
|
1437
|
-
},
|
|
1438
|
-
"requiredSchemas": {
|
|
1439
|
-
"description": "A list of ECSchema requirements that need to be met for the rule to be used.",
|
|
1440
|
-
"items": {
|
|
1441
|
-
"$ref": "#/definitions/RequiredSchemaSpecification"
|
|
1442
|
-
},
|
|
1443
|
-
"type": "array"
|
|
1444
|
-
},
|
|
1445
|
-
"ruleType": {
|
|
1446
|
-
"description": "Used for serializing to JSON.",
|
|
1447
|
-
"enum": [
|
|
1448
|
-
"LabelOverride"
|
|
1449
|
-
],
|
|
1450
|
-
"type": "string"
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
"required": [
|
|
1454
|
-
"ruleType"
|
|
1455
|
-
],
|
|
1456
|
-
"type": "object"
|
|
1457
|
-
},
|
|
1458
1285
|
"MultiSchemaClassesSpecification": {
|
|
1459
1286
|
"additionalProperties": false,
|
|
1460
1287
|
"description": "This specification lists ECClasses which should be targeted when creating content or hierarchy nodes.",
|
|
@@ -1772,16 +1599,8 @@
|
|
|
1772
1599
|
"description": "Should a separate grouping node be created for nodes whose grouping value is not set or is set to an empty string.",
|
|
1773
1600
|
"type": "boolean"
|
|
1774
1601
|
},
|
|
1775
|
-
"groupingValue": {
|
|
1776
|
-
"deprecated": "in 3.x. Display value should always be used for grouping.",
|
|
1777
|
-
"description": "Specifies whether instances should be grouped using property's display or raw value.",
|
|
1778
|
-
"enum": [
|
|
1779
|
-
"DisplayLabel",
|
|
1780
|
-
"PropertyValue"
|
|
1781
|
-
],
|
|
1782
|
-
"type": "string"
|
|
1783
|
-
},
|
|
1784
1602
|
"imageId": {
|
|
1603
|
+
"deprecated": "in 5.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
1785
1604
|
"description": "Specifies grouping node's image ID. If set, the ID is assigned to `Node.imageId` and\nit's up to the UI component to decide what to do with it.",
|
|
1786
1605
|
"minLength": 1,
|
|
1787
1606
|
"type": "string"
|
|
@@ -1798,15 +1617,6 @@
|
|
|
1798
1617
|
},
|
|
1799
1618
|
"type": "array"
|
|
1800
1619
|
},
|
|
1801
|
-
"sortingValue": {
|
|
1802
|
-
"deprecated": "in 3.x. Property grouping nodes should always be sorted by display label.",
|
|
1803
|
-
"description": "Specifies whether nodes should be sorted by their display label or the grouping property's value. In most cases the result\nis the same, unless a label override rule is used to change node's display label.",
|
|
1804
|
-
"enum": [
|
|
1805
|
-
"DisplayLabel",
|
|
1806
|
-
"PropertyValue"
|
|
1807
|
-
],
|
|
1808
|
-
"type": "string"
|
|
1809
|
-
},
|
|
1810
1620
|
"specType": {
|
|
1811
1621
|
"description": "Used for serializing to JSON.",
|
|
1812
1622
|
"enum": [
|
|
@@ -1831,6 +1641,7 @@
|
|
|
1831
1641
|
"type": "string"
|
|
1832
1642
|
},
|
|
1833
1643
|
"imageId": {
|
|
1644
|
+
"deprecated": "in 5.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
1834
1645
|
"description": "ID of an image to use for the grouping node. Defaults to `PropertyGroup.imageId` specified in `PropertyGroup`.",
|
|
1835
1646
|
"minLength": 1,
|
|
1836
1647
|
"type": "string"
|
|
@@ -2459,33 +2270,21 @@
|
|
|
2459
2270
|
{
|
|
2460
2271
|
"$ref": "#/definitions/NodeArtifactsRule"
|
|
2461
2272
|
},
|
|
2462
|
-
{
|
|
2463
|
-
"$ref": "#/definitions/CheckBoxRule"
|
|
2464
|
-
},
|
|
2465
2273
|
{
|
|
2466
2274
|
"$ref": "#/definitions/ExtendedDataRule"
|
|
2467
2275
|
},
|
|
2468
2276
|
{
|
|
2469
2277
|
"$ref": "#/definitions/GroupingRule"
|
|
2470
2278
|
},
|
|
2471
|
-
{
|
|
2472
|
-
"$ref": "#/definitions/ImageIdOverride"
|
|
2473
|
-
},
|
|
2474
2279
|
{
|
|
2475
2280
|
"$ref": "#/definitions/InstanceLabelOverride"
|
|
2476
2281
|
},
|
|
2477
|
-
{
|
|
2478
|
-
"$ref": "#/definitions/LabelOverride"
|
|
2479
|
-
},
|
|
2480
2282
|
{
|
|
2481
2283
|
"$ref": "#/definitions/PropertySortingRule"
|
|
2482
2284
|
},
|
|
2483
2285
|
{
|
|
2484
2286
|
"$ref": "#/definitions/DisabledSortingRule"
|
|
2485
2287
|
},
|
|
2486
|
-
{
|
|
2487
|
-
"$ref": "#/definitions/StyleOverride"
|
|
2488
|
-
},
|
|
2489
2288
|
{
|
|
2490
2289
|
"$ref": "#/definitions/ChildNodeRule"
|
|
2491
2290
|
},
|
|
@@ -2608,11 +2407,6 @@
|
|
|
2608
2407
|
},
|
|
2609
2408
|
"type": "array"
|
|
2610
2409
|
},
|
|
2611
|
-
"showImages": {
|
|
2612
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
2613
|
-
"description": "Should image IDs be calculated for the returned instances. When `true`, `ImageIdOverride` rules get applied when\ncreating the content.",
|
|
2614
|
-
"type": "boolean"
|
|
2615
|
-
},
|
|
2616
2410
|
"specType": {
|
|
2617
2411
|
"description": "Used for serializing to JSON.",
|
|
2618
2412
|
"enum": [
|
|
@@ -2674,55 +2468,6 @@
|
|
|
2674
2468
|
],
|
|
2675
2469
|
"type": "object"
|
|
2676
2470
|
},
|
|
2677
|
-
"StyleOverride": {
|
|
2678
|
-
"additionalProperties": false,
|
|
2679
|
-
"deprecated": "in 3.x. Use `ExtendedDataRule` instead. See extended data usage page for more details.",
|
|
2680
|
-
"description": "Style override rules allow customizing display style of specific types of ECInstances.",
|
|
2681
|
-
"properties": {
|
|
2682
|
-
"backColor": {
|
|
2683
|
-
"description": "Background color that should be used for node. The value should be an ECExpression\nwhose result would evaluate to one the following formats:\n- color name (`Red`, `Blue`, etc.)\n- `rgb(255, 255, 255)`\n- `#0F0F0F`",
|
|
2684
|
-
"type": "string"
|
|
2685
|
-
},
|
|
2686
|
-
"condition": {
|
|
2687
|
-
"description": "Defines a condition for the rule, which needs to be met in order to execute it. Condition\nis an ECExpression, which can use\na limited set of symbols.",
|
|
2688
|
-
"type": "string"
|
|
2689
|
-
},
|
|
2690
|
-
"fontStyle": {
|
|
2691
|
-
"description": "Font style that should be used for node. The value should be an ECExpression\nwhose result would evaluate to one the following values:\n- `\"Bold\"`\n- `\"Italic\"`\n- `\"Italic,Bold\"`\n- `\"Regular\"`\n\nDefaults to `\"Regular\"`.",
|
|
2692
|
-
"type": "string"
|
|
2693
|
-
},
|
|
2694
|
-
"foreColor": {
|
|
2695
|
-
"description": "Foreground color that should be used for node. The value should be an ECExpression\nwhose result would evaluate to one the following formats:\n- color name (`Red`, `Blue`, etc.)\n- `rgb(255, 255, 255)`\n- `#0F0F0F`",
|
|
2696
|
-
"type": "string"
|
|
2697
|
-
},
|
|
2698
|
-
"onlyIfNotHandled": {
|
|
2699
|
-
"description": "Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule\npriorities and definition order). This allows adding fallback rules which can be overriden by higher-priority rules.",
|
|
2700
|
-
"type": "boolean"
|
|
2701
|
-
},
|
|
2702
|
-
"priority": {
|
|
2703
|
-
"description": "Defines the order in which rules are handled, higher number means the rule is handled first. If priorities are\nequal, the rules are handled in the order they're defined.",
|
|
2704
|
-
"type": "integer"
|
|
2705
|
-
},
|
|
2706
|
-
"requiredSchemas": {
|
|
2707
|
-
"description": "A list of ECSchema requirements that need to be met for the rule to be used.",
|
|
2708
|
-
"items": {
|
|
2709
|
-
"$ref": "#/definitions/RequiredSchemaSpecification"
|
|
2710
|
-
},
|
|
2711
|
-
"type": "array"
|
|
2712
|
-
},
|
|
2713
|
-
"ruleType": {
|
|
2714
|
-
"description": "Used for serializing to JSON.",
|
|
2715
|
-
"enum": [
|
|
2716
|
-
"StyleOverride"
|
|
2717
|
-
],
|
|
2718
|
-
"type": "string"
|
|
2719
|
-
}
|
|
2720
|
-
},
|
|
2721
|
-
"required": [
|
|
2722
|
-
"ruleType"
|
|
2723
|
-
],
|
|
2724
|
-
"type": "object"
|
|
2725
|
-
},
|
|
2726
2471
|
"SubCondition": {
|
|
2727
2472
|
"additionalProperties": false,
|
|
2728
2473
|
"description": "This is a sub-rule which shares *placement attributes* and\nnested customization rules\nof the hierarchy rule. This means the attributes of hierarchy rule are still in effect and the sub-rules\ncan add additional condition of their own.",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Core
|
|
3
3
|
*/
|
|
4
|
-
import { IDisposable } from "@itwin/core-bentley";
|
|
5
4
|
/**
|
|
6
5
|
* A helper to track ongoing async tasks. Usage:
|
|
7
6
|
* ```
|
|
8
|
-
*
|
|
7
|
+
* {
|
|
8
|
+
* using _r = tracker.trackAsyncTask();
|
|
9
9
|
* await doSomethingAsync();
|
|
10
|
-
* }
|
|
10
|
+
* }
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
13
|
* Can be used with `waitForPendingAsyncs` in test helpers to wait for all
|
|
@@ -18,6 +18,6 @@ import { IDisposable } from "@itwin/core-bentley";
|
|
|
18
18
|
export declare class AsyncTasksTracker {
|
|
19
19
|
private _asyncsInProgress;
|
|
20
20
|
get pendingAsyncs(): Set<string>;
|
|
21
|
-
trackAsyncTask():
|
|
21
|
+
trackAsyncTask(): Disposable;
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=AsyncTasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;;;;;;;;;;GAaG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,iBAAiB,CAAyB;IAClD,IAAW,aAAa,gBAEvB;IACM,cAAc,IAAI,UAAU;CAOpC"}
|
|
@@ -12,9 +12,10 @@ const core_bentley_1 = require("@itwin/core-bentley");
|
|
|
12
12
|
/**
|
|
13
13
|
* A helper to track ongoing async tasks. Usage:
|
|
14
14
|
* ```
|
|
15
|
-
*
|
|
15
|
+
* {
|
|
16
|
+
* using _r = tracker.trackAsyncTask();
|
|
16
17
|
* await doSomethingAsync();
|
|
17
|
-
* }
|
|
18
|
+
* }
|
|
18
19
|
* ```
|
|
19
20
|
*
|
|
20
21
|
* Can be used with `waitForPendingAsyncs` in test helpers to wait for all
|
|
@@ -23,9 +24,7 @@ const core_bentley_1 = require("@itwin/core-bentley");
|
|
|
23
24
|
* @internal
|
|
24
25
|
*/
|
|
25
26
|
class AsyncTasksTracker {
|
|
26
|
-
|
|
27
|
-
this._asyncsInProgress = new Set();
|
|
28
|
-
}
|
|
27
|
+
_asyncsInProgress = new Set();
|
|
29
28
|
get pendingAsyncs() {
|
|
30
29
|
return this._asyncsInProgress;
|
|
31
30
|
}
|
|
@@ -33,7 +32,7 @@ class AsyncTasksTracker {
|
|
|
33
32
|
const id = core_bentley_1.Guid.createValue();
|
|
34
33
|
this._asyncsInProgress.add(id);
|
|
35
34
|
return {
|
|
36
|
-
dispose: () => this._asyncsInProgress.delete(id),
|
|
35
|
+
[Symbol.dispose]: () => this._asyncsInProgress.delete(id),
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,sDAAuD;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAa,iBAAiB;IACpB,iBAAiB,GAAG,IAAI,GAAG,EAAc,CAAC;IAClD,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IACM,cAAc;QACnB,MAAM,EAAE,GAAG,mBAAI,CAAC,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO;YACL,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;SAC1D,CAAC;IACJ,CAAC;CACF;AAZD,8CAYC","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 { Guid, GuidString } from \"@itwin/core-bentley\";\n\n/**\n * A helper to track ongoing async tasks. Usage:\n * ```\n * { \n * using _r = tracker.trackAsyncTask();\n * await doSomethingAsync();\n * }\n * ```\n *\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\n * async tasks to complete.\n *\n * @internal\n */\nexport class AsyncTasksTracker {\n private _asyncsInProgress = new Set<GuidString>();\n public get pendingAsyncs() {\n return this._asyncsInProgress;\n }\n public trackAsyncTask(): Disposable {\n const id = Guid.createValue();\n this._asyncsInProgress.add(id);\n return {\n [Symbol.dispose]: () => this._asyncsInProgress.delete(id),\n };\n }\n}\n"]}
|