@itwin/presentation-common 5.0.0-dev.11 → 5.0.0-dev.110
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 +61 -1
- package/Ruleset.schema.json +3 -258
- package/lib/cjs/package.json +1 -0
- 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 +37 -81
- 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.d.ts +2 -2
- package/lib/cjs/presentation-common/ElementProperties.d.ts.map +1 -1
- package/lib/cjs/presentation-common/ElementProperties.js +22 -15
- 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/InstanceFilterDefinition.d.ts +1 -1
- package/lib/cjs/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
- package/lib/cjs/presentation-common/InstanceFilterDefinition.js.map +1 -1
- package/lib/cjs/presentation-common/KeySet.d.ts +3 -3
- package/lib/cjs/presentation-common/KeySet.d.ts.map +1 -1
- package/lib/cjs/presentation-common/KeySet.js +20 -22
- package/lib/cjs/presentation-common/KeySet.js.map +1 -1
- package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js +15 -11
- package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
- package/lib/cjs/presentation-common/LabelDefinition.d.ts +2 -50
- package/lib/cjs/presentation-common/LabelDefinition.d.ts.map +1 -1
- package/lib/cjs/presentation-common/LabelDefinition.js +4 -47
- package/lib/cjs/presentation-common/LabelDefinition.js.map +1 -1
- package/lib/cjs/presentation-common/LocalizationHelper.d.ts +10 -10
- package/lib/cjs/presentation-common/LocalizationHelper.d.ts.map +1 -1
- package/lib/cjs/presentation-common/LocalizationHelper.js +13 -12
- package/lib/cjs/presentation-common/LocalizationHelper.js.map +1 -1
- package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts +12 -7
- package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
- package/lib/cjs/presentation-common/PresentationIpcInterface.js +9 -1
- package/lib/cjs/presentation-common/PresentationIpcInterface.js.map +1 -1
- package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts +40 -25
- 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 +22 -29
- package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
- package/lib/cjs/presentation-common/PresentationRpcInterface.js +41 -36
- package/lib/cjs/presentation-common/PresentationRpcInterface.js.map +1 -1
- package/lib/cjs/presentation-common/RegisteredRuleset.d.ts +6 -5
- 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 +21 -24
- package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
- package/lib/cjs/presentation-common/RpcRequestsHandler.js +42 -35
- 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/RulesetsFactory.d.ts +4 -4
- package/lib/cjs/presentation-common/RulesetsFactory.d.ts.map +1 -1
- package/lib/cjs/presentation-common/RulesetsFactory.js +15 -15
- package/lib/cjs/presentation-common/RulesetsFactory.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 +22 -1
- package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
- package/lib/cjs/presentation-common/Utils.js +59 -3
- package/lib/cjs/presentation-common/Utils.js.map +1 -1
- package/lib/cjs/presentation-common/content/Category.d.ts +1 -1
- package/lib/cjs/presentation-common/content/Category.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Category.js.map +1 -1
- package/lib/cjs/presentation-common/content/Content.d.ts +2 -9
- package/lib/cjs/presentation-common/content/Content.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Content.js +9 -14
- package/lib/cjs/presentation-common/content/Content.js.map +1 -1
- package/lib/cjs/presentation-common/content/ContentTraverser.d.ts +9 -9
- package/lib/cjs/presentation-common/content/ContentTraverser.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/ContentTraverser.js +138 -50
- package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
- package/lib/cjs/presentation-common/content/Descriptor.d.ts +7 -52
- package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Descriptor.js +82 -53
- package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
- package/lib/cjs/presentation-common/content/Fields.d.ts +157 -33
- package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Fields.js +275 -151
- package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
- package/lib/cjs/presentation-common/content/Item.d.ts +28 -33
- package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Item.js +53 -68
- package/lib/cjs/presentation-common/content/Item.js.map +1 -1
- package/lib/cjs/presentation-common/content/Property.d.ts +2 -14
- package/lib/cjs/presentation-common/content/Property.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/Property.js +2 -20
- package/lib/cjs/presentation-common/content/Property.js.map +1 -1
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.js +12 -9
- package/lib/cjs/presentation-common/content/PropertyValueFormatter.js.map +1 -1
- package/lib/cjs/presentation-common/content/Value.d.ts +8 -110
- 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 +1 -84
- package/lib/cjs/presentation-common/hierarchy/Key.d.ts.map +1 -1
- package/lib/cjs/presentation-common/hierarchy/Key.js +8 -26
- 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/RelatedInstanceSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/Rule.d.ts +6 -20
- 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/Ruleset.d.ts +3 -3
- package/lib/cjs/presentation-common/rules/Ruleset.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/Ruleset.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
- 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/content/DefaultPropertyCategoryOverride.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
- package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/PropertySpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
- package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
- package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
- 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/ExtendedDataRule.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
- 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/customization/InstanceLabelOverride.d.ts +3 -3
- package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/customization/SortingRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
- 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/CustomQueryInstanceNodesSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
- 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/rules/hierarchy/NavigationRule.d.ts +6 -6
- package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
- package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
- package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.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-internal.d.ts +10 -0
- package/lib/cjs/presentation-common-internal.d.ts.map +1 -0
- package/lib/cjs/presentation-common-internal.js +32 -0
- package/lib/cjs/presentation-common-internal.js.map +1 -0
- package/lib/cjs/presentation-common.d.ts +68 -77
- package/lib/cjs/presentation-common.d.ts.map +1 -1
- package/lib/cjs/presentation-common.js +110 -89
- 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 +37 -81
- 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.d.ts +2 -2
- package/lib/esm/presentation-common/ElementProperties.d.ts.map +1 -1
- package/lib/esm/presentation-common/ElementProperties.js +18 -11
- 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/InstanceFilterDefinition.d.ts +1 -1
- package/lib/esm/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
- package/lib/esm/presentation-common/InstanceFilterDefinition.js.map +1 -1
- package/lib/esm/presentation-common/KeySet.d.ts +3 -3
- package/lib/esm/presentation-common/KeySet.d.ts.map +1 -1
- package/lib/esm/presentation-common/KeySet.js +10 -12
- package/lib/esm/presentation-common/KeySet.js.map +1 -1
- package/lib/esm/presentation-common/KoqPropertyValueFormatter.js +16 -12
- package/lib/esm/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
- package/lib/esm/presentation-common/LabelDefinition.d.ts +2 -50
- package/lib/esm/presentation-common/LabelDefinition.d.ts.map +1 -1
- package/lib/esm/presentation-common/LabelDefinition.js +3 -46
- package/lib/esm/presentation-common/LabelDefinition.js.map +1 -1
- package/lib/esm/presentation-common/LocalizationHelper.d.ts +10 -10
- package/lib/esm/presentation-common/LocalizationHelper.d.ts.map +1 -1
- package/lib/esm/presentation-common/LocalizationHelper.js +6 -5
- package/lib/esm/presentation-common/LocalizationHelper.js.map +1 -1
- package/lib/esm/presentation-common/PresentationIpcInterface.d.ts +12 -7
- package/lib/esm/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
- package/lib/esm/presentation-common/PresentationIpcInterface.js +8 -0
- package/lib/esm/presentation-common/PresentationIpcInterface.js.map +1 -1
- package/lib/esm/presentation-common/PresentationManagerOptions.d.ts +40 -25
- 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 +22 -29
- package/lib/esm/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
- package/lib/esm/presentation-common/PresentationRpcInterface.js +42 -36
- package/lib/esm/presentation-common/PresentationRpcInterface.js.map +1 -1
- package/lib/esm/presentation-common/RegisteredRuleset.d.ts +6 -5
- 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 +21 -24
- package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
- package/lib/esm/presentation-common/RpcRequestsHandler.js +42 -35
- 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/RulesetsFactory.d.ts +4 -4
- package/lib/esm/presentation-common/RulesetsFactory.d.ts.map +1 -1
- package/lib/esm/presentation-common/RulesetsFactory.js +6 -6
- package/lib/esm/presentation-common/RulesetsFactory.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 +22 -1
- package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
- package/lib/esm/presentation-common/Utils.js +54 -1
- package/lib/esm/presentation-common/Utils.js.map +1 -1
- package/lib/esm/presentation-common/content/Category.d.ts +1 -1
- package/lib/esm/presentation-common/content/Category.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Category.js.map +1 -1
- package/lib/esm/presentation-common/content/Content.d.ts +2 -9
- package/lib/esm/presentation-common/content/Content.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Content.js +7 -12
- package/lib/esm/presentation-common/content/Content.js.map +1 -1
- package/lib/esm/presentation-common/content/ContentTraverser.d.ts +9 -9
- package/lib/esm/presentation-common/content/ContentTraverser.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/ContentTraverser.js +123 -35
- package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
- package/lib/esm/presentation-common/content/Descriptor.d.ts +7 -52
- package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Descriptor.js +71 -42
- package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
- package/lib/esm/presentation-common/content/Fields.d.ts +157 -33
- package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Fields.js +268 -144
- package/lib/esm/presentation-common/content/Fields.js.map +1 -1
- package/lib/esm/presentation-common/content/Item.d.ts +28 -33
- package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Item.js +53 -68
- package/lib/esm/presentation-common/content/Item.js.map +1 -1
- package/lib/esm/presentation-common/content/Property.d.ts +2 -14
- package/lib/esm/presentation-common/content/Property.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/Property.js +1 -19
- package/lib/esm/presentation-common/content/Property.js.map +1 -1
- package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
- package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
- package/lib/esm/presentation-common/content/PropertyValueFormatter.js +5 -2
- package/lib/esm/presentation-common/content/PropertyValueFormatter.js.map +1 -1
- package/lib/esm/presentation-common/content/Value.d.ts +8 -110
- 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 +1 -84
- package/lib/esm/presentation-common/hierarchy/Key.d.ts.map +1 -1
- package/lib/esm/presentation-common/hierarchy/Key.js +7 -25
- 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/RelatedInstanceSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/Rule.d.ts +6 -20
- 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/Ruleset.d.ts +3 -3
- package/lib/esm/presentation-common/rules/Ruleset.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/Ruleset.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentRule.d.ts +2 -2
- package/lib/esm/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
- 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/content/DefaultPropertyCategoryOverride.d.ts +2 -2
- package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
- package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/PropertySpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
- package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
- package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
- package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
- 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/ExtendedDataRule.d.ts +1 -1
- package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
- 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/customization/InstanceLabelOverride.d.ts +3 -3
- package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
- package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts +2 -2
- package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/customization/SortingRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
- 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/CustomQueryInstanceNodesSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
- 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/rules/hierarchy/NavigationRule.d.ts +6 -6
- package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
- package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
- package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
- package/lib/esm/presentation-common/rules/hierarchy/SubCondition.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-internal.d.ts +10 -0
- package/lib/esm/presentation-common-internal.d.ts.map +1 -0
- package/lib/esm/presentation-common-internal.js +16 -0
- package/lib/esm/presentation-common-internal.js.map +1 -0
- package/lib/esm/presentation-common.d.ts +68 -77
- package/lib/esm/presentation-common.d.ts.map +1 -1
- package/lib/esm/presentation-common.js +60 -89
- package/lib/esm/presentation-common.js.map +1 -1
- package/package.json +47 -36
- 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/lib/{cjs/assets → assets}/locales/en/Presentation.json +0 -0
- /package/lib/{cjs/assets → assets}/locales/en-PSEUDO/Presentation.json +0 -0
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.NodeKey = exports.StandardNodeTypes = exports.parseCombinedFieldNames = exports.combineFieldNames = exports.addFieldHierarchy = exports.createFieldHierarchies = exports.traverseContentItem = exports.traverseContent = exports.traverseFieldHierarchy = exports.DisplayValue = exports.Value = exports.PropertyValueFormat = exports.Property = exports.Item = exports.FieldDescriptor = exports.FieldDescriptorType = exports.NestedContentField = exports.StructPropertiesField = exports.ArrayPropertiesField = exports.PropertiesField = exports.Field = exports.DefaultContentDisplayTypes = exports.Descriptor = exports.SortDirection = exports.ContentFlags = exports.SelectClassInfo = exports.Content = exports.CategoryDescription = exports.PresentationRpcInterface = exports.KoqPropertyValueFormatter = exports.getInstancesCount = exports.DEFAULT_KEYS_BATCH_SIZE = exports.UPDATE_FULL = exports.RulesetsFactory = exports.RulesetVariable = exports.VariableValueTypes = exports.RegisteredRuleset = exports.LabelDefinition = exports.KeySet = exports.Key = exports.PresentationError = exports.PresentationStatus = exports.RelationshipPath = exports.RelatedClassInfoWithOptionalRelationship = exports.RelatedClassInfo = exports.PropertyInfo = exports.NavigationPropertyInfo = exports.InstanceKey = exports.DiagnosticsLogEntry = void 0;
|
|
17
18
|
/*---------------------------------------------------------------------------------------------
|
|
18
19
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
19
20
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -24,22 +25,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
24
25
|
* @docs-group-description Core
|
|
25
26
|
* Common types used all across Presentation packages.
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
28
|
+
var Diagnostics_js_1 = require("./presentation-common/Diagnostics.js");
|
|
29
|
+
Object.defineProperty(exports, "DiagnosticsLogEntry", { enumerable: true, get: function () { return Diagnostics_js_1.DiagnosticsLogEntry; } });
|
|
30
|
+
var EC_js_1 = require("./presentation-common/EC.js");
|
|
31
|
+
Object.defineProperty(exports, "InstanceKey", { enumerable: true, get: function () { return EC_js_1.InstanceKey; } });
|
|
32
|
+
Object.defineProperty(exports, "NavigationPropertyInfo", { enumerable: true, get: function () { return EC_js_1.NavigationPropertyInfo; } });
|
|
33
|
+
Object.defineProperty(exports, "PropertyInfo", { enumerable: true, get: function () { return EC_js_1.PropertyInfo; } });
|
|
34
|
+
Object.defineProperty(exports, "RelatedClassInfo", { enumerable: true, get: function () { return EC_js_1.RelatedClassInfo; } });
|
|
35
|
+
Object.defineProperty(exports, "RelatedClassInfoWithOptionalRelationship", { enumerable: true, get: function () { return EC_js_1.RelatedClassInfoWithOptionalRelationship; } });
|
|
36
|
+
Object.defineProperty(exports, "RelationshipPath", { enumerable: true, get: function () { return EC_js_1.RelationshipPath; } });
|
|
37
|
+
var Error_js_1 = require("./presentation-common/Error.js");
|
|
38
|
+
Object.defineProperty(exports, "PresentationStatus", { enumerable: true, get: function () { return Error_js_1.PresentationStatus; } });
|
|
39
|
+
Object.defineProperty(exports, "PresentationError", { enumerable: true, get: function () { return Error_js_1.PresentationError; } });
|
|
40
|
+
var KeySet_js_1 = require("./presentation-common/KeySet.js");
|
|
41
|
+
Object.defineProperty(exports, "Key", { enumerable: true, get: function () { return KeySet_js_1.Key; } });
|
|
42
|
+
Object.defineProperty(exports, "KeySet", { enumerable: true, get: function () { return KeySet_js_1.KeySet; } });
|
|
43
|
+
var LabelDefinition_js_1 = require("./presentation-common/LabelDefinition.js");
|
|
44
|
+
Object.defineProperty(exports, "LabelDefinition", { enumerable: true, get: function () { return LabelDefinition_js_1.LabelDefinition; } });
|
|
45
|
+
var RegisteredRuleset_js_1 = require("./presentation-common/RegisteredRuleset.js");
|
|
46
|
+
Object.defineProperty(exports, "RegisteredRuleset", { enumerable: true, get: function () { return RegisteredRuleset_js_1.RegisteredRuleset; } });
|
|
47
|
+
var RulesetVariables_js_1 = require("./presentation-common/RulesetVariables.js");
|
|
48
|
+
Object.defineProperty(exports, "VariableValueTypes", { enumerable: true, get: function () { return RulesetVariables_js_1.VariableValueTypes; } });
|
|
49
|
+
Object.defineProperty(exports, "RulesetVariable", { enumerable: true, get: function () { return RulesetVariables_js_1.RulesetVariable; } });
|
|
50
|
+
var RulesetsFactory_js_1 = require("./presentation-common/RulesetsFactory.js");
|
|
51
|
+
Object.defineProperty(exports, "RulesetsFactory", { enumerable: true, get: function () { return RulesetsFactory_js_1.RulesetsFactory; } });
|
|
52
|
+
var Update_js_1 = require("./presentation-common/Update.js");
|
|
53
|
+
Object.defineProperty(exports, "UPDATE_FULL", { enumerable: true, get: function () { return Update_js_1.UPDATE_FULL; } });
|
|
54
|
+
var Utils_js_1 = require("./presentation-common/Utils.js");
|
|
55
|
+
Object.defineProperty(exports, "DEFAULT_KEYS_BATCH_SIZE", { enumerable: true, get: function () { return Utils_js_1.DEFAULT_KEYS_BATCH_SIZE; } });
|
|
56
|
+
Object.defineProperty(exports, "getInstancesCount", { enumerable: true, get: function () { return Utils_js_1.getInstancesCount; } });
|
|
57
|
+
var KoqPropertyValueFormatter_js_1 = require("./presentation-common/KoqPropertyValueFormatter.js");
|
|
58
|
+
Object.defineProperty(exports, "KoqPropertyValueFormatter", { enumerable: true, get: function () { return KoqPropertyValueFormatter_js_1.KoqPropertyValueFormatter; } });
|
|
43
59
|
/**
|
|
44
60
|
* @module RPC
|
|
45
61
|
*
|
|
@@ -47,89 +63,94 @@ __exportStar(require("./presentation-common/KoqPropertyValueFormatter"), exports
|
|
|
47
63
|
* Types used for RPC communication between frontend and backend. Generally should
|
|
48
64
|
* only be used internally by presentation packages.
|
|
49
65
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @module UnifiedSelection
|
|
54
|
-
*
|
|
55
|
-
* @docs-group-description UnifiedSelection
|
|
56
|
-
* Types related to [unified selection]($docs/presentation/unified-selection/index.md).
|
|
57
|
-
*/
|
|
58
|
-
__exportStar(require("./presentation-common/selection/SelectionScope"), exports);
|
|
66
|
+
var PresentationRpcInterface_js_1 = require("./presentation-common/PresentationRpcInterface.js");
|
|
67
|
+
Object.defineProperty(exports, "PresentationRpcInterface", { enumerable: true, get: function () { return PresentationRpcInterface_js_1.PresentationRpcInterface; } });
|
|
59
68
|
/**
|
|
60
69
|
* @module Content
|
|
61
70
|
*
|
|
62
71
|
* @docs-group-description Content
|
|
63
72
|
* Types related to presentation [content]($docs/presentation/content/index.md).
|
|
64
73
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
74
|
+
var Category_js_1 = require("./presentation-common/content/Category.js");
|
|
75
|
+
Object.defineProperty(exports, "CategoryDescription", { enumerable: true, get: function () { return Category_js_1.CategoryDescription; } });
|
|
76
|
+
var Content_js_1 = require("./presentation-common/content/Content.js");
|
|
77
|
+
Object.defineProperty(exports, "Content", { enumerable: true, get: function () { return Content_js_1.Content; } });
|
|
78
|
+
var Descriptor_js_1 = require("./presentation-common/content/Descriptor.js");
|
|
79
|
+
Object.defineProperty(exports, "SelectClassInfo", { enumerable: true, get: function () { return Descriptor_js_1.SelectClassInfo; } });
|
|
80
|
+
Object.defineProperty(exports, "ContentFlags", { enumerable: true, get: function () { return Descriptor_js_1.ContentFlags; } });
|
|
81
|
+
Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return Descriptor_js_1.SortDirection; } });
|
|
82
|
+
Object.defineProperty(exports, "Descriptor", { enumerable: true, get: function () { return Descriptor_js_1.Descriptor; } });
|
|
83
|
+
var DisplayTypes_js_1 = require("./presentation-common/content/DisplayTypes.js");
|
|
84
|
+
Object.defineProperty(exports, "DefaultContentDisplayTypes", { enumerable: true, get: function () { return DisplayTypes_js_1.DefaultContentDisplayTypes; } });
|
|
85
|
+
var Fields_js_1 = require("./presentation-common/content/Fields.js");
|
|
86
|
+
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return Fields_js_1.Field; } });
|
|
87
|
+
Object.defineProperty(exports, "PropertiesField", { enumerable: true, get: function () { return Fields_js_1.PropertiesField; } });
|
|
88
|
+
Object.defineProperty(exports, "ArrayPropertiesField", { enumerable: true, get: function () { return Fields_js_1.ArrayPropertiesField; } });
|
|
89
|
+
Object.defineProperty(exports, "StructPropertiesField", { enumerable: true, get: function () { return Fields_js_1.StructPropertiesField; } });
|
|
90
|
+
Object.defineProperty(exports, "NestedContentField", { enumerable: true, get: function () { return Fields_js_1.NestedContentField; } });
|
|
91
|
+
Object.defineProperty(exports, "FieldDescriptorType", { enumerable: true, get: function () { return Fields_js_1.FieldDescriptorType; } });
|
|
92
|
+
Object.defineProperty(exports, "FieldDescriptor", { enumerable: true, get: function () { return Fields_js_1.FieldDescriptor; } });
|
|
93
|
+
var Item_js_1 = require("./presentation-common/content/Item.js");
|
|
94
|
+
Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return Item_js_1.Item; } });
|
|
95
|
+
var Property_js_1 = require("./presentation-common/content/Property.js");
|
|
96
|
+
Object.defineProperty(exports, "Property", { enumerable: true, get: function () { return Property_js_1.Property; } });
|
|
97
|
+
var TypeDescription_js_1 = require("./presentation-common/content/TypeDescription.js");
|
|
98
|
+
Object.defineProperty(exports, "PropertyValueFormat", { enumerable: true, get: function () { return TypeDescription_js_1.PropertyValueFormat; } });
|
|
99
|
+
var Value_js_1 = require("./presentation-common/content/Value.js");
|
|
100
|
+
Object.defineProperty(exports, "Value", { enumerable: true, get: function () { return Value_js_1.Value; } });
|
|
101
|
+
Object.defineProperty(exports, "DisplayValue", { enumerable: true, get: function () { return Value_js_1.DisplayValue; } });
|
|
102
|
+
var ContentTraverser_js_1 = require("./presentation-common/content/ContentTraverser.js");
|
|
103
|
+
Object.defineProperty(exports, "traverseFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseFieldHierarchy; } });
|
|
104
|
+
Object.defineProperty(exports, "traverseContent", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContent; } });
|
|
105
|
+
Object.defineProperty(exports, "traverseContentItem", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContentItem; } });
|
|
106
|
+
Object.defineProperty(exports, "createFieldHierarchies", { enumerable: true, get: function () { return ContentTraverser_js_1.createFieldHierarchies; } });
|
|
107
|
+
Object.defineProperty(exports, "addFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.addFieldHierarchy; } });
|
|
108
|
+
Object.defineProperty(exports, "combineFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.combineFieldNames; } });
|
|
109
|
+
Object.defineProperty(exports, "parseCombinedFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.parseCombinedFieldNames; } });
|
|
110
|
+
var Key_js_1 = require("./presentation-common/hierarchy/Key.js");
|
|
111
|
+
Object.defineProperty(exports, "StandardNodeTypes", { enumerable: true, get: function () { return Key_js_1.StandardNodeTypes; } });
|
|
112
|
+
Object.defineProperty(exports, "NodeKey", { enumerable: true, get: function () { return Key_js_1.NodeKey; } });
|
|
89
113
|
/**
|
|
90
114
|
* @module PresentationRules
|
|
91
115
|
*
|
|
92
116
|
* @docs-group-description PresentationRules
|
|
93
117
|
* Types for defining the presentation ruleset.
|
|
94
118
|
*/
|
|
95
|
-
|
|
96
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
97
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
98
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
99
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
100
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
101
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
102
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
103
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
104
|
-
__exportStar(require("./presentation-common/rules/hierarchy/
|
|
105
|
-
__exportStar(require("./presentation-common/rules/
|
|
106
|
-
__exportStar(require("./presentation-common/rules/customization/CustomizationRule"), exports);
|
|
107
|
-
__exportStar(require("./presentation-common/rules/customization/ExtendedDataRule"), exports);
|
|
108
|
-
__exportStar(require("./presentation-common/rules/customization/GroupingRule"), exports);
|
|
109
|
-
__exportStar(require("./presentation-common/rules/customization/
|
|
110
|
-
__exportStar(require("./presentation-common/rules/customization/
|
|
111
|
-
__exportStar(require("./presentation-common/rules/
|
|
112
|
-
__exportStar(require("./presentation-common/rules/
|
|
113
|
-
__exportStar(require("./presentation-common/rules/
|
|
114
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
115
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
116
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
117
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
118
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
119
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
120
|
-
__exportStar(require("./presentation-common/rules/content/
|
|
121
|
-
__exportStar(require("./presentation-common/rules/content/modifiers/
|
|
122
|
-
__exportStar(require("./presentation-common/rules/content/modifiers/
|
|
123
|
-
__exportStar(require("./presentation-common/rules/content/modifiers/
|
|
124
|
-
__exportStar(require("./presentation-common/rules/
|
|
125
|
-
__exportStar(require("./presentation-common/rules/
|
|
126
|
-
__exportStar(require("./presentation-common/rules/
|
|
127
|
-
__exportStar(require("./presentation-common/rules/
|
|
128
|
-
__exportStar(require("./presentation-common/rules/
|
|
129
|
-
__exportStar(require("./presentation-common/rules/
|
|
130
|
-
__exportStar(require("./presentation-common/rules/
|
|
131
|
-
__exportStar(require("./presentation-common/rules/
|
|
132
|
-
__exportStar(require("./presentation-common/rules/Ruleset"), exports);
|
|
133
|
-
__exportStar(require("./presentation-common/rules/SchemasSpecification"), exports);
|
|
134
|
-
__exportStar(require("./presentation-common/rules/Variables"), exports);
|
|
119
|
+
// note: everything under `rules/` is public, so no need to name each exported api
|
|
120
|
+
__exportStar(require("./presentation-common/rules/hierarchy/ChildNodeRule.js"), exports);
|
|
121
|
+
__exportStar(require("./presentation-common/rules/hierarchy/ChildNodeSpecification.js"), exports);
|
|
122
|
+
__exportStar(require("./presentation-common/rules/hierarchy/CustomNodeSpecification.js"), exports);
|
|
123
|
+
__exportStar(require("./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js"), exports);
|
|
124
|
+
__exportStar(require("./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js"), exports);
|
|
125
|
+
__exportStar(require("./presentation-common/rules/hierarchy/NavigationRule.js"), exports);
|
|
126
|
+
__exportStar(require("./presentation-common/rules/hierarchy/NodeArtifactsRule.js"), exports);
|
|
127
|
+
__exportStar(require("./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js"), exports);
|
|
128
|
+
__exportStar(require("./presentation-common/rules/hierarchy/RootNodeRule.js"), exports);
|
|
129
|
+
__exportStar(require("./presentation-common/rules/hierarchy/SubCondition.js"), exports);
|
|
130
|
+
__exportStar(require("./presentation-common/rules/customization/CustomizationRule.js"), exports);
|
|
131
|
+
__exportStar(require("./presentation-common/rules/customization/ExtendedDataRule.js"), exports);
|
|
132
|
+
__exportStar(require("./presentation-common/rules/customization/GroupingRule.js"), exports);
|
|
133
|
+
__exportStar(require("./presentation-common/rules/customization/InstanceLabelOverride.js"), exports);
|
|
134
|
+
__exportStar(require("./presentation-common/rules/customization/SortingRule.js"), exports);
|
|
135
|
+
__exportStar(require("./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js"), exports);
|
|
136
|
+
__exportStar(require("./presentation-common/rules/content/ContentRelatedInstancesSpecification.js"), exports);
|
|
137
|
+
__exportStar(require("./presentation-common/rules/content/ContentRule.js"), exports);
|
|
138
|
+
__exportStar(require("./presentation-common/rules/content/ContentSpecification.js"), exports);
|
|
139
|
+
__exportStar(require("./presentation-common/rules/content/PropertySpecification.js"), exports);
|
|
140
|
+
__exportStar(require("./presentation-common/rules/content/SelectedNodeInstancesSpecification.js"), exports);
|
|
141
|
+
__exportStar(require("./presentation-common/rules/content/DefaultPropertyCategoryOverride.js"), exports);
|
|
142
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js"), exports);
|
|
143
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/ContentModifier.js"), exports);
|
|
144
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js"), exports);
|
|
145
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js"), exports);
|
|
146
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/CustomRendererSpecification.js"), exports);
|
|
147
|
+
__exportStar(require("./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js"), exports);
|
|
148
|
+
__exportStar(require("./presentation-common/rules/ClassSpecifications.js"), exports);
|
|
149
|
+
__exportStar(require("./presentation-common/rules/RelatedInstanceSpecification.js"), exports);
|
|
150
|
+
__exportStar(require("./presentation-common/rules/RelationshipDirection.js"), exports);
|
|
151
|
+
__exportStar(require("./presentation-common/rules/RelationshipPathSpecification.js"), exports);
|
|
152
|
+
__exportStar(require("./presentation-common/rules/Rule.js"), exports);
|
|
153
|
+
__exportStar(require("./presentation-common/rules/Ruleset.js"), exports);
|
|
154
|
+
__exportStar(require("./presentation-common/rules/SchemasSpecification.js"), exports);
|
|
155
|
+
__exportStar(require("./presentation-common/rules/Variables.js"), exports);
|
|
135
156
|
//# sourceMappingURL=presentation-common.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,mEAAiD;AACjD,oEAAkD;AAClD,2DAAyC;AACzC,8DAA4C;AAC5C,+DAA6C;AAC7C,wEAAsD;AACtD,mFAAiE;AACjE,0EAAwD;AACxD,yEAAuD;AACvD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,iFAA+D;AAC/D,2EAAyD;AACzD,iFAA+D;AAC/D,kFAAgE;AAEhE;;;;;;GAMG;AACH,iFAA+D;AAC/D,2EAAyD;AAEzD;;;;;GAKG;AACH,iFAA+D;AAE/D;;;;;GAKG;AACH,yEAAuD;AACvD,wEAAsD;AACtD,2EAAyD;AACzD,6EAA2D;AAC3D,uEAAqD;AACrD,uEAAqD;AACrD,qEAAmD;AACnD,yEAAuD;AACvD,yEAAuD;AACvD,gFAA8D;AAC9D,sEAAoD;AACpD,iFAA+D;AAC/D,uFAAqE;AACrE,0EAAwD;AAExD;;;;;GAKG;AACH,iFAA+D;AAC/D,sEAAoD;AACpD,uEAAqD;AACrD,kFAAgE;AAEhE;;;;;GAKG;AACH,sFAAoE;AACpE,+FAA6E;AAC7E,gGAA8E;AAC9E,8GAA4F;AAC5F,oHAAkG;AAClG,uFAAqE;AACrE,0FAAwE;AACxE,0GAAwF;AACxF,qFAAmE;AACnE,qFAAmE;AACnE,yFAAuE;AACvE,8FAA4E;AAC5E,6FAA2E;AAC3E,yFAAuE;AACvE,4FAA0E;AAC1E,kGAAgF;AAChF,0FAAwE;AACxE,wFAAsE;AACtE,0FAAwE;AACxE,qHAAmG;AACnG,2GAAyF;AACzF,kFAAgE;AAChE,2FAAyE;AACzE,4FAA0E;AAC1E,yGAAuF;AACvF,sGAAoF;AACpF,kHAAgG;AAChG,gGAA8E;AAC9E,8GAA4F;AAC5F,6GAA2F;AAC3F,4GAA0F;AAC1F,+GAA6F;AAC7F,kFAAgE;AAChE,2FAAyE;AACzE,oFAAkE;AAClE,4FAA0E;AAC1E,mEAAiD;AACjD,sEAAoD;AACpD,mFAAiE;AACjE,wEAAsD","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/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport * from \"./presentation-common/AsyncTasks\";\r\nexport * from \"./presentation-common/Diagnostics\";\r\nexport * from \"./presentation-common/EC\";\r\nexport * from \"./presentation-common/Error\";\r\nexport * from \"./presentation-common/KeySet\";\r\nexport * from \"./presentation-common/LabelDefinition\";\r\nexport * from \"./presentation-common/PresentationManagerOptions\";\r\nexport * from \"./presentation-common/RegisteredRuleset\";\r\nexport * from \"./presentation-common/RulesetVariables\";\r\nexport * from \"./presentation-common/RulesetsFactory\";\r\nexport * from \"./presentation-common/Update\";\r\nexport * from \"./presentation-common/Utils\";\r\nexport * from \"./presentation-common/PresentationIpcInterface\";\r\nexport * from \"./presentation-common/LocalizationHelper\";\r\nexport * from \"./presentation-common/InstanceFilterDefinition\";\r\nexport * from \"./presentation-common/KoqPropertyValueFormatter\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport * from \"./presentation-common/PresentationRpcInterface\";\r\nexport * from \"./presentation-common/RpcRequestsHandler\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport * from \"./presentation-common/selection/SelectionScope\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport * from \"./presentation-common/content/Category\";\r\nexport * from \"./presentation-common/content/Content\";\r\nexport * from \"./presentation-common/content/Descriptor\";\r\nexport * from \"./presentation-common/content/DisplayTypes\";\r\nexport * from \"./presentation-common/content/Editor\";\r\nexport * from \"./presentation-common/content/Fields\";\r\nexport * from \"./presentation-common/content/Item\";\r\nexport * from \"./presentation-common/content/Property\";\r\nexport * from \"./presentation-common/content/Renderer\";\r\nexport * from \"./presentation-common/content/TypeDescription\";\r\nexport * from \"./presentation-common/content/Value\";\r\nexport * from \"./presentation-common/content/ContentTraverser\";\r\nexport * from \"./presentation-common/content/PropertyValueFormatter\";\r\nexport * from \"./presentation-common/ElementProperties\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport * from \"./presentation-common/hierarchy/HierarchyLevel\";\r\nexport * from \"./presentation-common/hierarchy/Key\";\r\nexport * from \"./presentation-common/hierarchy/Node\";\r\nexport * from \"./presentation-common/hierarchy/NodePathElement\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition\";\r\nexport * from \"./presentation-common/rules/customization/CheckBoxRule\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule\";\r\nexport * from \"./presentation-common/rules/customization/ImageIdOverride\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride\";\r\nexport * from \"./presentation-common/rules/customization/LabelOverride\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule\";\r\nexport * from \"./presentation-common/rules/customization/StyleOverride\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification\";\r\nexport * from \"./presentation-common/rules/content/ContentRule\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification\";\r\nexport * from \"./presentation-common/rules/Rule\";\r\nexport * from \"./presentation-common/rules/Ruleset\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification\";\r\nexport * from \"./presentation-common/rules/Variables\";\r\n"]}
|
|
1
|
+
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,uEAW8C;AAD5C,qHAAA,mBAAmB,OAAA;AAErB,qDAyBqC;AAtBnC,oGAAA,WAAW,OAAA;AAMX,+GAAA,sBAAsB,OAAA;AAEtB,qGAAA,YAAY,OAAA;AAMZ,yGAAA,gBAAgB,OAAA;AAEhB,iIAAA,wCAAwC,OAAA;AAExC,yGAAA,gBAAgB,OAAA;AAKlB,2DAAuF;AAA9E,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAC9C,6DAAgF;AAAvE,gGAAA,GAAG,OAAA;AAAoB,mGAAA,MAAM,OAAA;AACtC,+EAA+G;AAAlE,qHAAA,eAAe,OAAA;AA4B5D,mFAA+E;AAAtE,yHAAA,iBAAiB,OAAA;AAC1B,iFAamD;AAZjD,yHAAA,kBAAkB,OAAA;AASlB,sHAAA,eAAe,OAAA;AAIjB,+EAAgI;AAAvH,qHAAA,eAAe,OAAA;AACxB,6DAUyC;AATvC,wGAAA,WAAW,OAAA;AAUb,2DAAwJ;AAA/I,mHAAA,uBAAuB,OAAA;AAA8D,6GAAA,iBAAiB,OAAA;AAQ/G,mGAA4I;AAAtF,yIAAA,yBAAyB,OAAA;AAE/E;;;;;;GAMG;AACH,iGAqB2D;AADzD,uIAAA,wBAAwB,OAAA;AAW1B;;;;;GAKG;AACH,yEAAyG;AAAhG,kHAAA,mBAAmB,OAAA;AAC5B,uEAAgF;AAA1D,qGAAA,OAAO,OAAA;AAC7B,6EAUqD;AATnD,gHAAA,eAAe,OAAA;AAEf,6GAAA,YAAY,OAAA;AACZ,8GAAA,aAAa,OAAA;AAKb,2GAAA,UAAU,OAAA;AAEZ,iFAA2F;AAAlF,6HAAA,0BAA0B,OAAA;AAEnC,qEAeiD;AAT/C,kGAAA,KAAK,OAAA;AACL,4GAAA,eAAe,OAAA;AACf,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,+GAAA,kBAAkB,OAAA;AAClB,gHAAA,mBAAmB,OAAA;AACnB,4GAAA,eAAe,OAAA;AAIjB,iEAAuE;AAApD,+FAAA,IAAI,OAAA;AACvB,yEAA2H;AAA1E,uGAAA,QAAQ,OAAA;AAEzD,uFAO0D;AANxD,yHAAA,mBAAmB,OAAA;AAOrB,mEAUgD;AAT9C,iGAAA,KAAK,OAAA;AAGL,wGAAA,YAAY,OAAA;AAOd,yFAmB2D;AAPzD,6HAAA,sBAAsB,OAAA;AACtB,sHAAA,eAAe,OAAA;AACf,0HAAA,mBAAmB,OAAA;AACnB,6HAAA,sBAAsB,OAAA;AACtB,wHAAA,iBAAiB,OAAA;AACjB,wHAAA,iBAAiB,OAAA;AACjB,8HAAA,uBAAuB,OAAA;AAsBzB,iEAgBgD;AAf9C,2GAAA,iBAAiB,OAAA;AACjB,iGAAA,OAAO,OAAA;AAkBT;;;;;GAKG;AACH,kFAAkF;AAClF,yFAAuE;AACvE,kGAAgF;AAChF,mGAAiF;AACjF,iHAA+F;AAC/F,uHAAqG;AACrG,0FAAwE;AACxE,6FAA2E;AAC3E,6GAA2F;AAC3F,wFAAsE;AACtE,wFAAsE;AACtE,iGAA+E;AAC/E,gGAA8E;AAC9E,4FAA0E;AAC1E,qGAAmF;AACnF,2FAAyE;AACzE,wHAAsG;AACtG,8GAA4F;AAC5F,qFAAmE;AACnE,8FAA4E;AAC5E,+FAA6E;AAC7E,4GAA0F;AAC1F,yGAAuF;AACvF,qHAAmG;AACnG,mGAAiF;AACjF,iHAA+F;AAC/F,gHAA8F;AAC9F,+GAA6F;AAC7F,kHAAgG;AAChG,qFAAmE;AACnE,8FAA4E;AAC5E,uFAAqE;AACrE,+FAA6E;AAC7E,sEAAoD;AACpD,yEAAuD;AACvD,sFAAoE;AACpE,2EAAyD","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/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n HierarchyUpdateInfo,\r\n ContentUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n traverseContent,\r\n traverseContentItem,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
|
|
@@ -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"}
|
|
@@ -9,9 +9,10 @@ import { Guid } from "@itwin/core-bentley";
|
|
|
9
9
|
/**
|
|
10
10
|
* A helper to track ongoing async tasks. Usage:
|
|
11
11
|
* ```
|
|
12
|
-
*
|
|
12
|
+
* {
|
|
13
|
+
* using _r = tracker.trackAsyncTask();
|
|
13
14
|
* await doSomethingAsync();
|
|
14
|
-
* }
|
|
15
|
+
* }
|
|
15
16
|
* ```
|
|
16
17
|
*
|
|
17
18
|
* Can be used with `waitForPendingAsyncs` in test helpers to wait for all
|
|
@@ -20,9 +21,7 @@ import { Guid } from "@itwin/core-bentley";
|
|
|
20
21
|
* @internal
|
|
21
22
|
*/
|
|
22
23
|
export class AsyncTasksTracker {
|
|
23
|
-
|
|
24
|
-
this._asyncsInProgress = new Set();
|
|
25
|
-
}
|
|
24
|
+
_asyncsInProgress = new Set();
|
|
26
25
|
get pendingAsyncs() {
|
|
27
26
|
return this._asyncsInProgress;
|
|
28
27
|
}
|
|
@@ -30,7 +29,7 @@ export class AsyncTasksTracker {
|
|
|
30
29
|
const id = Guid.createValue();
|
|
31
30
|
this._asyncsInProgress.add(id);
|
|
32
31
|
return {
|
|
33
|
-
dispose: () => this._asyncsInProgress.delete(id),
|
|
32
|
+
[Symbol.dispose]: () => this._asyncsInProgress.delete(id),
|
|
34
33
|
};
|
|
35
34
|
}
|
|
36
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAc,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,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,IAAI,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","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 { Guid, GuidString } from \"@itwin/core-bentley\";\r\n\r\n/**\r\n * A helper to track ongoing async tasks. Usage:\r\n * ```\r\n * { \r\n * using _r = tracker.trackAsyncTask();\r\n * await doSomethingAsync();\r\n * }\r\n * ```\r\n *\r\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\r\n * async tasks to complete.\r\n *\r\n * @internal\r\n */\r\nexport class AsyncTasksTracker {\r\n private _asyncsInProgress = new Set<GuidString>();\r\n public get pendingAsyncs() {\r\n return this._asyncsInProgress;\r\n }\r\n public trackAsyncTask(): Disposable {\r\n const id = Guid.createValue();\r\n this._asyncsInProgress.add(id);\r\n return {\r\n [Symbol.dispose]: () => this._asyncsInProgress.delete(id),\r\n };\r\n }\r\n}\r\n"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Id64String } from "@itwin/core-bentley";
|
|
5
5
|
import { FormatProps } from "@itwin/core-quantity";
|
|
6
|
-
import { PartialBy } from "./Utils";
|
|
6
|
+
import { PartialBy } from "./Utils.js";
|
|
7
7
|
/**
|
|
8
8
|
* Type of an ECClass ID.
|
|
9
9
|
* @public
|
|
@@ -28,28 +28,6 @@ export interface InstanceKey {
|
|
|
28
28
|
export declare namespace InstanceKey {
|
|
29
29
|
/** Compare 2 instance keys */
|
|
30
30
|
function compare(lhs: InstanceKey, rhs: InstanceKey): number;
|
|
31
|
-
/**
|
|
32
|
-
* Serialize [[InstanceKey]] to JSON
|
|
33
|
-
* @deprecated in 3.x. Use [[InstanceKey]].
|
|
34
|
-
*/
|
|
35
|
-
function toJSON(key: InstanceKey): InstanceKeyJSON;
|
|
36
|
-
/**
|
|
37
|
-
* Deserialize [[InstanceKey]] from JSON
|
|
38
|
-
* @deprecated in 3.x. Use [[InstanceKey]].
|
|
39
|
-
*/
|
|
40
|
-
function fromJSON(json: InstanceKeyJSON): {
|
|
41
|
-
className: string;
|
|
42
|
-
id: string;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* A serialized version of [[InstanceKey]]
|
|
47
|
-
* @public
|
|
48
|
-
* @deprecated in 3.x. Use [[InstanceKey]].
|
|
49
|
-
*/
|
|
50
|
-
export interface InstanceKeyJSON {
|
|
51
|
-
className: string;
|
|
52
|
-
id: string;
|
|
53
31
|
}
|
|
54
32
|
/**
|
|
55
33
|
* Information about an ECClass
|
|
@@ -63,29 +41,6 @@ export interface ClassInfo {
|
|
|
63
41
|
/** ECClass label */
|
|
64
42
|
label: string;
|
|
65
43
|
}
|
|
66
|
-
/** @public */
|
|
67
|
-
export declare namespace ClassInfo {
|
|
68
|
-
/**
|
|
69
|
-
* Serialize [[ClassInfo]] to JSON
|
|
70
|
-
* @deprecated in 3.x. Use [[ClassInfo]].
|
|
71
|
-
*/
|
|
72
|
-
function toJSON(info: ClassInfo): ClassInfoJSON;
|
|
73
|
-
/**
|
|
74
|
-
* Deserialize [[ClassInfo]] from JSON
|
|
75
|
-
* @deprecated in 3.x. Use [[ClassInfo]].
|
|
76
|
-
*/
|
|
77
|
-
function fromJSON(json: ClassInfoJSON): ClassInfo;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* A serialized version of [[ClassInfo]]
|
|
81
|
-
* @public
|
|
82
|
-
* @deprecated in 3.x. Use [[ClassInfo]].
|
|
83
|
-
*/
|
|
84
|
-
export interface ClassInfoJSON {
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
|
-
label: string;
|
|
88
|
-
}
|
|
89
44
|
/**
|
|
90
45
|
* A serialized and compressed version of [[ClassInfo]]
|
|
91
46
|
* @public
|
|
@@ -147,20 +102,10 @@ export interface NavigationPropertyInfo {
|
|
|
147
102
|
* @public
|
|
148
103
|
*/
|
|
149
104
|
export declare namespace NavigationPropertyInfo {
|
|
150
|
-
/**
|
|
151
|
-
* Serialize [[NavigationPropertyInfo]] to JSON
|
|
152
|
-
* @deprecated in 3.x. Use [[toCompressedJSON]].
|
|
153
|
-
*/
|
|
154
|
-
function toJSON(info: NavigationPropertyInfo): NavigationPropertyInfoJSON;
|
|
155
105
|
/** Serialize [[NavigationPropertyInfo]] to compressed JSON */
|
|
156
106
|
function toCompressedJSON(navigationPropertyInfo: NavigationPropertyInfo, classesMap: {
|
|
157
107
|
[id: string]: CompressedClassInfoJSON;
|
|
158
108
|
}): NavigationPropertyInfoJSON<string>;
|
|
159
|
-
/**
|
|
160
|
-
* Deserialize [[NavigationPropertyInfo]] from JSON
|
|
161
|
-
* @deprecated in 3.x. Use [[fromCompressedJSON]].
|
|
162
|
-
*/
|
|
163
|
-
function fromJSON(json: NavigationPropertyInfoJSON): NavigationPropertyInfo;
|
|
164
109
|
/** Deserialize [[NavigationPropertyInfo]] from compressed JSON */
|
|
165
110
|
function fromCompressedJSON(compressedNavigationPropertyInfoJSON: NavigationPropertyInfoJSON<string>, classesMap: {
|
|
166
111
|
[id: string]: CompressedClassInfoJSON;
|
|
@@ -170,7 +115,7 @@ export declare namespace NavigationPropertyInfo {
|
|
|
170
115
|
* A serialized version of [[NavigationPropertyInfo]]
|
|
171
116
|
* @public
|
|
172
117
|
*/
|
|
173
|
-
export interface NavigationPropertyInfoJSON<TClassInfoJSON =
|
|
118
|
+
export interface NavigationPropertyInfoJSON<TClassInfoJSON = ClassInfo> {
|
|
174
119
|
classInfo: TClassInfoJSON;
|
|
175
120
|
isForwardRelationship: boolean;
|
|
176
121
|
targetClassInfo: TClassInfoJSON;
|
|
@@ -195,29 +140,50 @@ export interface PropertyInfo {
|
|
|
195
140
|
extendedType?: string;
|
|
196
141
|
/** Navigation property info if the field is navigation type */
|
|
197
142
|
navigationPropertyInfo?: NavigationPropertyInfo;
|
|
143
|
+
/** Constraints for values of ECProperty */
|
|
144
|
+
constraints?: PropertyValueConstraints;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Constraints for values of ECProperty
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type PropertyValueConstraints = StringPropertyValueConstraints | ArrayPropertyValueConstraints | NumericPropertyValueConstraints;
|
|
151
|
+
/**
|
|
152
|
+
* Describes constraints for `string` type ECProperty values
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export interface StringPropertyValueConstraints {
|
|
156
|
+
minimumLength?: number;
|
|
157
|
+
maximumLength?: number;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Describes constraints for `int` | `double` | `float` type ECProperty values
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export interface NumericPropertyValueConstraints {
|
|
164
|
+
minimumValue?: number;
|
|
165
|
+
maximumValue?: number;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Describes constraints for `array` type ECProperty values
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export interface ArrayPropertyValueConstraints {
|
|
172
|
+
minOccurs?: number;
|
|
173
|
+
maxOccurs?: number;
|
|
198
174
|
}
|
|
199
175
|
/** @public */
|
|
200
176
|
export declare namespace PropertyInfo {
|
|
201
|
-
/**
|
|
202
|
-
* Serialize [[PropertyInfo]] to JSON
|
|
203
|
-
* @deprecated in 3.x. Use [[PropertyInfo]].
|
|
204
|
-
*/
|
|
205
|
-
function toJSON(info: PropertyInfo): PropertyInfoJSON;
|
|
206
177
|
/** Serialize [[PropertyInfo]] to compressed JSON */
|
|
207
178
|
function toCompressedJSON(propertyInfo: PropertyInfo, classesMap: {
|
|
208
179
|
[id: string]: CompressedClassInfoJSON;
|
|
209
180
|
}): PropertyInfoJSON<string>;
|
|
210
|
-
/**
|
|
211
|
-
* Deserialize [[PropertyInfo]] from JSON
|
|
212
|
-
* @deprecated in 3.x. Use [[PropertyInfo]].
|
|
213
|
-
*/
|
|
214
|
-
function fromJSON(json: PropertyInfoJSON): PropertyInfo;
|
|
215
181
|
}
|
|
216
182
|
/**
|
|
217
183
|
* A serialized version of [[PropertyInfo]]
|
|
218
184
|
* @public
|
|
219
185
|
*/
|
|
220
|
-
export interface PropertyInfoJSON<TClassInfoJSON =
|
|
186
|
+
export interface PropertyInfoJSON<TClassInfoJSON = ClassInfo> {
|
|
221
187
|
classInfo: TClassInfoJSON;
|
|
222
188
|
name: string;
|
|
223
189
|
type: string;
|
|
@@ -247,20 +213,10 @@ export interface RelatedClassInfo {
|
|
|
247
213
|
}
|
|
248
214
|
/** @public */
|
|
249
215
|
export declare namespace RelatedClassInfo {
|
|
250
|
-
/**
|
|
251
|
-
* Serialize [[RelatedClassInfo]] to JSON
|
|
252
|
-
* @deprecated in 3.x. Use [[RelatedClassInfo]].
|
|
253
|
-
*/
|
|
254
|
-
function toJSON(info: RelatedClassInfo): RelatedClassInfoJSON;
|
|
255
216
|
/** Serialize [[RelatedClassInfo]] to compressed JSON */
|
|
256
217
|
function toCompressedJSON(classInfo: RelatedClassInfo, classesMap: {
|
|
257
218
|
[id: string]: CompressedClassInfoJSON;
|
|
258
219
|
}): RelatedClassInfoJSON<string>;
|
|
259
|
-
/**
|
|
260
|
-
* Deserialize [[RelatedClassInfo]] from JSON
|
|
261
|
-
* @deprecated in 3.x. Use [[RelatedClassInfo]].
|
|
262
|
-
*/
|
|
263
|
-
function fromJSON(json: RelatedClassInfoJSON): RelatedClassInfo;
|
|
264
220
|
/** Deserialize [[RelatedClassInfo]] from compressed JSON */
|
|
265
221
|
function fromCompressedJSON(json: RelatedClassInfoJSON<string>, classesMap: {
|
|
266
222
|
[id: string]: CompressedClassInfoJSON;
|
|
@@ -274,7 +230,7 @@ export declare namespace RelatedClassInfo {
|
|
|
274
230
|
* A serialized version of [[RelatedClassInfo]]
|
|
275
231
|
* @public
|
|
276
232
|
*/
|
|
277
|
-
export interface RelatedClassInfoJSON<TClassInfoJSON =
|
|
233
|
+
export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfo> {
|
|
278
234
|
sourceClassInfo: TClassInfoJSON;
|
|
279
235
|
targetClassInfo: TClassInfoJSON;
|
|
280
236
|
isPolymorphicTargetClass?: boolean;
|
|
@@ -290,7 +246,7 @@ export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfoJSON> {
|
|
|
290
246
|
*/
|
|
291
247
|
export type RelatedClassInfoWithOptionalRelationship = PartialBy<RelatedClassInfo, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
|
|
292
248
|
/** @public */
|
|
293
|
-
export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON =
|
|
249
|
+
export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON = ClassInfo> = PartialBy<RelatedClassInfoJSON<TClassInfoJSON>, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
|
|
294
250
|
/** @public */
|
|
295
251
|
export declare namespace RelatedClassInfoWithOptionalRelationship {
|
|
296
252
|
/** Serialize [[RelatedClassInfoWithOptionalRelationship]] to compressed JSON */
|
|
@@ -311,7 +267,7 @@ export type RelationshipPath = RelatedClassInfo[];
|
|
|
311
267
|
* Serialized [[RelationshipPath]]
|
|
312
268
|
* @public
|
|
313
269
|
*/
|
|
314
|
-
export type RelationshipPathJSON<TClassInfoJSON =
|
|
270
|
+
export type RelationshipPathJSON<TClassInfoJSON = ClassInfo> = RelatedClassInfoJSON<TClassInfoJSON>[];
|
|
315
271
|
/** @public */
|
|
316
272
|
export declare namespace RelationshipPath {
|
|
317
273
|
/** Reverse direction of the given [[RelationshipPath]] */
|